mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Translate numbers in ar, bn, fa
This commit is contained in:
@@ -12,7 +12,7 @@ if ($_GET["script"] == "db") {
|
||||
}
|
||||
foreach ($sums + array("Auto_increment" => 0, "Rows" => 0) as $key => $val) {
|
||||
if ($table_status[$key] != "") {
|
||||
$val = number_format($table_status[$key], 0, '.', lang(','));
|
||||
$val = format_number($table_status[$key]);
|
||||
json_row("$key-$id", ($key == "Rows" && $val && $table_status["Engine"] == ($sql == "pgsql" ? "table" : "InnoDB")
|
||||
? "~ $val"
|
||||
: $val
|
||||
@@ -28,7 +28,7 @@ if ($_GET["script"] == "db") {
|
||||
}
|
||||
}
|
||||
foreach ($sums as $key => $val) {
|
||||
json_row("sum-$key", number_format($val, 0, '.', lang(',')));
|
||||
json_row("sum-$key", format_number($val));
|
||||
}
|
||||
json_row("");
|
||||
|
||||
|
Reference in New Issue
Block a user