gettext conversion

This commit is contained in:
Marc Delisle
2010-05-11 13:05:43 -04:00
parent b22daddbb7
commit 7925c03896
70 changed files with 10302 additions and 9884 deletions

View File

@@ -39,7 +39,7 @@ if (isset($_REQUEST['submit_sql']) && ! empty($sql_query)) {
if (isset($_REQUEST['submit_sql'])
&& ! preg_match('@^SELECT@i', $sql_query)) {
PMA_Message::warning('strHaveToShow')->display();
PMA_Message::warning(__('You have to choose at least one column to display'))->display();
}
@@ -99,7 +99,7 @@ if (PMA_isValid($_REQUEST['TableList'], 'array')) {
$tbl_result = PMA_DBI_query('SHOW TABLES FROM ' . PMA_backquote($db) . ';', null, PMA_DBI_QUERY_STORE);
$tbl_result_cnt = PMA_DBI_num_rows($tbl_result);
if (0 == $tbl_result_cnt) {
PMA_Message::error('strNoTablesFound')->display();
PMA_Message::error(__('No tables found in database.'))->display();
require_once './libraries/footer.inc.php';
exit;
}