diff --git a/gui/app/pods/profile/template.hbs b/gui/app/pods/profile/template.hbs index bec7fbd5..e2afc06a 100644 --- a/gui/app/pods/profile/template.hbs +++ b/gui/app/pods/profile/template.hbs @@ -5,12 +5,10 @@ @@ -18,7 +16,7 @@ {{layout/logo-heading title=session.user.fullname - desc="Manage your profile and password" + desc=(localize 'profile_explain') icon=constants.Icon.Person}} {{user/user-profile model=model save=(action "save")}} diff --git a/gui/app/pods/search/route.js b/gui/app/pods/search/route.js index 9b1fb580..85fb76a7 100644 --- a/gui/app/pods/search/route.js +++ b/gui/app/pods/search/route.js @@ -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')); } }); diff --git a/gui/app/pods/search/template.hbs b/gui/app/pods/search/template.hbs index bfe95089..61ce4c82 100644 --- a/gui/app/pods/search/template.hbs +++ b/gui/app/pods/search/template.hbs @@ -5,29 +5,29 @@