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 | 10 | </div> |
| 11 | 11 | <div class='cropped-image'> |
| 12 | 12 | <img ng-src="{{ctrl.croppedDataUrl}}" /> |
| 13 | - </div> | |
| 13 | + </div> | |
| 14 | 14 | </form> |
| 15 | 15 | |
| 16 | 16 | <div class="actions"> |
| 17 | 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 | 19 | </div> |
| 20 | 20 | </div> | ... | ... |
src/languages/en.json
| ... | ... | @@ -170,5 +170,6 @@ |
| 170 | 170 | "block.edition.cancel.button": "Cancel", |
| 171 | 171 | "custom-content.edition.save.button": "Save", |
| 172 | 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 | 173 | "block.edition.cancel.button": "Cancelar", |
| 174 | 174 | "custom-content.edition.save.button": "Salvar", |
| 175 | 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 | } | ... | ... |