From 350131cbaf99bd1cbb2d0911093aa94d105de709 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Nov 2019 15:33:23 +0100 Subject: Make build works --- client/src/app/app.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app') diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts index a3ea33ca9..38b7328e2 100644 --- a/client/src/app/app.module.ts +++ b/client/src/app/app.module.ts @@ -76,7 +76,7 @@ export function metaFactory (serverService: ServerService): MetaLoader { // On dev mode, test localization if (isOnDevLocale()) { locale = buildFileLocale(getDevLocale()) - return require(`raw-loader!../locale/target/angular_${locale}.xml`) + return require(`raw-loader!../locale/angular.${locale}.xlf`) } // Default locale, nothing to translate @@ -84,7 +84,7 @@ export function metaFactory (serverService: ServerService): MetaLoader { if (isDefaultLocale(completeLocale)) return '' const fileLocale = buildFileLocale(locale) - return require(`raw-loader!../locale/target/angular_${fileLocale}.xml`) + return require(`raw-loader!../locale/angular.${fileLocale}.xlf`) }, deps: [ LOCALE_ID ] }, -- cgit v1.2.3