mirror of
https://github.com/documize/community.git
synced 2025-07-22 06:39:43 +02:00
i18n notify strings
This commit is contained in:
parent
33a9cbb5b0
commit
7f66977ac1
8 changed files with 21 additions and 15 deletions
|
@ -19,6 +19,7 @@ export default Controller.extend(Notifier, {
|
|||
folderService: service('folder'),
|
||||
documentService: service('document'),
|
||||
localStorage: service('localStorage'),
|
||||
i18n: service(),
|
||||
queryParams: ['tab'],
|
||||
tab: 'general',
|
||||
|
||||
|
@ -33,7 +34,7 @@ export default Controller.extend(Notifier, {
|
|||
|
||||
onSaveDocument(doc) {
|
||||
this.get('documentService').save(doc).then(() => {
|
||||
this.notifySuccess('Saved');
|
||||
this.notifySuccess(this.i18n.localize('saved'));
|
||||
});
|
||||
|
||||
this.get('browser').setTitle(doc.get('name'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue