mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #1016 from sharelatex/spd-missing-translation
Fix missing string in modals.pug
This commit is contained in:
commit
e4a3f838de
1 changed files with 2 additions and 2 deletions
|
@ -127,7 +127,7 @@ script(type='text/ng-template', id='cloneProjectModalTemplate')
|
||||||
) ×
|
) ×
|
||||||
h3 #{translate("copy_project")}
|
h3 #{translate("copy_project")}
|
||||||
.modal-body
|
.modal-body
|
||||||
.alert.alert-danger(ng-show="state.error.message") {{state.error.message === "invalid element name" ? translate("invalid_element_name") : state.error.message}}
|
.alert.alert-danger(ng-show="state.error.message") {{state.error.message === "invalid element name" ? "#{translate("invalid_element_name")}" : state.error.message}}
|
||||||
.alert.alert-danger(ng-show="state.error && !state.error.message") #{translate("generic_something_went_wrong")}
|
.alert.alert-danger(ng-show="state.error && !state.error.message") #{translate("generic_something_went_wrong")}
|
||||||
form(name="cloneProjectForm", novalidate)
|
form(name="cloneProjectForm", novalidate)
|
||||||
.form-group
|
.form-group
|
||||||
|
@ -271,7 +271,7 @@ script(type="text/ng-template", id="showErrorModalTemplate")
|
||||||
) ×
|
) ×
|
||||||
h3 #{translate("generic_something_went_wrong")}
|
h3 #{translate("generic_something_went_wrong")}
|
||||||
.modal-body
|
.modal-body
|
||||||
.alert.alert-danger(ng-show="error.message") {{error.message === "invalid element name" ? translate("invalid_element_name") : error.message}}
|
.alert.alert-danger(ng-show="error.message") {{error.message === "invalid element name" ? "#{translate("invalid_element_name")}" : error.message}}
|
||||||
.alert.alert-danger(ng-show="error && !error.message") #{translate("generic_something_went_wrong")}
|
.alert.alert-danger(ng-show="error && !error.message") #{translate("generic_something_went_wrong")}
|
||||||
.modal-footer
|
.modal-footer
|
||||||
button.btn.btn-default(ng-click="cancel()") #{translate("cancel")}
|
button.btn.btn-default(ng-click="cancel()") #{translate("cancel")}
|
||||||
|
|
Loading…
Reference in a new issue