Fix/23066 i18n related commands are broken (#23071)

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
crazywoola
2025-07-28 21:25:18 +08:00
committed by GitHub
parent 572a2bbe53
commit 5f550126b3
6 changed files with 8 additions and 204 deletions

View File

@@ -8,7 +8,7 @@ const languages = data.languages.filter(language => language.supported).map(lang
async function getKeysFromLanuage(language) {
return new Promise((resolve, reject) => {
const folderPath = path.join(__dirname, language)
const folderPath = path.join(__dirname, '../i18n', language)
let allKeys = []
fs.readdir(folderPath, (err, files) => {
if (err) {