From 997a5346c4e9368b2779bc5b6a5e92309bb59d49 Mon Sep 17 00:00:00 2001 From: Bert Verhelst Date: Thu, 7 Oct 2021 20:53:46 +0200 Subject: [PATCH] fix(extract-translations): remove comment and fix comment --- extra/extract-translations.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/extra/extract-translations.js b/extra/extract-translations.js index fdb32d9..02ea310 100644 --- a/extra/extract-translations.js +++ b/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: "\"",