mirror of
https://github.com/documize/community.git
synced 2025-08-05 05:25:27 +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 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
appMeta: service(),
|
||||
session: service(),
|
||||
global: service(),
|
||||
i18n: service(),
|
||||
|
||||
beforeModel() {
|
||||
if (!this.get("session.isGlobalAdmin")) {
|
||||
|
@ -29,6 +30,6 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
},
|
||||
|
||||
activate() {
|
||||
this.get('browser').setTitle('Search Engine');
|
||||
this.get('browser').setTitle(this.i18n.localize('search'));
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{layout/logo-heading
|
||||
title="Search"
|
||||
desc="Rebuild the search index"
|
||||
title=(localize 'search')
|
||||
desc=(localize 'admin_search_explain')
|
||||
icon=constants.Icon.Search}}
|
||||
|
||||
{{customize/search-index searchStatus=model reindex=(action "reindex")}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue