From 7f85c963358c2f7ab3bc7961346947e7b59a8c10 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 9 Apr 2017 17:30:57 +0100 Subject: fix tv-maxe weird behaviour on non standard locale --- media-tv/tv-maxe/files/tv-maxe_disable_locale.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 media-tv/tv-maxe/files/tv-maxe_disable_locale.patch (limited to 'media-tv/tv-maxe/files/tv-maxe_disable_locale.patch') 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) -- cgit v1.2.3