--- a/Beremiz.py Mon Nov 28 16:47:01 2016 +0300
+++ b/Beremiz.py Tue Nov 29 11:41:09 2016 +0300
@@ -109,9 +109,13 @@
splash = ShowSplashScreen()
+ # load internatialization files + from util.misc import InstallLocalRessources + InstallLocalRessources(beremiz_dir) if updateinfo_url is not None:
- updateinfo = "Fetching %s" % updateinfo_url
+ updateinfo = _("Fetching %s") % updateinfo_url # warn for possible updates
@@ -119,7 +123,7 @@
updateinfo = urllib2.urlopen(updateinfo_url,None).read()
- updateinfo = "update info unavailable."
+ updateinfo = _("update info unavailable.") from threading import Thread
splash.SetText(text=updateinfo)
@@ -130,9 +134,6 @@
splash.SetText(text=updateinfo)
- from util.misc import InstallLocalRessources
- InstallLocalRessources(beremiz_dir)
for extfilename in extensions:
from util.TranslationCatalogs import AddCatalog