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:
Michal Čihař 2016-02-24 13:02:55 +01:00
parent 912bf964c7
commit 676514a7e8

View File

@ -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 */