Snapshot of main at 9f39a6e1e (2026-11-02)

This commit is contained in:
Ronald Huynen committed 2026-11-02 10:41:47 +01:00
commit 6ccf1792d7
2580 files changed
+1040202

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
<?php
echo "=== FINAL TRANSLATION VERIFICATION ===\n\n";
$langs = ['en', 'nl', 'de', 'es', 'fr'];
foreach ($langs as $lang) {
$file = "resources/lang/{$lang}.json";
$data = json_decode(file_get_contents($file), true);
$count = count($data);
if ($lang !== 'en') {
$untranslated = 0;
foreach ($data as $key => $value) {
if ($key === $value) {
$untranslated++;
}
}
$translated = $count - $untranslated;
$percentage = round(($translated / $count) * 100, 1);
echo sprintf("%-4s: %4d keys | %4d translated (%5.1f%%) | %3d remaining\n",
strtoupper($lang), $count, $translated, $percentage, $untranslated);
} else {
echo sprintf("%-4s: %4d keys (source)\n", strtoupper($lang), $count);
}
}
echo "\n✓ All languages have been synchronized!\n";