diff options
author | Chocobozzz <me@florianbigard.com> | 2019-09-03 15:48:25 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-09-03 15:48:25 +0200 |
commit | f69ec5f340638ef577e8f5b9b1fb844778656a1f (patch) | |
tree | 5b2ae5d146c3b2a1cba2892d4c422caa7052eeef /shared/models | |
parent | 282e61e6c11f79e919c543871783fe1a00298d18 (diff) | |
download | PeerTube-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.ts | 4 |
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 | ||
45 | export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES) | 47 | export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES) |