Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
3334790a
by Philipp Hörist at 2021-01-03T14:50:28+01:00
1 changed file:
Changes:
| ... | ... | @@ -172,6 +172,9 @@ def ngettext(s_sing, s_plural, n, replace_sing=None, replace_plural=None): |
| 172 | 172 |
# find the translation
|
| 173 | 173 |
# Use LANGUAGE instead of LANG, LANG sets LC_ALL and thus
|
| 174 | 174 |
# doesn't retain other region settings like LC_TIME
|
| 175 |
+ |
|
| 176 |
+ # See https://gitlab.gnome.org/GNOME/pygobject/-/issues/442
|
|
| 177 |
+ LANG = 'en'
|
|
| 175 | 178 |
os.environ['LANGUAGE'] = LANG
|
| 176 | 179 |
except Exception as error:
|
| 177 | 180 |
print('Failed to determine default language', file=sys.stderr)
|