[or-cvs] r14473: Fix es-ES to be es_ES because Debian wins the locale argumen (check/trunk/cgi-bin)

ioerror at seul.org ioerror at seul.org
Fri Apr 25 12:09:20 UTC 2008


Author: ioerror
Date: 2008-04-25 08:09:20 -0400 (Fri, 25 Apr 2008)
New Revision: 14473

Modified:
   check/trunk/cgi-bin/index.py
Log:
Fix es-ES to be es_ES because Debian wins the locale argument for this evening.


Modified: check/trunk/cgi-bin/index.py
===================================================================
--- check/trunk/cgi-bin/index.py	2008-04-25 11:53:56 UTC (rev 14472)
+++ check/trunk/cgi-bin/index.py	2008-04-25 12:09:20 UTC (rev 14473)
@@ -84,10 +84,10 @@
     
     default_locale = "en_US"
     locale = default_locale
-    locales = ( default_locale, 'es', 'es-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')
+    # 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:



More information about the tor-commits mailing list