summaryrefslogtreecommitdiffstats
path: root/web/lib/config.inc.php.proto
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-10-21 22:15:56 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-10-24 17:57:51 +0200
commitbd361242f919d4102637b8fb51591037e8b5bea5 (patch)
treea8862091527e921f5c2232d281fa6ffa16f9d649 /web/lib/config.inc.php.proto
parent795971bc806776ad48de6f0135736cbaaefa5fcd (diff)
downloadaur-bd361242f919d4102637b8fb51591037e8b5bea5.tar.gz
aur-bd361242f919d4102637b8fb51591037e8b5bea5.tar.xz
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>
Diffstat (limited to 'web/lib/config.inc.php.proto')
-rw-r--r--web/lib/config.inc.php.proto28
1 files changed, 0 insertions, 28 deletions
diff --git a/web/lib/config.inc.php.proto b/web/lib/config.inc.php.proto
index fbade866..d1f1cd18 100644
--- a/web/lib/config.inc.php.proto
+++ b/web/lib/config.inc.php.proto
@@ -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;