mirror of
https://github.com/documize/community.git
synced 2025-07-24 07:39:43 +02:00
i18n admin strings
This commit is contained in:
parent
4ed2b3902c
commit
53297f7627
27 changed files with 99 additions and 58 deletions
|
@ -17,6 +17,7 @@ import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-rout
|
|||
export default Route.extend(AuthenticatedRouteMixin, {
|
||||
userService: service('user'),
|
||||
appMeta: service(),
|
||||
i18n: service(),
|
||||
|
||||
beforeModel () {
|
||||
if (!this.session.isAdmin) {
|
||||
|
@ -33,6 +34,6 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
},
|
||||
|
||||
activate() {
|
||||
this.get('browser').setTitle('Users');
|
||||
this.get('browser').setTitle(this.i18n.localize('admin_user_management'));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue