mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
i18n notify strings
This commit is contained in:
parent
33a9cbb5b0
commit
7f66977ac1
8 changed files with 21 additions and 15 deletions
|
@ -21,6 +21,7 @@ import Component from '@ember/component';
|
|||
export default Component.extend(Notifier, {
|
||||
appMeta: service(),
|
||||
router: service(),
|
||||
i18n: service(),
|
||||
maxTags: 3,
|
||||
domain: '',
|
||||
titleEmpty: empty('model.general.title'),
|
||||
|
@ -186,7 +187,7 @@ export default Component.extend(Notifier, {
|
|||
this.set('model.general.domain', this.get('domain').toLowerCase());
|
||||
|
||||
this.get('onUpdate')().then(() => {
|
||||
this.notifySuccess('Saved');
|
||||
this.notifySuccess(this.i18n.localize('saved'));
|
||||
set(this, 'titleError', false);
|
||||
set(this, 'messageError', false);
|
||||
set(this, 'conversionEndpointError', false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue