Another conversion to ngettext.

This commit is contained in:
Michal Čihař
2010-03-30 14:33:31 +02:00
parent 9e345b4ab8
commit fb21fc3ce0

View File

@@ -144,7 +144,7 @@ function PMA_importRunQuery($sql = '', $full = '', $controluser = false)
if ($a_num_rows > 0) {
$msg .= $GLOBALS['strRows'] . ': ' . $a_num_rows;
} elseif ($a_aff_rows > 0) {
$msg .= sprintf($GLOBALS['strRowsAffected'], $a_aff_rows);
$msg .= sprintf(_ngettext('%1$d row affected.', '%1$d rows affected.', $a_aff_rows), $a_aff_rows);
} else {
$msg .= $GLOBALS['strEmptyResultSet'];
}