gettext conversion

This commit is contained in:
Marc Delisle
2010-05-09 16:24:32 -04:00
parent fde1269ac4
commit 632211d065
84 changed files with 12248 additions and 11394 deletions

View File

@@ -49,7 +49,7 @@ if (isset($_REQUEST['drop_selected_dbs_x'])) {
if ((isset($_REQUEST['drop_selected_dbs']) || isset($_REQUEST['query_type']))
&& ($is_superuser || $cfg['AllowUserDropDatabase'])) {
if (! isset($_REQUEST['selected_dbs']) && ! isset($_REQUEST['query_type'])) {
$message = PMA_Message::error('strNoDatabasesSelected');
$message = PMA_Message::error(__('No databases selected.'));
} else {
$action = 'server_databases.php';
$submit_mult = 'drop_db' ;
@@ -60,7 +60,7 @@ if ((isset($_REQUEST['drop_selected_dbs']) || isset($_REQUEST['query_type']))
require './libraries/mult_submits.inc.php';
unset($action, $submit_mult, $err_url, $selected_db);
if (empty($message)) {
$message = PMA_Message::success('strDatabasesDropped');
$message = PMA_Message::success(__('%s databases have been dropped successfully.'));
if ($mult_btn == __('Yes')) {
$message->addParam(count($selected));
} else {
@@ -363,7 +363,7 @@ if ($databases_count > 0) {
.' ' . __('Disable Statistics');
}
echo '</a></strong><br />' . "\n";
PMA_Message::warning('strDatabasesStatsHeavyTraffic')->display();
PMA_Message::warning(__('Note: Enabling the database statistics here might cause heavy traffic between the web server and the MySQL server.'))->display();
echo '</li>' . "\n"
.'</ul>' . "\n";
echo '</form>';