mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 16:17:48 +02:00
Translate numbers in ar, bn, fa
This commit is contained in:
@@ -68,7 +68,7 @@ function lang($idf, $number = null) {
|
||||
array_shift($args);
|
||||
$format = str_replace("%d", "%s", $translation);
|
||||
if ($format != $translation) {
|
||||
$args[0] = number_format($number, 0, ".", lang(','));
|
||||
$args[0] = format_number($number);
|
||||
}
|
||||
return vsprintf($format, $args);
|
||||
}
|
||||
|
Reference in New Issue
Block a user