diff --git a/libraries/messages.inc.php b/libraries/messages.inc.php index 70450b4d2..cb192d2ea 100644 --- a/libraries/messages.inc.php +++ b/libraries/messages.inc.php @@ -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.'); diff --git a/server_databases.php b/server_databases.php index 073706e9a..7b0f6982a 100644 --- a/server_databases.php +++ b/server_databases.php @@ -35,7 +35,7 @@ if (isset($_REQUEST['sort_order']) $dbstats = empty($_REQUEST['dbstats']) ? 0 : 1; $pos = empty($_REQUEST['pos']) ? 0 : (int) $_REQUEST['pos']; - + /** * Drops multiple databases */ @@ -188,17 +188,17 @@ if ($databases_count > 0) { .' ' . "\n"; } } - - foreach ($replication_types as $type) + + foreach ($replication_types as $type) { if ($type=="master") - $name = "strReplicationMaster"; + $name = __('Master replication'); elseif($type == "slave") - $name = "strReplicationSlave"; - if (${"server_{$type}_status"}) + $name = __('Slave replication'); + if (${"server_{$type}_status"}) echo ' '.$GLOBALS[$name].'' . "\n"; } - + if ($is_superuser) { echo ' ' . ($cfg['PropertiesIconic'] ? '' : __('Action')) . "\n" . ' ' . "\n"; @@ -326,10 +326,10 @@ if ($databases_count > 0) { } } } - - foreach ($replication_types as $type) + + foreach ($replication_types as $type) { - if (${"server_{$type}_status"}) + if (${"server_{$type}_status"}) echo ' ' . "\n"; }