Deprecated function

main
Bob Mottram 2023-11-01 20:34:28 +00:00
parent af2e115f1d
commit 9f445a935f
1 changed files with 1 additions and 1 deletions

View File

@ -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: