Merge branch 'develop' of https://github.com/syuilo/misskey into develop

This commit is contained in:
syuilo 2019-03-07 16:50:41 +09:00
commit d035a43ed6
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -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), {});