mirror of
https://github.com/documize/community.git
synced 2025-08-01 19:45:24 +02:00
i18n strings
This commit is contained in:
parent
59dc6ea991
commit
38c9a94a9c
7 changed files with 45 additions and 28 deletions
|
@ -11,8 +11,10 @@
|
|||
|
||||
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';
|
||||
import Route from '@ember/routing/route';
|
||||
import { inject as service } from '@ember/service';
|
||||
|
||||
export default Route.extend(AuthenticatedRouteMixin, {
|
||||
i18n: service(),
|
||||
matchFilter: null,
|
||||
|
||||
beforeModel(transition) {
|
||||
|
@ -35,6 +37,6 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
},
|
||||
|
||||
activate() {
|
||||
this.get('browser').setTitle('Search');
|
||||
this.get('browser').setTitle(this.i18n.localize('search'));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue