1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 14:46:36 +02:00

Move comment

This commit is contained in:
Jakub Vrana
2025-04-04 17:34:18 +02:00
parent 7dbd929600
commit 510cd2e068

View File

@@ -6,8 +6,8 @@ namespace Adminer;
* @param float|string $number
*/
function lang(string $idf, $number = null): string {
// this is matched by compile.php
$args = func_get_args();
// this is matched by compile.php
$args[0] = Lang::$translations[$idf] ?: $idf;
return call_user_func_array('Adminer\lang_format', $args);
}