summaryrefslogtreecommitdiffstats
path: root/web/lib/config.inc.proto
diff options
context:
space:
mode:
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;
+