First Commit

This commit is contained in:
marco
2026-09-01 07:49:48 -03:00
commit 28b1044038
399 changed files with 41659 additions and 0 deletions
Executable
+11
View File
@@ -0,0 +1,11 @@
<?php
$langs = ['pt_BR', 'en', 'es'];
foreach ($langs as $lang) {
$file = "/app/lang/$lang/messages.php";
if (file_exists($file)) {
$translations = include $file;
$json = json_encode($translations, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
file_put_contents("/app/lang/$lang.json", $json);
echo "Fixed $lang.json with " . count($translations) . " translations" . PHP_EOL;
}
}