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

@@ -213,13 +213,6 @@ if (top != self) {
PMA_Message::rawError($conn_error)->display();
}
// Displays the languages form
if (empty($GLOBALS['cfg']['Lang'])) {
require_once './libraries/display_select_lang.lib.php';
// use fieldset, don't show doc link
PMA_select_language(true, false);
}
?>
<br />
<!-- Login form -->

View File

@@ -2061,8 +2061,10 @@ $cfg['DefaultConnectionCollation'] = 'utf8_general_ci';
/**
* Force: always use this language
* $cfg['Lang'] = 'en';
*
*/
$cfg['Lang'] = 'en';
/**
* Regular expression to limit listed languages, e.g. '^(cs|en)' for Czech and
* English only
*

View File

@@ -32,7 +32,7 @@ if ($GLOBALS['text_dir'] == 'ltr') {
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $GLOBALS['available_languages'][$GLOBALS['lang']][1]; ?>" lang="<?php echo $GLOBALS['available_languages'][$GLOBALS['lang']][1]; ?>" dir="<?php echo $GLOBALS['text_dir']; ?>">
<html lang="en" dir="<?php echo $GLOBALS['text_dir']; ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
<link rel="icon" href="./favicon.ico" type="image/x-icon" />

View File

@@ -39,7 +39,7 @@ if ($text_dir == 'ltr') {
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $available_languages[$lang][1]; ?>" lang="<?php echo $available_languages[$lang][1]; ?>" dir="<?php echo $text_dir; ?>">
<html lang="en" dir="<?php echo $text_dir; ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />