mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +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'));
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{layout/logo-heading
|
||||
title="User Management"
|
||||
desc="Manage basic information, passwords and permissions"
|
||||
title=(localize 'admin_user_management')
|
||||
desc=(localize 'admin_user_management_explain')
|
||||
icon=constants.Icon.Person}}
|
||||
|
||||
{{customize/user-admin users=model
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue