Merge pull request #2881 from Vikasgupta09/master
fix #2867 added i18n to some words of lvl save form
This commit is contained in:
commit
be19edb7a1
2 changed files with 15 additions and 3 deletions
|
@ -1221,6 +1221,7 @@
|
||||||
delta:
|
delta:
|
||||||
added: "Added"
|
added: "Added"
|
||||||
modified: "Modified"
|
modified: "Modified"
|
||||||
|
not_modified: "Not Modified"
|
||||||
deleted: "Deleted"
|
deleted: "Deleted"
|
||||||
moved_index: "Moved Index"
|
moved_index: "Moved Index"
|
||||||
text_diff: "Text Diff"
|
text_diff: "Text Diff"
|
||||||
|
|
|
@ -1,7 +1,14 @@
|
||||||
extends /templates/editor/modal/save-version-modal
|
extends /templates/editor/modal/save-version-modal
|
||||||
|
|
||||||
block modal-body-content
|
block modal-body-content
|
||||||
h3= "Level: " + level.get('name') + " - " + (levelNeedsSave ? "Modified" : "Not Modified")
|
h3
|
||||||
|
span(data-i18n="resources.level") Level
|
||||||
|
span=": " + level.get('name') + " - "
|
||||||
|
if levelNeedsSave
|
||||||
|
span(data-i18n="delta.modified") Modified
|
||||||
|
else
|
||||||
|
span(data-i18n="delta.not_modified") Not Modified
|
||||||
|
|
||||||
if levelNeedsSave
|
if levelNeedsSave
|
||||||
.changes-stub
|
.changes-stub
|
||||||
form#save-level-form.form-inline
|
form#save-level-form.form-inline
|
||||||
|
@ -23,7 +30,9 @@ block modal-body-content
|
||||||
|
|
||||||
each component in modifiedComponents
|
each component in modifiedComponents
|
||||||
- var id = component.get('_id')
|
- var id = component.get('_id')
|
||||||
h4= "Component: " + component.get('system') + '.' + component.get('name')
|
h4
|
||||||
|
span(data-i18n="resources.component") Component
|
||||||
|
span= ": " + component.get('system') + '.' + component.get('name')
|
||||||
.changes-stub
|
.changes-stub
|
||||||
form.form-inline.component-form(id="save-component-" + id + "-form")
|
form.form-inline.component-form(id="save-component-" + id + "-form")
|
||||||
input(name="component-original", type="hidden", value=component.get('original'))
|
input(name="component-original", type="hidden", value=component.get('original'))
|
||||||
|
@ -41,7 +50,9 @@ block modal-body-content
|
||||||
|
|
||||||
each system in modifiedSystems
|
each system in modifiedSystems
|
||||||
- var id = system.get('_id')
|
- var id = system.get('_id')
|
||||||
h4= "System: " + system.get('name')
|
h4
|
||||||
|
span(data-i18n="resources.system") System
|
||||||
|
span= ": " + system.get('name')
|
||||||
.changes-stub
|
.changes-stub
|
||||||
form.form-inline.system-form(id="save-system-" + id + "-form")
|
form.form-inline.system-form(id="save-system-" + id + "-form")
|
||||||
input(name="system-original", type="hidden", value=system.get('original'))
|
input(name="system-original", type="hidden", value=system.get('original'))
|
||||||
|
|
Reference in a new issue