Commit d83a4c1f7586c4f26534fefbec84a686a152cd7a
1 parent
0ee92ff9
Exists in
translations
translation for “save”, “preview” and “cancel part 3
Showing
3 changed files
with
6 additions
and
4 deletions
Show diff stats
src/app/profile/image/profile-image-editor.html
@@ -10,11 +10,11 @@ | @@ -10,11 +10,11 @@ | ||
10 | </div> | 10 | </div> |
11 | <div class='cropped-image'> | 11 | <div class='cropped-image'> |
12 | <img ng-src="{{ctrl.croppedDataUrl}}" /> | 12 | <img ng-src="{{ctrl.croppedDataUrl}}" /> |
13 | - </div> | 13 | + </div> |
14 | </form> | 14 | </form> |
15 | 15 | ||
16 | <div class="actions"> | 16 | <div class="actions"> |
17 | <button type="submit" class="btn btn-default" (click)="ctrl.uploadImage(ctrl.croppedDataUrl, ctrl.picFile.name)">Upload</button> | 17 | <button type="submit" class="btn btn-default" (click)="ctrl.uploadImage(ctrl.croppedDataUrl, ctrl.picFile.name)">Upload</button> |
18 | - <button type="submit" class="btn btn-danger" (click)="ctrl.cancel()">Cancel</button> | 18 | + <button type="submit" class="btn btn-danger" (click)="ctrl.cancel()">{{"profile.image.editor.cancel.button" | translate}}</button> |
19 | </div> | 19 | </div> |
20 | </div> | 20 | </div> |
src/languages/en.json
@@ -170,5 +170,6 @@ | @@ -170,5 +170,6 @@ | ||
170 | "block.edition.cancel.button": "Cancel", | 170 | "block.edition.cancel.button": "Cancel", |
171 | "custom-content.edition.save.button": "Save", | 171 | "custom-content.edition.save.button": "Save", |
172 | "custom-content.edition.preview.button": "Preview", | 172 | "custom-content.edition.preview.button": "Preview", |
173 | - "custom-content.edition.cancel.button": "Cancel" | 173 | + "custom-content.edition.cancel.button": "Cancel", |
174 | + "profile.image.editor.cancel.button": "Cancel" | ||
174 | } | 175 | } |
src/languages/pt.json
@@ -173,5 +173,6 @@ | @@ -173,5 +173,6 @@ | ||
173 | "block.edition.cancel.button": "Cancelar", | 173 | "block.edition.cancel.button": "Cancelar", |
174 | "custom-content.edition.save.button": "Salvar", | 174 | "custom-content.edition.save.button": "Salvar", |
175 | "custom-content.edition.preview.button": "Simular", | 175 | "custom-content.edition.preview.button": "Simular", |
176 | - "custom-content.edition.cancel.button": "Cancelar" | 176 | + "custom-content.edition.cancel.button": "Cancelar", |
177 | + "profile.image.editor.cancel.button": "Cancelar" | ||
177 | } | 178 | } |