Commit 0ee92ff9cc69e89037af982dc6d8c9110c285c79
1 parent
5d3227b2
Exists in
translations
translation for “save”, “preview” and “cancel part 2
Showing
3 changed files
with
11 additions
and
5 deletions
Show diff stats
src/app/profile/custom-content/edit-content.html
| 1 | 1 | <div class="edit-content"> |
| 2 | 2 | <h3>{{"custom_content.title" | translate}}</h3> |
| 3 | 3 | <html-editor [(value)]="ctrl.content"></html-editor> |
| 4 | - <button type="submit" class="btn btn-default" ng-click="ctrl.save()">Save</button> | |
| 5 | - <button type="submit" class="btn btn-warning" ng-click="ctrl.preview()">Preview</button> | |
| 6 | - <button type="submit" class="btn btn-danger" ng-click="ctrl.cancel()">Cancel</button> | |
| 4 | + <button type="submit" class="btn btn-default" ng-click="ctrl.save()">{{"custom-content.edition.save.button" | translate}}</button> | |
| 5 | + <button type="submit" class="btn btn-warning" ng-click="ctrl.preview()">{{"custom-content.edition.preview.button" | translate}}</button> | |
| 6 | + <button type="submit" class="btn btn-danger" ng-click="ctrl.cancel()">{{"custom-content.edition.cancel.button" | translate}}</button> | |
| 7 | 7 | </div> | ... | ... |
src/languages/en.json
| ... | ... | @@ -167,5 +167,8 @@ |
| 167 | 167 | "is invalid": "is invalid", |
| 168 | 168 | "block.edition.save.button": "Save", |
| 169 | 169 | "block.edition.preview.button": "Preview", |
| 170 | - "block.edition.cancel.button": "Cancel" | |
| 170 | + "block.edition.cancel.button": "Cancel", | |
| 171 | + "custom-content.edition.save.button": "Save", | |
| 172 | + "custom-content.edition.preview.button": "Preview", | |
| 173 | + "custom-content.edition.cancel.button": "Cancel" | |
| 171 | 174 | } | ... | ... |
src/languages/pt.json
| ... | ... | @@ -170,5 +170,8 @@ |
| 170 | 170 | "is invalid": "é inválido", |
| 171 | 171 | "block.edition.save.button": "Salvar", |
| 172 | 172 | "block.edition.preview.button": "Simular", |
| 173 | - "block.edition.cancel.button": "Cancelar" | |
| 173 | + "block.edition.cancel.button": "Cancelar", | |
| 174 | + "custom-content.edition.save.button": "Salvar", | |
| 175 | + "custom-content.edition.preview.button": "Simular", | |
| 176 | + "custom-content.edition.cancel.button": "Cancelar" | |
| 174 | 177 | } | ... | ... |