aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-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 9992b9c44..e60a74cc0 100644
--- a/client/src/app/app.module.ts
+++ b/client/src/app/app.module.ts
@@ -69,7 +69,7 @@ export function metaFactory (serverService: ServerService): MetaLoader {
69 useFactory: (locale) => { 69 useFactory: (locale) => {
70 // On dev mode, test locales 70 // On dev mode, test locales
71 if (environment.production === false && window.location.search === '?lang=fr') { 71 if (environment.production === false && window.location.search === '?lang=fr') {
72 return require(`raw-loader!../locale/target/messages_fr.xml`) 72 return require(`raw-loader!../locale/target/angular_fr.xml`)
73 } 73 }
74 74
75 const fileLocale = buildFileLocale(locale) 75 const fileLocale = buildFileLocale(locale)
@@ -78,7 +78,7 @@ export function metaFactory (serverService: ServerService): MetaLoader {
78 const defaultFileLocale = buildFileLocale(getDefaultLocale()) 78 const defaultFileLocale = buildFileLocale(getDefaultLocale())
79 if (fileLocale === defaultFileLocale) return '' 79 if (fileLocale === defaultFileLocale) return ''
80 80
81 return require(`raw-loader!../locale/target/messages_${fileLocale}.xml`) 81 return require(`raw-loader!../locale/target/angular_${fileLocale}.xml`)
82 }, 82 },
83 deps: [ LOCALE_ID ] 83 deps: [ LOCALE_ID ]
84 }, 84 },