Commit 5d3227b26ff6f2a06c6bd31acade588caceb0b85

Authored by Evandro Junior
1 parent 7b83777a

block edition translation

src/app/layout/blocks/block-edition/block-edition.html
... ... @@ -27,8 +27,8 @@
27 27 </form>
28 28  
29 29 <div class="actions">
30   - <button type="submit" class="btn btn-default" ng-click="ctrl.save()">Save</button>
31   - <button type="submit" class="btn btn-warning" ng-click="ctrl.preview()">Preview</button>
32   - <button type="submit" class="btn btn-danger" ng-click="ctrl.cancel()">Cancel</button>
  30 + <button type="submit" class="btn btn-default" ng-click="ctrl.save()">{{"block.edition.save.button" | translate}}</button>
  31 + <button type="submit" class="btn btn-warning" ng-click="ctrl.preview()">{{"block.edition.preview.button" | translate}}</button>
  32 + <button type="submit" class="btn btn-danger" ng-click="ctrl.cancel()">{{"block.edition.cancel.button" | translate}}</button>
33 33 </div>
34 34 </div>
... ...
src/languages/en.json
... ... @@ -164,5 +164,8 @@
164 164 "identifier": "identifier",
165 165 "is not available.": "is not available",
166 166 "user": "user",
167   - "is invalid": "is invalid"
  167 + "is invalid": "is invalid",
  168 + "block.edition.save.button": "Save",
  169 + "block.edition.preview.button": "Preview",
  170 + "block.edition.cancel.button": "Cancel"
168 171 }
... ...
src/languages/pt.json
... ... @@ -167,5 +167,8 @@
167 167 "identifier": "identificador",
168 168 "is not available.": "não está disponível",
169 169 "user": "usuário",
170   - "is invalid": "é inválido"
  170 + "is invalid": "é inválido",
  171 + "block.edition.save.button": "Salvar",
  172 + "block.edition.preview.button": "Simular",
  173 + "block.edition.cancel.button": "Cancelar"
171 174 }
... ...