1
0
Fork 0
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:
McMatts 2022-03-03 19:42:37 -05:00
parent 53297f7627
commit 4ab48cc67d
11 changed files with 65 additions and 34 deletions

View file

@ -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'));
}
}
});