From b957893300cd0b3ce260b8b237798ea1a3cba52e Mon Sep 17 00:00:00 2001 From: Bartek Fabiszewski Date: Fri, 12 Jul 2019 22:05:11 +0200 Subject: [PATCH] Add new languages to menu --- helpers/lang.php | 12 +++++++----- index.php | 1 - 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/helpers/lang.php b/helpers/lang.php index d405587..b3cbeca 100644 --- a/helpers/lang.php +++ b/helpers/lang.php @@ -30,14 +30,16 @@ * @var array */ private static $languages = [ - "en" => "English", - "pl" => "Polski", + "cs" => "Čeština", "de" => "Deutsch", - "hu" => "Magyar", + "en" => "English", + "es" => "Español", "fr" => "Français", "it" => "Italiano", - "es" => "Español", + "hu" => "Magyar", "nl" => "Nederlands", + "pl" => "Polski", + "ru" => "Русский", "zh" => "中文" ]; @@ -112,4 +114,4 @@ } - ?> \ No newline at end of file + ?> diff --git a/index.php b/index.php index 8f135ef..92f00fb 100644 --- a/index.php +++ b/index.php @@ -30,7 +30,6 @@ $lang = (new uLang(uConfig::$lang))->getStrings(); $langsArr = uLang::getLanguages(); - asort($langsArr); $auth = new uAuth(); if ($action == "auth") {