mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
i18n admin strings
This commit is contained in:
parent
53297f7627
commit
4ab48cc67d
11 changed files with 65 additions and 34 deletions
|
@ -68,7 +68,7 @@ export default Component.extend(Notifier, {
|
|||
});
|
||||
|
||||
this.on("queuecomplete", function () {
|
||||
self.notifySuccess('Logo uploaded');
|
||||
self.notifySuccess(this.i18n.localize('saved'));
|
||||
});
|
||||
|
||||
this.on("error", function (error, msg) {
|
||||
|
@ -191,7 +191,6 @@ export default Component.extend(Notifier, {
|
|||
set(this, 'messageError', false);
|
||||
set(this, 'conversionEndpointError', false);
|
||||
|
||||
|
||||
if (domainChanged) {
|
||||
let router = this.get('router');
|
||||
router.transitionTo('auth.login');
|
||||
|
@ -206,7 +205,7 @@ export default Component.extend(Notifier, {
|
|||
|
||||
onDefaultLogo() {
|
||||
this.get('onDefaultLogo')(this.get('appMeta.orgId'));
|
||||
this.notifySuccess('Using default logo');
|
||||
this.notifySuccess(this.i18n.localize('saved'));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue