use the correct key to check for translations

pull/1372/head
Alessandro Cocco 2022-01-30 22:27:49 +01:00
parent 2c9e164a06
commit 2190926242
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ languages.forEach(language => {
log("==========");
var translations = JSON.parse(fs.readFileSync(BASEDIR+"/lang/"+language.url).toString());
translatedStrings.forEach(str => {
if (!translations.GLOBAL[str])
if (!translations.GLOBAL[str.str])
console.log(`Missing translation for ${JSON.stringify(str)}`);
});
log("");