aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-09-03 15:48:25 +0200
committerChocobozzz <me@florianbigard.com>2019-09-03 15:48:25 +0200
commitf69ec5f340638ef577e8f5b9b1fb844778656a1f (patch)
tree5b2ae5d146c3b2a1cba2892d4c422caa7052eeef /shared/models
parent282e61e6c11f79e919c543871783fe1a00298d18 (diff)
downloadPeerTube-f69ec5f340638ef577e8f5b9b1fb844778656a1f.tar.gz
PeerTube-f69ec5f340638ef577e8f5b9b1fb844778656a1f.tar.zst
PeerTube-f69ec5f340638ef577e8f5b9b1fb844778656a1f.zip
Fix zh locales
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/i18n/i18n.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/shared/models/i18n/i18n.ts b/shared/models/i18n/i18n.ts
index 218fd09ba..03a5d858a 100644
--- a/shared/models/i18n/i18n.ts
+++ b/shared/models/i18n/i18n.ts
@@ -39,7 +39,9 @@ const I18N_LOCALE_ALIAS = {
39 'pl': 'pl-PL', 39 'pl': 'pl-PL',
40 'ru': 'ru-RU', 40 'ru': 'ru-RU',
41 'nl': 'nl-NL', 41 'nl': 'nl-NL',
42 'zh': 'zh-Hans-CN' 42 'zh': 'zh-Hans-CN',
43 'zh-CN': 'zh-Hans-CN',
44 'zh-TW': 'zh-Hant-TW'
43} 45}
44 46
45export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES) 47export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES)