mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-01-08 04:03:48 +02: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') {
|
if (locale === 'en') {
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
return (<any>require(`raw-loader!../translate/ts-only-msg.fr.xlf`)).default;
|
return (<any>require(`raw-loader!../translate/messages.${locale}.xlf`)).default;
|
||||||
}
|
}
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
Loading…
Reference in New Issue
Block a user