mirror of https://gitlab.com/bashrc2/epicyon
Test for system language
parent
3193963714
commit
55fa97387e
|
@ -15158,6 +15158,9 @@ def runDaemon(sharedItemsFederatedDomains: [],
|
|||
if not unitTest:
|
||||
httpd.translate, httpd.systemLanguage = \
|
||||
loadTranslationsFromFile(baseDir, language)
|
||||
if not httpd.systemLanguage:
|
||||
print('ERROR: no system language loaded')
|
||||
sys.exit()
|
||||
print('System language: ' + httpd.systemLanguage)
|
||||
if not httpd.translate:
|
||||
print('ERROR: no translations were loaded')
|
||||
|
|
Loading…
Reference in New Issue