Gettext usage.

This commit is contained in:
Michal Čihař
2010-05-24 11:18:25 +02:00
parent 1a923fe9c6
commit ac2087a3e8

View File

@@ -99,7 +99,11 @@ function PMA_replication_print_status_table($type, $hidden = false, $title = tru
echo '<div id="replication_' . $type . '_section" style="' . ($hidden ? 'display: none;' : '') . '"> '; echo '<div id="replication_' . $type . '_section" style="' . ($hidden ? 'display: none;' : '') . '"> ';
if ($title) { if ($title) {
echo '<h4><a name="replication_' . $type . '"></a>' . ${"strReplicationStatus_{$type}"} . '</h4>'; if ($type == 'master') {
echo '<h4><a name="replication_' . $type . '"></a>' . __('Master status') . '</h4>';
} else {
echo '<h4><a name="replication_' . $type . '"></a>' . __('Slave status') . '</h4>';
}
} else { } else {
echo '<br />'; echo '<br />';
} }