1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-21 23:01:39 +01:00

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_id": "pl",
"lang_name": "Polish)", "lang_name": "Polish",
"lang_name_localized": "Polski" "lang_name_localized": "Polski"
} }
] ]

View File

@ -238,7 +238,7 @@
"IP Address": "Adres IP", "IP Address": "Adres IP",
"Enter IP Address / Hostname": "Wpisz Adres IP / Nazwę Hosta", "Enter IP Address / Hostname": "Wpisz Adres IP / Nazwę Hosta",
"IP Address / Hostname": "Adres IP / Nazwa 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ść", "Count": "Ilość",
"Geolocation": "Geolokalizacja", "Geolocation": "Geolokalizacja",
"Is Alive": "Jest Online", "Is Alive": "Jest Online",
@ -313,5 +313,6 @@
"Traceroute": "Trasa Pakietów (Traceroute)", "Traceroute": "Trasa Pakietów (Traceroute)",
"Autostart": "Automatyczny Start", "Autostart": "Automatyczny Start",
"Path": "Ścieżka" "Path": "Ścieżka"
} }

View File

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