1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-10 08:34:20 +02:00

Add instructions to translation files

This commit is contained in:
Jakub Vrana
2025-03-23 15:35:30 +01:00
parent 03ff0bbc04
commit fb47ba6bbb
46 changed files with 91 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ foreach (glob(__DIR__ . "/adminer/lang/" . ($_SESSION["lang"] ?: "*") . ".inc.ph
}
}
}
$s = "<?php\nnamespace Adminer;\n\n\$translations = array(\n$s);\n";
$s = "<?php\nnamespace Adminer;\n\n\$translations = array(\n$s);\n\n// run `php ../../lang.php $lang` to update this file\n";
if ($s != $file) {
file_put_contents($filename, $s);
echo "$filename updated.\n";