[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r14470: Added es-ES and a list of other languages we'd like to accep (check/trunk/cgi-bin)
Author: ioerror
Date: 2008-04-25 06:55:00 -0400 (Fri, 25 Apr 2008)
New Revision: 14470
Modified:
check/trunk/cgi-bin/index.py
Log:
Added es-ES and a list of other languages we'd like to accept. When we have proper translations, we'll be ready to support them quickly.
Modified: check/trunk/cgi-bin/index.py
===================================================================
--- check/trunk/cgi-bin/index.py 2008-04-25 10:27:46 UTC (rev 14469)
+++ check/trunk/cgi-bin/index.py 2008-04-25 10:55:00 UTC (rev 14470)
@@ -1,7 +1,10 @@
#!/usr/bin/env python
#
+# TorCheck.py
+#
# https://check.torproject.org - rewritten in python
+#
# By Jacob Appelbaum <jacob@xxxxxxxxxxxxx>
# Written at ToorCon Seattle 2008 (Thanks for the great time h1kari!)
# Thanks to Crispen for a power outlet :-)
@@ -91,8 +94,11 @@
default_locale = "en_US"
locale = default_locale
- locales = ( default_locale, 'es', 'de')
+ locales = ( default_locale, 'es', 'es-ES', 'de')
+ # We'd really like these locales to be translated:
+ # locales = ( default_locale, 'ar', 'de', 'es', 'es-ES', 'fa-IR', 'fr', 'nl', 'pt-PT', 'ru', 'zh-CN')
+
for item in locales:
if item == user_supplied_lang:
locale = item