1
0
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:
Jakub Vrana
2014-03-19 21:56:42 -07:00
parent 73629178d8
commit 4d491d704e
39 changed files with 49 additions and 8 deletions

View File

@@ -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);
}