aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/app.module.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts
index 55e929e78..ef23c9655 100644
--- a/client/src/app/app.module.ts
+++ b/client/src/app/app.module.ts
@@ -81,12 +81,12 @@ export function metaFactory (serverService: ServerService): MetaLoader {
81 { 81 {
82 provide: TRANSLATIONS, 82 provide: TRANSLATIONS,
83 useFactory: (locale: string) => { 83 useFactory: (locale: string) => {
84 // Default locale, nothing to translate 84 // Default locale, nothing to translate
85 const completeLocale = getCompleteLocale(locale) 85 const completeLocale = getCompleteLocale(locale)
86 if (isDefaultLocale(completeLocale)) return '' 86 if (isDefaultLocale(completeLocale)) return ''
87 87
88 const fileLocale = buildFileLocale(locale) 88 const fileLocale = buildFileLocale(locale)
89 return require(`raw-loader!../locale/angular.${fileLocale}.xlf`) 89 return require(`raw-loader!../locale/angular.${fileLocale}.xlf`).default
90 }, 90 },
91 deps: [ LOCALE_ID ] 91 deps: [ LOCALE_ID ]
92 }, 92 },