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
|
@ -18,6 +18,7 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
appMeta: service(),
|
||||
session: service(),
|
||||
global: service(),
|
||||
i18n: service(),
|
||||
|
||||
beforeModel() {
|
||||
if (!this.get("session.isGlobalAdmin")) {
|
||||
|
@ -32,6 +33,6 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
},
|
||||
|
||||
activate() {
|
||||
this.get('browser').setTitle('SMTP Settings');
|
||||
this.get('browser').setTitle(this.i18n.localize('admin_mail_server'));
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{layout/logo-heading
|
||||
title="Mail Server"
|
||||
desc="Specify mail server details required for sending user invite and notification emails"
|
||||
title=(localize 'admin_mail_server')
|
||||
desc=(localize 'admin_mail_server_explain')
|
||||
icon=constants.Icon.Send}}
|
||||
|
||||
{{customize/smtp-settings model=model saveSMTP=(action "saveSMTP")}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue