1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 15:19:42 +02:00

i18n admin strings

This commit is contained in:
McMatts 2022-03-03 19:10:06 -05:00
parent 4ed2b3902c
commit 53297f7627
27 changed files with 99 additions and 58 deletions

View file

@ -17,6 +17,7 @@ export default Route.extend(AuthenticatedRouteMixin, {
appMeta: service(),
session: service(),
global: service(),
i18n: service(),
beforeModel() {
if (!this.get("session.isAdmin")) {
@ -28,6 +29,6 @@ export default Route.extend(AuthenticatedRouteMixin, {
},
activate() {
this.get('browser').setTitle('Backup/Restore');
this.get('browser').setTitle(this.i18n.localize('admin_backup'));
}
});