Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim

Commits:
90a44f61 by André Apitzsch at 2018-10-11T22:02:37Z
Fix missing UI translations on flatpak

- - - - -


1 changed file:

- gajim/common/i18n.py


Changes:

=====================================
gajim/common/i18n.py
=====================================
@@ -152,6 +152,8 @@ for dir_ in iter_locale_dirs():
     try:
         _translation = gettext.translation(DOMAIN, dir_)
         _ = _translation.gettext
+        if hasattr(locale, 'bindtextdomain'):
+            locale.bindtextdomain(DOMAIN, dir_)  # type: ignore
     except OSError:
         continue
     else:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/90a44f61e906f819b4114b2220420c39ce67bbd4

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/90a44f61e906f819b4114b2220420c39ce67bbd4
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to