aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-11-13 10:05:27 +0100
committerChocobozzz <me@florianbigard.com>2019-11-13 10:05:27 +0100
commita42294c5edbdea3075c8defc03ba2cb73e0d86fc (patch)
treeaca95591d1fb7ed89dd5f05f81406b4a4f282bac /shared
parentf0c0c0abd88d0177f8be769f12d5affcacd934e8 (diff)
parent2ef1d2bb74f333b05bbbbd27282605ee5654061e (diff)
downloadPeerTube-a42294c5edbdea3075c8defc03ba2cb73e0d86fc.tar.gz
PeerTube-a42294c5edbdea3075c8defc03ba2cb73e0d86fc.tar.zst
PeerTube-a42294c5edbdea3075c8defc03ba2cb73e0d86fc.zip
Merge branch 'weblate' into develop
Diffstat (limited to 'shared')
-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}