Philipp Hörist pushed to branch master at gajim / gajim

Commits:
bc24ab47 by Philipp Hörist at 2018-05-23T08:38:09+02:00
Fix translation in flatpak build

Fixes #9138

- - - - -


1 changed file:

- gajim/common/i18n.py


Changes:

=====================================
gajim/common/i18n.py
=====================================
--- a/gajim/common/i18n.py
+++ b/gajim/common/i18n.py
@@ -81,6 +81,9 @@ def get_locale_dir():
         path, tail = os.path.split(path)
         path, tail = os.path.split(path)
         localedir, tail = os.path.split(path)
+    elif os.path.exists('/app/share/run-as-flatpak'):
+        # Check if we run as flatpak
+        return '/app/share/locale'
     else:
         # fallback to user locale
         base = os.getenv('XDG_DATA_HOME')



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

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

Reply via email to