mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-27 22:38:34 +09:00
Update index.js
This commit is contained in:
parent
f02125dd47
commit
02a63cdcb3
@ -28,6 +28,7 @@ const languages = [
|
|||||||
|
|
||||||
const primaries = {
|
const primaries = {
|
||||||
'ja': 'JP',
|
'ja': 'JP',
|
||||||
|
'zh': 'CN',
|
||||||
};
|
};
|
||||||
|
|
||||||
const locales = languages.reduce((a, c) => (a[c] = yaml.safeLoad(fs.readFileSync(`${__dirname}/${c}.yml`, 'utf-8')) || {}, a), {});
|
const locales = languages.reduce((a, c) => (a[c] = yaml.safeLoad(fs.readFileSync(`${__dirname}/${c}.yml`, 'utf-8')) || {}, a), {});
|
||||||
|
Loading…
Reference in New Issue
Block a user