1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00

i18n strings

This commit is contained in:
McMatts 2022-03-04 13:28:36 -05:00
parent 59dc6ea991
commit 38c9a94a9c
7 changed files with 45 additions and 28 deletions

View file

@ -10,9 +10,12 @@
// https://documize.com
import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';
export default Route.extend({
i18n: service(),
activate() {
this.get('browser').setTitle('Product News');
this.get('browser').setTitle(this.i18n.localize('product_news'));
}
});