projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
282e61e
)
Fix zh locales
author
Chocobozzz
<me@florianbigard.com>
Tue, 3 Sep 2019 13:48:25 +0000
(15:48 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Tue, 3 Sep 2019 13:48:25 +0000
(15:48 +0200)
shared/models/i18n/i18n.ts
patch
|
blob
|
history
diff --git
a/shared/models/i18n/i18n.ts
b/shared/models/i18n/i18n.ts
index 218fd09ba040bd33ad6fb30af7697ca9bc167373..03a5d858af495be5f864839ec7795f05e182c93f 100644
(file)
--- a/
shared/models/i18n/i18n.ts
+++ b/
shared/models/i18n/i18n.ts
@@
-39,7
+39,9
@@
const I18N_LOCALE_ALIAS = {
'pl': 'pl-PL',
'ru': 'ru-RU',
'nl': 'nl-NL',
- 'zh': 'zh-Hans-CN'
+ 'zh': 'zh-Hans-CN',
+ 'zh-CN': 'zh-Hans-CN',
+ 'zh-TW': 'zh-Hant-TW'
}
export const POSSIBLE_LOCALES = Object.keys(I18N_LOCALES)