Browse Source

fix(extract-translations): remove comment and fix comment

bertyhell/feature/translations-extraction-script
Bert Verhelst 4 years ago
parent
commit
997a5346c4
  1. 4
      extra/extract-translations.js

4
extra/extract-translations.js

@ -52,7 +52,7 @@ async function extractTranslations() {
}
}
// Check for translations in other language files that are not in the english file and delete them
// Check for translations in other language files that are not in the English file and output warnings for them
const englishKeys = Object.keys(en);
for (let langName of Object.keys(languageList)) {
if (langName !== "en") {
@ -64,8 +64,6 @@ async function extractTranslations() {
}
}
// console.log(languageList, warnings);
for (let langName of Object.keys(languageList)) {
const translationsString = JSON5.stringify(languageList[langName], {
quote: "\"",

Loading…
Cancel
Save