1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

translation issue fix

This commit is contained in:
Patrik J. Braun 2020-01-01 20:52:29 +01:00
parent 83f3def727
commit f34e934597

View File

@ -128,7 +128,7 @@ export function translationsFactory(locale: string) {
if (locale === 'en') {
return '';
}
return (<any>require(`raw-loader!../translate/ts-only-msg.fr.xlf`)).default;
return (<any>require(`raw-loader!../translate/messages.${locale}.xlf`)).default;
}
@NgModule({