Remove non-English language support

This commit is contained in:
2025-04-22 00:02:58 -07:00
parent 96a499d4ec
commit 5ee643bbbb
78 changed files with 10 additions and 651002 deletions

View File

@@ -58,26 +58,6 @@ if (!$is_https) {
}
?>
<form id="select_lang" method="post" action="<?php echo htmlspecialchars($_SERVER['REQUEST_URI']) ?>">
<?php echo PMA_generate_common_hidden_inputs() ?>
<bdo xml:lang="en" dir="ltr"><label for="lang">
<?php echo __('Language') . (__('Language') != 'Language' ? ' - Language' : '') ?>
</label></bdo><br />
<select id="lang" name="lang" onchange="this.form.submit();" xml:lang="en" dir="ltr">
<?php
// create language list
$lang_list = array();
foreach ($all_languages as $each_lang_key => $each_lang) {
$lang_name = PMA_langName($each_lang);
//Is current one active?
$selected = ($GLOBALS['lang'] == $each_lang_key) ? ' selected="selected"' : '';
echo '<option value="' . $each_lang_key . '"' . $selected . '>' . $lang_name
. '</option>' . "\n";
}
?>
</select>
</form>
<h2><?php echo __('Overview') ?></h2>
<?php

View File

@@ -21,14 +21,6 @@ h1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
}
/* language selection box */
#select_lang {
position: absolute;
right: 1em;
top: 1em;
}
/* menu */
#menu {