[labyrinth commit] r347 - in trunk: . src

0 views
Skip to first unread message

codesite...@google.com

unread,
Feb 27, 2009, 12:50:38 PM2/27/09
to labyrinth-...@googlegroups.com
Author: matthias.vogelgesang
Date: Fri Feb 27 09:46:34 2009
New Revision: 347

Modified:
trunk/ChangeLog
trunk/src/labyrinth.py

Log:
* src/labyrinth.py
Fix issue 133. Thanks to Romain Tartiere.


Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Fri Feb 27 09:46:34 2009
@@ -1,3 +1,8 @@
+2009-02-27 Matthias Vogelgesang <matthias.v...@gmail.com>
+
+ * src/labyrinth.py
+ Fix issue 133. Thanks to Romain Tartiere.
+
2009-02-26 Martin Schaaf <mas...@ma-scha.de>

* src/MMapArea.py

Modified: trunk/src/labyrinth.py
==============================================================================
--- trunk/src/labyrinth.py (original)
+++ trunk/src/labyrinth.py Fri Feb 27 09:46:34 2009
@@ -56,11 +56,13 @@

gettext.textdomain('labyrinth')

-if not os.name == 'nt':
- locale.bindtextdomain('labyrinth', localedir)
- if hasattr(locale, 'bind_textdomain_codeset'):
- locale.bind_textdomain_codeset('labyrinth','UTF-8')
- locale.textdomain('labyrinth')
+if hasattr(locale, 'bindtextdomain'):
+ if not os.name == 'nt':
+ locale.bindtextdomain('labyrinth', localedir)
+ if hasattr(locale, 'bind_textdomain_codeset'):
+ locale.bind_textdomain_codeset('labyrinth','UTF-8')
+ locale.textdomain('labyrinth')
+

gtk.glade.bindtextdomain('labyrinth')
gtk.glade.textdomain('labyrinth')

Reply all
Reply to author
Forward
0 new messages