summaryrefslogtreecommitdiff
path: root/media-tv/tv-maxe/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-04-09 17:30:57 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-04-09 17:30:57 +0100
commit7f85c963358c2f7ab3bc7961346947e7b59a8c10 (patch)
tree53cd02a240f77ce29399d8c67853f9fd1aa41de4 /media-tv/tv-maxe/files
parenta91d53770e1224fb0ad350e02cc93fb5ef9798a8 (diff)
fix tv-maxe weird behaviour on non standard locale
Diffstat (limited to 'media-tv/tv-maxe/files')
-rw-r--r--media-tv/tv-maxe/files/tv-maxe_disable_locale.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-tv/tv-maxe/files/tv-maxe_disable_locale.patch b/media-tv/tv-maxe/files/tv-maxe_disable_locale.patch
new file mode 100644
index 00000000..66aeca8d
--- /dev/null
+++ b/media-tv/tv-maxe/files/tv-maxe_disable_locale.patch
@@ -0,0 +1,11 @@
+diff -Nur a/tv-maxe/tvmaxe.py b/tv-maxe/tvmaxe.py
+--- a/tv-maxe/tvmaxe.py 2015-01-07 14:53:41.000000000 +0000
++++ b/tv-maxe/tvmaxe.py 2017-04-09 17:24:40.536587825 +0100
+@@ -11,7 +11,6 @@
+ os.path.abspath(__file__)), 'lng')
+ except:
+ LOCALE_PATH = 'lng'
+-locale.setlocale(locale.LC_ALL, '')
+ for module in gtk.glade, gettext:
+ module.bindtextdomain(GETTEXT_DOMAIN, LOCALE_PATH)
+ module.textdomain(GETTEXT_DOMAIN)