aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/i18n/i18n.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/i18n/i18n.ts')
-rw-r--r--shared/models/i18n/i18n.ts4
1 files changed, 1 insertions, 3 deletions
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) {
83} 83}
84 84
85export function buildFileLocale (locale: string) { 85export function buildFileLocale (locale: string) {
86 const completeLocale = getCompleteLocale(locale) 86 return getCompleteLocale(locale)
87
88 return completeLocale.replace(/-/g, '_')
89} 87}