Philipp Hörist pushed to branch master at gajim / gajim
Commits:
3334790a by Philipp Hörist at 2021-01-03T14:50:28+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/3334790a15ff4664894f5f19bd60e01760d3f120
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/3334790a15ff4664894f5f19bd60e01760d3f120
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