File gramps-no-translations-check.patch of Package gramps

Index: gramps-4.2.0/gramps/gui/grampsgui.py
===================================================================
--- gramps-4.2.0.orig/gramps/gui/grampsgui.py
+++ gramps-4.2.0/gramps/gui/grampsgui.py
@@ -178,7 +178,8 @@ class Gramps(object):
         theme = Gtk.IconTheme.get_default()
         theme.append_search_path(IMAGE_DIR)
 
-        if lin() and glocale.lang != 'C' and not gettext.find(GTK_GETTEXT_DOMAIN):
+        # Disabled, as gramps/gettext fails to report correctly when bundle-lang packages are used (boo#941490)
+        if False and lin() and glocale.lang != 'C' and not gettext.find(GTK_GETTEXT_DOMAIN):
             LOG.warn("GTK translations missing, GUI will be broken, especially for RTL languages!")
             # Note: the warning dialog below will likely have wrong stock icons!
             # Translators: the current language will be the one you translate into.
openSUSE Build Service is sponsored by