Merge branch 'main' into issue769_handles_on_windows

This commit is contained in:
Veronica Berglyd Olsen
2021-05-06 22:05:34 +02:00
committed by GitHub
5 changed files with 22 additions and 10 deletions
+1 -1
View File
@@ -391,7 +391,7 @@ class Config:
lngFile = "%s_%s" % (lngBase, lngCode.replace("-", "_"))
if lngFile not in self.qtTrans:
if qTrans.load(lngFile, lngPath):
logger.debug("Loaded: %s" % qTrans.filePath())
logger.debug("Loaded: %s" % os.path.join(lngPath, lngFile))
nwApp.installTranslator(qTrans)
self.qtTrans[lngFile] = qTrans