mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 23:20:21 +01:00
Fix bug
This commit is contained in:
parent
4d7b2d7215
commit
f5fd523ca7
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ const fs = require('fs');
|
||||||
const yaml = require('js-yaml');
|
const yaml = require('js-yaml');
|
||||||
|
|
||||||
const loadLang = lang => yaml.safeLoad(
|
const loadLang = lang => yaml.safeLoad(
|
||||||
fs.readFileSync(`./locales/${lang}.yml`, 'utf-8'));
|
fs.readFileSync(`${__dirname}/${lang}.yml`, 'utf-8'));
|
||||||
|
|
||||||
const native = loadLang('ja');
|
const native = loadLang('ja');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue