Update check script

This commit is contained in:
Donald Zou 2024-11-17 17:20:41 +08:00
parent 30c84d8cbf
commit 981b30e4af
3 changed files with 4 additions and 4 deletions

View file

@ -56,7 +56,7 @@
},
{
"lang_id": "pl",
"lang_name": "Polish)",
"lang_name": "Polish",
"lang_name_localized": "Polski"
}
]

View file

@ -238,7 +238,7 @@
"IP Address": "Adres IP",
"Enter IP Address / Hostname": "Wpisz Adres IP / Nazwę Hosta",
"IP Address / Hostname": "Adres IP / Nazwa Hosta",
"Dashboard IP Address & Listen Port": "Adres IP Portalu WGDashboard oraz Port Nasłuchiwania",
"Dashboard IP Address \\& Listen Port": "Adres IP Portalu WGDashboard oraz Port Nasłuchiwania",
"Count": "Ilość",
"Geolocation": "Geolokalizacja",
"Is Alive": "Jest Online",
@ -313,5 +313,6 @@
"Traceroute": "Trasa Pakietów (Traceroute)",
"Autostart": "Automatyczny Start",
"Path": "Ścieżka"
}

View file

@ -36,8 +36,7 @@ for language in active_languages:
# Print missing translations
print("\t[Missing Translations]")
if missing_translation:
print(",\n".join(f'\t\t"{key}": ""'
for key in missing_translation))
print(",\n".join(f'\t\t"' + key + '": ""' for key in missing_translation))
else:
print("\t\tNo missing translations")