Remove non-English language support
This commit is contained in:
@@ -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 -->
|
||||
|
@@ -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
|
||||
*
|
||||
|
@@ -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" />
|
||||
|
@@ -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; ?>" />
|
||||
|
Reference in New Issue
Block a user