Update schema and db_update to support translations.

(language setting from preferences is borked for some reason)
This commit is contained in:
blitzmann
2020-06-24 22:52:12 -04:00
parent 92ecd8c844
commit c040ff26c0
13 changed files with 89 additions and 40 deletions

View File

@@ -184,7 +184,7 @@ def defPaths(customSavePath=None):
# saveddata db location modifier, shouldn't ever need to touch this
eos.config.saveddata_connectionstring = "sqlite:///" + saveDB + "?check_same_thread=False"
eos.config.gamedata_connectionstring = "sqlite:///" + gameDB + "?check_same_thread=False"
eos.config.lang = language or eos.config.lang
eos.config.set_lang(language)
# initialize the settings
from service.settings import EOSSettings