Convert replication to gettext.

This commit is contained in:
Michal Čihař
2010-05-24 11:28:58 +02:00
parent 14c8de547e
commit bb36ae46a1
2 changed files with 10 additions and 18 deletions

View File

@@ -24,14 +24,6 @@ $strLatexContent = __('Content of table __TABLE__');
$strLatexContinued = __('(continued)');
$strLatexStructure = __('Structure of table __TABLE__');
$strReplicationMaster = __('Master replication');
$strReplicationSlave = __('Slave replication');
$strShowStatusBinlog_cache_disk_useDescr = __('The number of transactions that used the temporary binary log cache but that exceeded the value of binlog_cache_size and used a temporary file to store statements from the transaction.');
$strShowStatusBinlog_cache_useDescr = __('The number of transactions that used the temporary binary log cache.');
$strShowStatusCreated_tmp_disk_tablesDescr = __('The number of temporary tables on disk created automatically by the server while executing statements. If Created_tmp_disk_tables is big, you may want to increase the tmp_table_size value to cause temporary tables to be memory-based instead of disk-based.');

View File

@@ -192,9 +192,9 @@ if ($databases_count > 0) {
foreach ($replication_types as $type)
{
if ($type=="master")
$name = "strReplicationMaster";
$name = __('Master replication');
elseif($type == "slave")
$name = "strReplicationSlave";
$name = __('Slave replication');
if (${"server_{$type}_status"})
echo ' <th>'.$GLOBALS[$name].'</th>' . "\n";
}