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:
parent
83f3def727
commit
f34e934597
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user