Add new languages to menu

This commit is contained in:
Bartek Fabiszewski 2019-07-12 22:05:11 +02:00
parent d83f5693c6
commit b957893300
2 changed files with 7 additions and 6 deletions

View File

@ -30,14 +30,16 @@
* @var array * @var array
*/ */
private static $languages = [ private static $languages = [
"en" => "English", "cs" => "Čeština",
"pl" => "Polski",
"de" => "Deutsch", "de" => "Deutsch",
"hu" => "Magyar", "en" => "English",
"es" => "Español",
"fr" => "Français", "fr" => "Français",
"it" => "Italiano", "it" => "Italiano",
"es" => "Español", "hu" => "Magyar",
"nl" => "Nederlands", "nl" => "Nederlands",
"pl" => "Polski",
"ru" => "Русский",
"zh" => "中文" "zh" => "中文"
]; ];

View File

@ -30,7 +30,6 @@
$lang = (new uLang(uConfig::$lang))->getStrings(); $lang = (new uLang(uConfig::$lang))->getStrings();
$langsArr = uLang::getLanguages(); $langsArr = uLang::getLanguages();
asort($langsArr);
$auth = new uAuth(); $auth = new uAuth();
if ($action == "auth") { if ($action == "auth") {