diff options
author | Chocobozzz <me@florianbigard.com> | 2019-11-07 15:33:23 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-11-13 10:04:16 +0100 |
commit | 350131cbaf99bd1cbb2d0911093aa94d105de709 (patch) | |
tree | 9b90dc4d3ca327aadb8e45f7e18c4648d9412a56 /shared/models/i18n/i18n.ts | |
parent | 81ad5366f745a0c0459016d3af5d18d1dd4501c0 (diff) | |
download | PeerTube-350131cbaf99bd1cbb2d0911093aa94d105de709.tar.gz PeerTube-350131cbaf99bd1cbb2d0911093aa94d105de709.tar.zst PeerTube-350131cbaf99bd1cbb2d0911093aa94d105de709.zip |
Make build works
Diffstat (limited to 'shared/models/i18n/i18n.ts')
-rw-r--r-- | shared/models/i18n/i18n.ts | 4 |
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 | ||
85 | export function buildFileLocale (locale: string) { | 85 | export function buildFileLocale (locale: string) { |
86 | const completeLocale = getCompleteLocale(locale) | 86 | return getCompleteLocale(locale) |
87 | |||
88 | return completeLocale.replace(/-/g, '_') | ||
89 | } | 87 | } |