Add todo translations (bug #1436564).

This commit is contained in:
Michal Čihař
2006-05-30 14:58:40 +00:00
parent 8bfebb7072
commit 0f7e8e9e7d
120 changed files with 474 additions and 8 deletions

View File

@@ -850,8 +850,7 @@ class PMA_Table {
// Ensure the target is valid
if (count($GLOBALS['dblist']) > 0
&& ! in_array($new_db, $GLOBALS['dblist'])) {
// TODO add string $strInvalidDatabase
$this->errors[] = $GLOBALS['strError'] . ': ' . $new_db;
$this->errors[] = $GLOBALS['strInvalidDatabase'] . ': ' . $new_db;
return false;
}
} else {
@@ -865,8 +864,7 @@ class PMA_Table {
}
if (! PMA_Table::isValidName($new_name)) {
// TODO add string $strInvalidTableName
$this->errors[] = $GLOBALS['strError'] . ': ' . $new_table->getFullName();
$this->errors[] = $GLOBALS['strInvalidTableName'] . ': ' . $new_table->getFullName();
return false;
}
@@ -874,8 +872,7 @@ class PMA_Table {
RENAME TABLE ' . $this->getFullName(true) . '
TO ' . $new_table->getFullName(true) . ';';
if (! PMA_DBI_query($GLOBALS['sql_query'])) {
// TODO add $GLOBALS['strErrorRenamingTable'];
$this->errors[] = $GLOBALS['strError'] . ': ' . $new_table->getFullName();
$this->errors[] = sprintf($GLOBALS['strErrorRenamingTable'], $this->getFullName(), $new_table->getFullName());
return false;
}

View File

@@ -41,8 +41,7 @@ function PMA_select_server($not_only_options, $ommit_fieldset)
echo '<select name="server" id="select_server"'
. ' onchange="if (this.value != \'\') this.form.submit();">';
// TODO FIXME replace with $GLOBALS['strServers']
echo '<option value="">(' . $GLOBALS['strServer'] . ') ...</option>' . "\n";
echo '<option value="">(' . $GLOBALS['strServers'] . ') ...</option>' . "\n";
} elseif ($list) {
echo $GLOBALS['strServer'] . ':<br />';
// TODO FIXME display server list as 'list'