diff --git a/index.php b/index.php index 2bd1ed1a..c1fe02a0 100644 --- a/index.php +++ b/index.php @@ -185,10 +185,10 @@ if (isset($_GET["download"])) { echo '' . lang('Table') . '' . lang('Engine') . '' . lang('Comment') . '' . lang('Collation') . '' . lang('Data Length') . '' . lang('Index Length') . '' . lang('Data Free') . '' . lang('Auto Increment') . '' . lang('Rows') . "\n"; while ($row = $result->fetch_assoc()) { table_comment($row); - echo '' . (isset($row["Rows"]) ? '' . htmlspecialchars($row["Name"]) . "$row[Engine]" . htmlspecialchars($row["Comment"]) . "$row[Collation]" : ' ' . htmlspecialchars($row["Name"]) . '' . lang('View')); - $row["count"] = $mysql->result($mysql->query("SELECT COUNT(*) FROM " . idf_escape($row["Name"]))); - foreach ((isset($row["Rows"]) ? array("Data_length" => "create", "Index_length" => "indexes", "Data_free" => "edit", "Auto_increment" => "create") : array()) + array("count" => "select") as $key => $link) { - echo '' . (strlen($row[$key]) ? '' . number_format($row[$key], 0, '.', lang(',')) . '' : ' '); + echo '' . (isset($row["Rows"]) ? '' . htmlspecialchars($row["Name"]) . "$row[Engine]" . htmlspecialchars($row["Comment"]) . "$row[Collation]" : ' ' . htmlspecialchars($row["Name"]) . '' . lang('View') . ''); + foreach ((isset($row["Rows"]) ? array("Data_length" => "create", "Index_length" => "indexes", "Data_free" => "edit", "Auto_increment" => "create", "Rows" => "select") : array()) as $key => $link) { + $val = number_format($row[$key], 0, '.', lang(',')); + echo '' . (strlen($row[$key]) ? '' . ($key == "Rows" && $row["Engine"] == "InnoDB" && $val ? lang('around %s', $val) : $val) . '' : ' '); } echo "\n"; } diff --git a/lang/cs.inc.php b/lang/cs.inc.php index d97ff8a8..6a71e058 100644 --- a/lang/cs.inc.php +++ b/lang/cs.inc.php @@ -136,6 +136,7 @@ $translations = array( 'Event' => 'Událost', 'MySQL version: %s through PHP extension %s' => 'Verze MySQL: %s přes PHP extenzi %s', '%d row(s)' => array('%d řádek', '%d řádky', '%d řádků'), + 'around %s' => 'přibližně %s', 'ON UPDATE CURRENT_TIMESTAMP' => 'Při změně aktuální čas', 'Remove' => 'Odebrat', 'Are you sure?' => 'Opravdu?', diff --git a/lang/de.inc.php b/lang/de.inc.php index 3b266a66..4e683db4 100644 --- a/lang/de.inc.php +++ b/lang/de.inc.php @@ -136,6 +136,7 @@ $translations = array( 'Event' => 'Ereignis', 'MySQL version: %s through PHP extension %s' => 'Version MySQL: %s, mit PHP-Erweiterung %s', '%d row(s)' => array('%d Datensatz', '%d Datensätze'), + 'around %s' => 'ungefähren %s', 'ON UPDATE CURRENT_TIMESTAMP' => 'ON UPDATE CURRENT_TIMESTAMP', 'Remove' => 'Entfernen', 'Are you sure?' => 'Sind Sie sicher ?', diff --git a/lang/es.inc.php b/lang/es.inc.php index 0a84679d..b0ee07fd 100644 --- a/lang/es.inc.php +++ b/lang/es.inc.php @@ -136,6 +136,7 @@ $translations = array( 'Event' => 'Evento', 'MySQL version: %s through PHP extension %s' => 'Versión MySQL: %s a través de extensión PHP %s', '%d row(s)' => array('%d fila', '%d filas'), + 'around %s' => 'acaso %s', 'ON UPDATE CURRENT_TIMESTAMP' => 'ON UPDATE CURRENT_TIMESTAMP', 'Remove' => 'Eliminar', 'Are you sure?' => 'Está seguro?', diff --git a/lang/et.inc.php b/lang/et.inc.php index 407fefe8..5cc19a13 100644 --- a/lang/et.inc.php +++ b/lang/et.inc.php @@ -135,6 +135,7 @@ $translations = array( 'Time' => 'Aeg', 'Event' => 'Sündmus', '%d row(s)' => array('%d rida', '%d rida'), + 'around %s' => 'umbes %s', 'ON UPDATE CURRENT_TIMESTAMP' => 'ON UPDATE CURRENT_TIMESTAMP', 'Remove' => 'Eemalda', 'Are you sure?' => 'Kas oled kindel?', diff --git a/lang/fr.inc.php b/lang/fr.inc.php index 480f69bb..37d1e5e5 100644 --- a/lang/fr.inc.php +++ b/lang/fr.inc.php @@ -135,6 +135,7 @@ $translations = array( 'Time' => 'Temps', 'Event' => 'Évènement', '%d row(s)' => array('%d ligne', '%d lignes'), + 'around %s' => 'autour %s', 'ON UPDATE CURRENT_TIMESTAMP' => 'ON UPDATE CURRENT_TIMESTAMP', 'Remove' => 'Effacer', 'Are you sure?' => 'Êtes-vous certain?', diff --git a/lang/it.inc.php b/lang/it.inc.php index 1aacfa54..6cbebf14 100644 --- a/lang/it.inc.php +++ b/lang/it.inc.php @@ -136,6 +136,7 @@ $translations = array( 'Event' => 'Evento', 'MySQL version: %s through PHP extension %s' => 'Versione MySQL: %s via estensione PHP %s', '%d row(s)' => array('%d riga', '%d righe'), + 'around %s' => 'su %s', 'ON UPDATE CURRENT_TIMESTAMP' => 'ON UPDATE CURRENT_TIMESTAMP', 'Remove' => 'Rimuovi', 'Are you sure?' => 'Sicuro?', diff --git a/lang/nl.inc.php b/lang/nl.inc.php index 4153fd46..f0136521 100644 --- a/lang/nl.inc.php +++ b/lang/nl.inc.php @@ -136,6 +136,7 @@ $translations = array( 'Event' => 'Event', 'MySQL version: %s through PHP extension %s' => 'MySQL versie: %s met PHP extensie %s', '%d row(s)' => array('%d rij', '%d rijen'), + 'around %s' => 'ongeveer %s', 'ON UPDATE CURRENT_TIMESTAMP' => 'ON UPDATE CURRENT_TIMESTAMP', 'Remove' => 'Verwijderen', 'Are you sure?' => 'Weet u het zeker?', diff --git a/lang/sk.inc.php b/lang/sk.inc.php index 2dd97a49..8f80168a 100644 --- a/lang/sk.inc.php +++ b/lang/sk.inc.php @@ -136,6 +136,7 @@ $translations = array( 'Event' => 'Udalosť', 'MySQL version: %s through PHP extension %s' => 'Verzia MySQL: %s cez PHP rozšírenie %s', '%d row(s)' => array('%d riadok', '%d riadky', '%d riadkov'), + 'around %s' => 'približne %s', 'ON UPDATE CURRENT_TIMESTAMP' => 'Pri zmene aktuálny čas', 'Remove' => 'Odobrať', 'Are you sure?' => 'Naozaj?', diff --git a/lang/zh.inc.php b/lang/zh.inc.php index ae4f2653..aba3eb4e 100644 --- a/lang/zh.inc.php +++ b/lang/zh.inc.php @@ -136,6 +136,7 @@ $translations = array( 'Event' => '事件', 'MySQL version: %s through PHP extension %s' => 'MySQL 版本: %s 通过 PHP 扩展 %s', '%d row(s)' => '%d 行', + 'around %s' => '附近的 %s', 'ON UPDATE CURRENT_TIMESTAMP' => 'ON UPDATE CURRENT_TIMESTAMP', 'Remove' => '移除', 'Are you sure?' => '你确定吗?',