From 350131cbaf99bd1cbb2d0911093aa94d105de709 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Nov 2019 15:33:23 +0100 Subject: Make build works --- shared/models/i18n/i18n.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'shared/models') diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts index 03a5d858a..032944281 100644 --- a/shared/models/i18n/i18n.ts +++ b/shared/models/i18n/i18n.ts @@ -83,7 +83,5 @@ export function getShortLocale (locale: string) { } export function buildFileLocale (locale: string) { - const completeLocale = getCompleteLocale(locale) - - return completeLocale.replace(/-/g, '_') + return getCompleteLocale(locale) } -- cgit v1.2.3