Fix/23066 i18n related commands are broken (#23071)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
572a2bbe53
commit
5f550126b3
6 changed files with 8 additions and 204 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue