Use ngettext for number of inserted rows.

This commit is contained in:
Michal Čihař
2010-03-30 14:51:09 +02:00
parent 9858d031da
commit 4dd524eaf1
4 changed files with 21 additions and 5 deletions

View File

@@ -400,8 +400,7 @@ foreach ($query as $single_query) {
unset($single_query, $query);
if ($is_insert && count($value_sets) > 0) {
$message = PMA_Message::success('strRowsInserted');
$message->addParam($total_affected_rows);
$message = PMA_Message::inserted_rows($total_affected_rows);
} else {
$message = PMA_Message::affected_rows($total_affected_rows);
}