mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-25 23:55:36 -04:00
Merge f0b9001cb0
into 16644b009f
This commit is contained in:
commit
319256cf65
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class Settings(object):
|
||||||
|
|
||||||
# Choose the default locale based on the OS preference, and fall-back to English
|
# Choose the default locale based on the OS preference, and fall-back to English
|
||||||
if self._settings["locale"] is None:
|
if self._settings["locale"] is None:
|
||||||
language_code, encoding = locale.getdefaultlocale()
|
language_code, encoding = locale.getlocale()
|
||||||
|
|
||||||
# Default to English
|
# Default to English
|
||||||
if not language_code:
|
if not language_code:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue