Add spec for zh_cn translation json

This commit is contained in:
AkiraFukushima 2019-08-12 15:52:30 +09:00
parent 748675745b
commit a931fc82e7
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import keys from 'all-object-keys'
import objectAssignDeep from 'object-assign-deep' import objectAssignDeep from 'object-assign-deep'
const defaultLocale = 'en' const defaultLocale = 'en'
const locales = ['de', 'fr', 'it', 'ja', 'ko', 'pl'] const locales = ['de', 'fr', 'it', 'ja', 'ko', 'pl', 'zh_cn']
const enJson = JSON.parse(fs.readFileSync(path.resolve(__dirname, `../../src/config/locales/${defaultLocale}/translation.json`), 'utf8')) const enJson = JSON.parse(fs.readFileSync(path.resolve(__dirname, `../../src/config/locales/${defaultLocale}/translation.json`), 'utf8'))