Fix 3350 (#3358)
This commit is contained in:
parent
00e87eb15f
commit
a3fc658c90
|
|
@ -21,8 +21,8 @@ class LocaleConfiguration:
|
||||||
def default() -> 'LocaleConfiguration':
|
def default() -> 'LocaleConfiguration':
|
||||||
layout = get_kb_layout()
|
layout = get_kb_layout()
|
||||||
if layout == "":
|
if layout == "":
|
||||||
return LocaleConfiguration('us', 'en_US', 'UTF-8')
|
layout = 'us'
|
||||||
return LocaleConfiguration(layout, 'en_US', 'UTF-8')
|
return LocaleConfiguration(layout, 'en_US.UTF-8', 'UTF-8')
|
||||||
|
|
||||||
def json(self) -> dict[str, str]:
|
def json(self) -> dict[str, str]:
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue