[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7556 - trunk/gnue-common/src/apps
From: |
jan |
Subject: |
[gnue] r7556 - trunk/gnue-common/src/apps |
Date: |
Tue, 31 May 2005 17:09:39 -0500 (CDT) |
Author: jan
Date: 2005-05-31 17:09:38 -0500 (Tue, 31 May 2005)
New Revision: 7556
Modified:
trunk/gnue-common/src/apps/i18n.py
Log:
getLocale isn't reliable on Pocket PC too.
Modified: trunk/gnue-common/src/apps/i18n.py
===================================================================
--- trunk/gnue-common/src/apps/i18n.py 2005-05-31 20:53:11 UTC (rev 7555)
+++ trunk/gnue-common/src/apps/i18n.py 2005-05-31 22:09:38 UTC (rev 7556)
@@ -219,7 +219,7 @@
# On win32, getlocale is broken - it returns strings like Hungarian_Hungary
# instead of hu_HU.
- if sys.platform == 'win32':
+ if sys.platform in ['win32','Pocket PC']:
(language, encoding) = locale.getdefaultlocale ()
else:
(language, encoding) = locale.getlocale ()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7556 - trunk/gnue-common/src/apps,
jan <=