mirror of
https://github.com/documize/community.git
synced 2025-08-04 21:15:24 +02:00
i18n page strings
This commit is contained in:
parent
4ab48cc67d
commit
59dc6ea991
29 changed files with 125 additions and 107 deletions
|
@ -20,6 +20,7 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
iconSvc: service('icon'),
|
||||
localStorage: service(),
|
||||
labelSvc: service('label'),
|
||||
i18n: service(),
|
||||
|
||||
beforeModel() {
|
||||
if (this.get('appMeta.setupMode')) {
|
||||
|
@ -72,6 +73,6 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
},
|
||||
|
||||
activate() {
|
||||
this.get('browser').setTitle('Spaces');
|
||||
this.get('browser').setTitle(this.i18n.localize('spaces'));
|
||||
}
|
||||
});
|
||||
|
|
|
@ -6,13 +6,11 @@
|
|||
{{#if (or session.isEditor session.isAdmin)}}
|
||||
{{#ui/ui-toolbar dark=false light=false raised=false large=false bordered=false}}
|
||||
{{#if session.isEditor}}
|
||||
{{ui/ui-toolbar-button icon=constants.Icon.Plus color=constants.Color.Green
|
||||
label=(localize 'space') onClick=(action "onShowModal")}}
|
||||
{{ui/ui-toolbar-button icon=constants.Icon.Plus color=constants.Color.Green label=(localize 'space') onClick=(action "onShowModal")}}
|
||||
{{ui/ui-toolbar-divider}}
|
||||
{{/if}}
|
||||
{{#if session.isAdmin}}
|
||||
{{ui/ui-toolbar-icon icon=constants.Icon.Settings color=constants.Color.Green
|
||||
linkTo="customize"}}
|
||||
{{ui/ui-toolbar-icon icon=constants.Icon.Settings color=constants.Color.Green linkTo="customize"}}
|
||||
{{/if}}
|
||||
{{/ui/ui-toolbar}}
|
||||
{{/if}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue