mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-17 07:53:38 +00: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")}
|
||||
.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")}
|
||||
form(name="cloneProjectForm", novalidate)
|
||||
.form-group
|
||||
|
@ -271,7 +271,7 @@ script(type="text/ng-template", id="showErrorModalTemplate")
|
|||
) ×
|
||||
h3 #{translate("generic_something_went_wrong")}
|
||||
.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")}
|
||||
.modal-footer
|
||||
button.btn.btn-default(ng-click="cancel()") #{translate("cancel")}
|
||||
|
|
Loading…
Reference in a new issue