diff --git a/setup/frames/config.inc.php b/setup/frames/config.inc.php
index 22d8718c9..4e925d912 100644
--- a/setup/frames/config.inc.php
+++ b/setup/frames/config.inc.php
@@ -22,7 +22,7 @@ $config_writable = false;
$config_exists = false;
check_config_rw($config_readable, $config_writable, $config_exists);
?>
-
+
'simple')); ?>
@@ -35,7 +35,7 @@ check_config_rw($config_readable, $config_writable, $config_exists);
-
+
/>
|
diff --git a/setup/frames/index.inc.php b/setup/frames/index.inc.php
index 7e383f5bd..43b657466 100644
--- a/setup/frames/index.inc.php
+++ b/setup/frames/index.inc.php
@@ -55,7 +55,7 @@ if (!$config_writable || !$config_readable) {
//
$is_https = !empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on';
if (!$is_https) {
- $text = $GLOBALS['strSetupInsecureConnectionMsg1'];
+ $text = __('You are not using a secure connection; all data (including potentially sensitive information, like passwords) is transferred unencrypted!');
if (!empty($_SERVER['REQUEST_URI']) && !empty($_SERVER['HTTP_HOST'])) {
$text .= ' ' . PMA_lang('InsecureConnectionMsg2',
'https://' . htmlspecialchars($_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']));
@@ -84,7 +84,7 @@ if (!$is_https) {
-
+
-
+
-
+
|
@@ -140,7 +140,7 @@ display_form_top('index.php', 'get', array(
@@ -149,7 +149,7 @@ display_form_top('index.php', 'get', array(
display_form_bottom();
?>
-
+
$each_lang) {
$lang_name = PMA_langName($each_lang);
$opts['values'][$each_lang_key] = $lang_name;
}
-display_input('DefaultLang', $GLOBALS['strSetupDefaultLanguage'], '', 'select',
+display_input('DefaultLang', __('Default language'), '', 'select',
$cf->getValue('DefaultLang'), true, $opts);
// Display server list
@@ -179,7 +179,7 @@ $opts = array(
'values' => array(),
'values_disabled' => array());
if ($cf->getServerCount() > 0) {
- $opts['values']['0'] = $GLOBALS['strSetupLetUserChoose'];
+ $opts['values']['0'] = __('let the user choose');
$opts['values']['-'] = '------------------------------';
if ($cf->getServerCount() == 1) {
$opts['values_disabled'][] = '0';
@@ -190,10 +190,10 @@ if ($cf->getServerCount() > 0) {
$opts['values'][(string)$id] = $cf->getServerName($id) . " [$id]";
}
} else {
- $opts['values']['1'] = $GLOBALS['strSetupOptionNone'];
+ $opts['values']['1'] = __('- none -');
$opts['values_escaped'] = true;
}
-display_input('ServerDefault', $GLOBALS['strSetupDefaultServer'], '', 'select',
+display_input('ServerDefault', __('Default server'), '', 'select',
$cf->getValue('ServerDefault'), true, $opts);
// Display EOL list
@@ -203,19 +203,19 @@ $opts = array(
'win' => 'Windows (\r\n)'),
'values_escaped' => true);
$eol = PMA_ifSetOr($_SESSION['eol'], (PMA_IS_WINDOWS ? 'win' : 'unix'));
-display_input('eol', $GLOBALS['strSetupEndOfLine'], '', 'select',
+display_input('eol', __('End of line'), '', 'select',
$eol, true, $opts);
?>
-
-
+
+
/>
- />
+ />
/>
-
+
|
diff --git a/setup/frames/menu.inc.php b/setup/frames/menu.inc.php
index c72adc770..1da38512b 100644
--- a/setup/frames/menu.inc.php
+++ b/setup/frames/menu.inc.php
@@ -14,10 +14,10 @@ if (!defined('PHPMYADMIN')) {
$separator = PMA_get_arg_separator('html');
?>
diff --git a/setup/frames/servers.inc.php b/setup/frames/servers.inc.php
index ee5b2af5c..17ff2f9e4 100644
--- a/setup/frames/servers.inc.php
+++ b/setup/frames/servers.inc.php
@@ -25,7 +25,7 @@ $cf = ConfigFile::getInstance();
$server_exists = !empty($id) && $cf->get("Servers/$id") !== null;
if ($mode == 'edit' && $server_exists) {
- $page_title = $GLOBALS['strSetupServersEdit']
+ $page_title = __('Edit server')
. ' ' . $id . ' (' . $cf->getServerDSN($id) . ')';
} elseif ($mode == 'remove' && $server_exists) {
$cf->removeServer($id);
@@ -34,7 +34,7 @@ if ($mode == 'edit' && $server_exists) {
} elseif ($mode == 'revert' && $server_exists) {
// handled by process_formset()
} else {
- $page_title = $GLOBALS['strSetupServersAdd'];
+ $page_title = __('Add a new server');
$id = 0;
}
if (isset($page_title)) {
diff --git a/setup/lib/FormDisplay.tpl.php b/setup/lib/FormDisplay.tpl.php
index b5e512d32..f6cb5a53f 100644
--- a/setup/lib/FormDisplay.tpl.php
+++ b/setup/lib/FormDisplay.tpl.php
@@ -179,12 +179,12 @@ function display_input($path, $name, $description = '', $type, $value, $value_is
}
if (isset($opts['setvalue']) && $opts['setvalue']) {
?>
- " title="" style="display:none">
+ " title="" style="display:none">
-
+