0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

Merge pull request #907 from verdaccio/fix-846

feat(translations): enable Chinese Simplified on website
This commit is contained in:
Juan Picado @jotadeveloper 2018-08-09 12:00:38 +02:00 committed by GitHub
commit 74e9622469
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 5 additions and 7 deletions

View file

@ -42,8 +42,8 @@ files:
'tr': 'tr'
'uk': 'uk'
'vi': 'vi'
'zh-CN': 'zh-Hans'
'zh-TW': 'zh-Hant'
'zh-CN': 'zh-CN'
'zh-TW': 'zh-TW'
-
source: '/website/i18n/en.json'
translation: '/website/i18n/%locale%.json'

View file

@ -172,12 +172,10 @@ const languages = [
tag: 'vi',
},
{
enabled: false,
enabled: true,
name: '中文',
tag: 'zh-Hans',
},
{
enabled: false, name: '繁體中文', tag: 'zh-Hant'
tag: 'zh-CN',
},
{enabled: false, name: '繁體中文', tag: 'zh-TW'},
];
module.exports = languages;