Merge f0b9001cb09e69c6a6894c807d801f20c166332e into 16644b009f99e53b8b271c4bd1a50e6260e1935b

This commit is contained in:
mig5 2025-04-14 09:50:33 +00:00 committed by GitHub
commit 319256cf65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -140,7 +140,7 @@ class Settings(object):
# Choose the default locale based on the OS preference, and fall-back to English
if self._settings["locale"] is None:
language_code, encoding = locale.getdefaultlocale()
language_code, encoding = locale.getlocale()
# Default to English
if not language_code: