summaryrefslogtreecommitdiffstats
path: root/games/gnome-sudoku/files/patch-src_lib_defaults.py
blob: 7b9285f0e6bc32b622546c843eca8c8737180559 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
python locale uses C library gettext modules. Since our gettext doesn't
live in libc, work around this.

--- src/lib/defaults.py.orig    2013-08-24 19:50:08.000000000 +0200
+++ src/lib/defaults.py 2013-08-24 20:02:02.000000000 +0200
@@ -39,7 +39,7 @@
     PUZZLE_DIR      = BASE_DIR
 
 DOMAIN = 'gnome-games'
-locale.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425
+gettext.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425
 gettext.bindtextdomain(DOMAIN, LOCALEDIR)
 gettext.textdomain(DOMAIN)
 from gettext import gettext as _