mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-23 13:15:36 -04:00
Merge f0b9001cb0
into 2cee0508d1
This commit is contained in:
commit
add0325e36
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