mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 01:47:39 -07:00
fix
This commit is contained in:
parent
70f46b8fb7
commit
89c95d969f
1 changed files with 4 additions and 4 deletions
|
@ -21,15 +21,15 @@ const merge = (...args) =>
|
||||||
|
|
||||||
fs.readdirSync(__dirname).forEach((file) => {
|
fs.readdirSync(__dirname).forEach((file) => {
|
||||||
if (file.includes(".yml")) {
|
if (file.includes(".yml")) {
|
||||||
locale = file.slice(0, file.indexOf("."));
|
file = file.slice(0, file.indexOf("."));
|
||||||
languages.push(locale);
|
languages.push(file);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
fs.readdirSync(__dirname + "/../custom/locales").forEach((file) => {
|
fs.readdirSync(__dirname + "/../custom/locales").forEach((file) => {
|
||||||
if (file.includes(".yml")) {
|
if (file.includes(".yml")) {
|
||||||
customLocale = file.slice(0, file.indexOf("."));
|
file = file.slice(0, file.indexOf("."));
|
||||||
languages_custom.push(customLocale);
|
languages_custom.push(file);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue