mirror of https://gitlab.com/bashrc2/epicyon
Deprecated function
parent
af2e115f1d
commit
9f445a935f
2
utils.py
2
utils.py
|
@ -3440,7 +3440,7 @@ def load_translations_from_file(base_dir: str, language: str) -> ({}, str):
|
|||
print('ERROR: translations directory not found')
|
||||
return None, None
|
||||
if not language:
|
||||
system_language = locale.getdefaultlocale()[0]
|
||||
system_language = locale.getlocale()[0]
|
||||
else:
|
||||
system_language = language
|
||||
if not system_language:
|
||||
|
|
Loading…
Reference in New Issue