Chore upgrade ember intl (#1425)
* refactor: 💡 explicitly inject the store service - icu-6770 ✅ Closes: icu-6770 * refactor: 💡 upgrade to ember-intl 6.0.1 includes locale initialization and smoke tests * refactor: 💡 migrate admin and desktop to ember-intl 6.x ✅ Closes: icu-6771 * chore: 🤖 exclude cldr-core@38.1.0 from license checking this license was manually checked * fix: 🐛 fix text naming and linting * chore: 🤖 update to ember-intl beta
This commit is contained in:
1 parent
c107fa872c
commit
0c819d6d12
17 files changed
+203
-92
No files matched your search
@@ -14,6 +14,7 @@ export default class ApplicationRoute extends Route {
|
||||
@service session;
|
||||
@service confirm;
|
||||
@service router;
|
||||
@service intl;
|
||||
|
||||
// =attributes
|
||||
|
||||
@@ -48,6 +49,7 @@ export default class ApplicationRoute extends Route {
|
||||
}
|
||||
|
||||
async beforeModel() {
|
||||
this.intl.setLocale(['en-us']);
|
||||
await this.session.setup();
|
||||
const theme = this.session.get('data.theme');
|
||||
this.toggleTheme(theme);
|
||||
|
||||
Reference in new issue
Block a user