From cfa4f0fe0b3e8942a616c04e48f72cec2cddcbca Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 18 Nov 2018 11:59:26 +0900 Subject: [PATCH] Add zh-CN --- locales/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }));