diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-18 11:59:26 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-18 11:59:26 +0900 |
| commit | cfa4f0fe0b3e8942a616c04e48f72cec2cddcbca (patch) | |
| tree | e0f09759c7735c69ce2a1457c377d9d4d974202e | |
| parent | New Crowdin translations (#3255) (diff) | |
| download | misskey-cfa4f0fe0b3e8942a616c04e48f72cec2cddcbca.tar.gz misskey-cfa4f0fe0b3e8942a616c04e48f72cec2cddcbca.tar.bz2 misskey-cfa4f0fe0b3e8942a616c04e48f72cec2cddcbca.zip | |
Add zh-CN
| -rw-r--r-- | locales/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locales/index.js b/locales/index.js index 6780251e10..f8b836759c 100644 --- a/locales/index.js +++ b/locales/index.js @@ -5,7 +5,7 @@ const fs = require('fs'); const yaml = require('js-yaml'); -const langs = ['de-DE', 'en-US', 'fr-FR', 'ja-JP', 'ja-KS', 'pl-PL', 'es-ES', 'nl-NL']; +const langs = ['de-DE', 'en-US', 'fr-FR', 'ja-JP', 'ja-KS', 'pl-PL', 'es-ES', 'nl-NL', 'zh-CN']; const loadLocale = lang => yaml.safeLoad(fs.readFileSync(`${__dirname}/${lang}.yml`, 'utf-8')); const locales = langs.map(lang => ({ [lang]: loadLocale(lang) })); |