mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Move SUPPORTED_LANGS out of config.inc.php
This has no real business being here, and is a pain to update when new languages are shipped. Move it and the set_lang() function to translator.inc.php instead so it doesn't overwhelm the user-configurable settings file with static stuff. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
795971bc80
commit
bd361242f9
3 changed files with 84 additions and 84 deletions
|
@ -33,34 +33,6 @@ define("SQL_DEBUG", 0);
|
|||
# to '127.0.0.1:11211'.
|
||||
#define("MEMCACHE_SERVERS", '127.0.0.1:11211');
|
||||
|
||||
# Languages we have translations for
|
||||
$SUPPORTED_LANGS = array(
|
||||
"ca" => "Català",
|
||||
"cs" => "česky",
|
||||
"da" => "Dansk",
|
||||
"de" => "Deutsch",
|
||||
"en" => "English",
|
||||
"el" => "Ελληνικά",
|
||||
"es" => "Español",
|
||||
"fi" => "Finnish",
|
||||
"fr" => "Français",
|
||||
"he" => "עברית",
|
||||
"hr" => "Hrvatski",
|
||||
"hu" => "Magyar",
|
||||
"it" => "Italiano",
|
||||
"nb_NO" => "Norsk",
|
||||
"nl" => "Dutch",
|
||||
"pl" => "Polski",
|
||||
"pt" => "Português",
|
||||
"pt_BR" => "Português (Brasil)",
|
||||
"ro" => "Română",
|
||||
"ru" => "Русский",
|
||||
"sr" => "Srpski",
|
||||
"tr" => "Türkçe",
|
||||
"uk" => "Українська",
|
||||
"zh_CN" => "简体中文"
|
||||
);
|
||||
|
||||
# Session limit per user
|
||||
$MAX_SESSIONS_PER_USER = 8;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue