mirror of https://gitlab.com/bashrc2/epicyon
Default language if none is discovered
parent
2921f58a9a
commit
5f7b8d383c
|
@ -4438,6 +4438,8 @@ def runDaemon(language: str,projectVersion: str, \
|
||||||
systemLanguage=locale.getdefaultlocale()[0]
|
systemLanguage=locale.getdefaultlocale()[0]
|
||||||
else:
|
else:
|
||||||
systemLanguage=language
|
systemLanguage=language
|
||||||
|
if not systemLanguage:
|
||||||
|
systemLanguage='en'
|
||||||
if '_' in systemLanguage:
|
if '_' in systemLanguage:
|
||||||
systemLanguage=systemLanguage.split('_')[0]
|
systemLanguage=systemLanguage.split('_')[0]
|
||||||
while '/' in systemLanguage:
|
while '/' in systemLanguage:
|
||||||
|
|
Loading…
Reference in New Issue