This commit is contained in:
ThatOneCalculator 2023-06-16 14:19:42 -07:00
parent 3d6d90a137
commit 51a7bab9ff
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 4 additions and 4 deletions

View File

@ -21,15 +21,15 @@ const merge = (...args) =>
fs.readdirSync(__dirname).forEach((file) => {
if (file.includes(".yml")) {
locale = file.slice(0, file.indexOf("."));
languages.push(locale);
file = file.slice(0, file.indexOf("."));
languages.push(file);
}
});
fs.readdirSync(__dirname + "/../custom/locales").forEach((file) => {
if (file.includes(".yml")) {
customLocale = file.slice(0, file.indexOf("."));
languages_custom.push(customLocale);
file = file.slice(0, file.indexOf("."));
languages_custom.push(file);
}
});