summaryrefslogtreecommitdiffstats
path: root/web/lib/config.inc.proto
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-11-04 03:52:07 +0100
committerLoui Chang <louipc.ist@gmail.com>2008-11-04 03:52:07 +0100
commita6147ab5ab297728adefdb97aaeedc93114b896d (patch)
tree49b508439ab2aa0cf4bd039d3b2d2d53e8860df0 /web/lib/config.inc.proto
parentc85dfacc747387b9be6c53b4518ac680b505e0f7 (diff)
parent100451a9665cb387eeae2cb06cc22870cfd57c82 (diff)
downloadaur-a6147ab5ab297728adefdb97aaeedc93114b896d.tar.gz
aur-a6147ab5ab297728adefdb97aaeedc93114b896d.tar.xz
Merge branch 'testing'
Conflicts: web/html/pkgsubmit.php Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib/config.inc.proto')
-rw-r--r--web/lib/config.inc.proto22
1 files changed, 14 insertions, 8 deletions
diff --git a/web/lib/config.inc.proto b/web/lib/config.inc.proto
index 7a0a155d..7248b930 100644
--- a/web/lib/config.inc.proto
+++ b/web/lib/config.inc.proto
@@ -16,18 +16,24 @@ define( "USERNAME_MAX_LEN", 16 );
define( "PASSWD_MIN_LEN", 4 );
define( "PASSWD_MAX_LEN", 128 );
-$LOGIN_TIMEOUT = 7200; # number of idle seconds before timeout
+# Language that messages are initially written in.
+# This should never change.
+define("DEFAULT_LANG", "en");
-$SUPPORTED_LANGS = array( # what languages we have translations for
+# Languages we have translations for
+$SUPPORTED_LANGS = array(
+ "ca" => "Català",
+ "de" => "Deutsch",
"en" => "English",
- "pl" => "Polski",
+ "es" => "Español",
+ "fr" => "Français",
"it" => "Italiano",
- "ca" => "Català",
+ "pl" => "Polski",
"pt" => "Português",
- "es" => "Español",
- "de" => "Deutsch",
"ru" => "Русский",
- "fr" => "Français"
+ "tr" => "Türkçe"
);
-?>
+# Idle seconds before timeout
+$LOGIN_TIMEOUT = 7200;
+