Convert replication to gettext.
This commit is contained in:
@@ -24,14 +24,6 @@ $strLatexContent = __('Content of table __TABLE__');
|
|||||||
$strLatexContinued = __('(continued)');
|
$strLatexContinued = __('(continued)');
|
||||||
$strLatexStructure = __('Structure of table __TABLE__');
|
$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_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.');
|
$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.');
|
$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.');
|
||||||
|
@@ -192,9 +192,9 @@ if ($databases_count > 0) {
|
|||||||
foreach ($replication_types as $type)
|
foreach ($replication_types as $type)
|
||||||
{
|
{
|
||||||
if ($type=="master")
|
if ($type=="master")
|
||||||
$name = "strReplicationMaster";
|
$name = __('Master replication');
|
||||||
elseif($type == "slave")
|
elseif($type == "slave")
|
||||||
$name = "strReplicationSlave";
|
$name = __('Slave replication');
|
||||||
if (${"server_{$type}_status"})
|
if (${"server_{$type}_status"})
|
||||||
echo ' <th>'.$GLOBALS[$name].'</th>' . "\n";
|
echo ' <th>'.$GLOBALS[$name].'</th>' . "\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user