Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2011-06-22 11:10:42 +0400
committerMichal Čihař <mcihar@suse.cz>2011-06-22 11:10:42 +0400
commitfaa30ceb64662d7938b141e231684ca614af880d (patch)
tree6a040085e1c972b864fdd4bb30305a6533c93eea /db_routines.php
parentae8935acf3a89d1c577285e47eeeb65637a7b3ad (diff)
Use ngettext instead of row(s)
Diffstat (limited to 'db_routines.php')
-rw-r--r--db_routines.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db_routines.php b/db_routines.php
index ac65af31f2..3307b4085e 100644
--- a/db_routines.php
+++ b/db_routines.php
@@ -152,7 +152,7 @@ if (! empty($_REQUEST['execute_routine']) && ! empty($_REQUEST['routine_name']))
$message = __('Your SQL query has been executed successfully');
if ($routine['type'] == 'PROCEDURE') {
$message .= '<br />';
- $message .= sprintf(__('%s row(s) affected by the last statement inside the procedure'), $affected);
+ $message .= sprintf(_ngettext('%d row affected by the last statement inside the procedure', '%d rows affected by the last statement inside the procedure', $affected), $affected);
}
$message = PMA_message::success($message);
// Pass the SQL queries through the "pretty printer"