Commit 0ee92ff9cc69e89037af982dc6d8c9110c285c79

Authored by Evandro Junior
1 parent 5d3227b2
Exists in translations

translation for “save”, “preview” and “cancel part 2

src/app/profile/custom-content/edit-content.html
1 <div class="edit-content"> 1 <div class="edit-content">
2 <h3>{{"custom_content.title" | translate}}</h3> 2 <h3>{{"custom_content.title" | translate}}</h3>
3 <html-editor [(value)]="ctrl.content"></html-editor> 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 </div> 7 </div>
src/languages/en.json
@@ -167,5 +167,8 @@ @@ -167,5 +167,8 @@
167 "is invalid": "is invalid", 167 "is invalid": "is invalid",
168 "block.edition.save.button": "Save", 168 "block.edition.save.button": "Save",
169 "block.edition.preview.button": "Preview", 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,5 +170,8 @@
170 "is invalid": "é inválido", 170 "is invalid": "é inválido",
171 "block.edition.save.button": "Salvar", 171 "block.edition.save.button": "Salvar",
172 "block.edition.preview.button": "Simular", 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 }