Skip to content

Commit

Permalink
Plural form
Browse files Browse the repository at this point in the history
  • Loading branch information
lem9 committed Mar 21, 2012
1 parent a924773 commit 2f17c40
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions server_databases.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,13 @@
include 'libraries/mult_submits.inc.php';
unset($action, $submit_mult, $err_url, $selected_db, $GLOBALS['db']);
if (empty($message)) {
$message = PMA_Message::success(__('%s databases have been dropped successfully.'));
if ($mult_btn == __('Yes')) {
$message->addParam(count($selected));
$number_of_databases = count($selected);
} else {
$message->addParam(0);
$number_of_databases = 0;
}
$message = PMA_Message::success(_ngettext('%1$d database has been dropped successfully.', '%1$d databases have been dropped successfully.', $number_of_databases));
$message->addParam($number_of_databases);
}

}
Expand Down

0 comments on commit 2f17c40

Please sign in to comment.