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
commit 5f550126b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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) {