1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-10-30 23:01:48 +09:00
This commit is contained in:
syuilo 2018-07-11 14:19:55 +09:00
parent 4d7b2d7215
commit f5fd523ca7

View File

@ -6,7 +6,7 @@ const fs = require('fs');
const yaml = require('js-yaml');
const loadLang = lang => yaml.safeLoad(
fs.readFileSync(`./locales/${lang}.yml`, 'utf-8'));
fs.readFileSync(`${__dirname}/${lang}.yml`, 'utf-8'));
const native = loadLang('ja');