diff options
author | Marc Delisle <marc@infomarc.info> | 2010-05-03 20:57:46 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2010-05-03 20:57:46 +0400 |
commit | f55823f47fd099cbbc3717fdbf0cfec8135927ed (patch) | |
tree | ba1f8c432878264debe7559f7efe667bf0b3e46f /tbl_create.php | |
parent | 86b11a41ab3cb7ccc059b7ed4e8852667e7c3261 (diff) |
strings to gettext, first batch
Diffstat (limited to 'tbl_create.php')
-rw-r--r-- | tbl_create.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tbl_create.php b/tbl_create.php index b83955a831..44f3176602 100644 --- a/tbl_create.php +++ b/tbl_create.php @@ -4,10 +4,10 @@ * @uses $cfg['DefaultTabDatabase'] * @uses $GLOBALS['table'] * @uses $GLOBALS['db'] - * @uses $strTableEmpty - * @uses $strTableAlreadyExists - * @uses $strTable - * @uses $strTableHasBeenCreated + * @uses __('The table name is empty!') + * @uses __('Table %s already exists!') + * @uses __('Table') + * @uses __('Table %1 has been created.') * @uses PMA_Table::generateFieldSpec() * @uses PMA_checkParameters() * @uses PMA_generateCharsetQueryPart() @@ -51,7 +51,7 @@ PMA_checkParameters(array('db')); /* Check if database name is empty */ if (strlen($db) == 0) { - PMA_mysqlDie($strDatabaseEmpty, '', '', 'main.php'); + PMA_mysqlDie(__('The database name is empty!'), '', '', 'main.php'); } /** @@ -59,7 +59,7 @@ if (strlen($db) == 0) { */ if (PMA_DBI_get_columns($db, $table)) { // table exists already - PMA_mysqlDie(sprintf($strTableAlreadyExists, htmlspecialchars($table)), '', + PMA_mysqlDie(sprintf(__('Table %s already exists!'), htmlspecialchars($table)), '', '', 'db_structure.php?' . PMA_generate_common_url($db)); } |