Remove code not needed with motranslator
- the charset is always UTF-8 - the gettext constants do not have to be defined Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
912bf964c7
commit
676514a7e8
@ -171,9 +171,8 @@ class Language
|
||||
$GLOBALS['lang'] = $this->code;
|
||||
|
||||
// Set locale
|
||||
_setlocale(LC_MESSAGES, $this->code);
|
||||
_setlocale(0, $this->code);
|
||||
_bindtextdomain('phpmyadmin', LOCALE_PATH);
|
||||
_bind_textdomain_codeset('phpmyadmin', 'UTF-8');
|
||||
_textdomain('phpmyadmin');
|
||||
|
||||
/* Text direction for language */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user