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


Commits:
0bcd965b by Philipp Hörist at 2021-01-03T18:40:38+01:00
Windows: Add Workaround for #10342

- - - - -


1 changed file:

- gajim/common/i18n.py


Changes:

=====================================
gajim/common/i18n.py
=====================================
@@ -172,6 +172,9 @@ def ngettext(s_sing, s_plural, n, replace_sing=None, 
replace_plural=None):
         # find the translation
         # Use LANGUAGE instead of LANG, LANG sets LC_ALL and thus
         # doesn't retain other region settings like LC_TIME
+
+        # See https://gitlab.gnome.org/GNOME/pygobject/-/issues/442
+        LANG = 'en'
         os.environ['LANGUAGE'] = LANG
 except Exception as error:
     print('Failed to determine default language', file=sys.stderr)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/0bcd965bc5c7bb5f24f77bb1099ee667e36d7b9d

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/0bcd965bc5c7bb5f24f77bb1099ee667e36d7b9d
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