mirror of
https://github.com/documize/community.git
synced 2025-07-22 22:59:43 +02:00
i18n fixes
This commit is contained in:
parent
e56263564c
commit
6c8b10753d
11 changed files with 18 additions and 17 deletions
|
@ -65,6 +65,7 @@ export default Component.extend(Modals, Notifier, {
|
|||
// Handle upload clicks on button and anything inside that button.
|
||||
// But only if user can edit this document.
|
||||
if (!this.get('canEdit')) return;
|
||||
let uploaded = this.i18n.localize('uploaded');
|
||||
|
||||
let sel = ['#upload-document-files ', '#upload-document-files > i'];
|
||||
for (var i=0; i < 2; i++) {
|
||||
|
@ -87,7 +88,7 @@ export default Component.extend(Modals, Notifier, {
|
|||
});
|
||||
|
||||
this.on("queuecomplete", function () {
|
||||
self.notifySuccess(this.i18n.localize('uploaded'));
|
||||
self.notifySuccess(uploaded);
|
||||
self.getAttachments();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue