mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-07 21:42:34 +02:00
fix(extract-translations): remove comment and fix comment
This commit is contained in:
parent
3843a49e88
commit
997a5346c4
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
const englishKeys = Object.keys(en);
|
||||||
for (let langName of Object.keys(languageList)) {
|
for (let langName of Object.keys(languageList)) {
|
||||||
if (langName !== "en") {
|
if (langName !== "en") {
|
||||||
|
@ -64,8 +64,6 @@ async function extractTranslations() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// console.log(languageList, warnings);
|
|
||||||
|
|
||||||
for (let langName of Object.keys(languageList)) {
|
for (let langName of Object.keys(languageList)) {
|
||||||
const translationsString = JSON5.stringify(languageList[langName], {
|
const translationsString = JSON5.stringify(languageList[langName], {
|
||||||
quote: "\"",
|
quote: "\"",
|
||||||
|
|
Loading…
Add table
Reference in a new issue