|
|
@ -731,3 +731,9 @@ class fillVars(varsShare):
|
|
|
|
if path.exists(timezonefile):
|
|
|
|
if path.exists(timezonefile):
|
|
|
|
return open(timezonefile,"r").read().strip()
|
|
|
|
return open(timezonefile,"r").read().strip()
|
|
|
|
return "UTC"
|
|
|
|
return "UTC"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_os_lang(self):
|
|
|
|
|
|
|
|
"""Supported languages"""
|
|
|
|
|
|
|
|
return list(sorted(list(set(clLocale().getLangs()) &
|
|
|
|
|
|
|
|
set(["en_US","de_DE","es_ES","fr_FR","it_IT","pl_PL","pt_BR",
|
|
|
|
|
|
|
|
"uk_UA","bg_BG","ru_RU","ro_RO","pt_PT"]))))
|
|
|
|