--- a/Beremiz_service.py Thu Sep 27 19:07:57 2018 +0300
+++ b/Beremiz_service.py Fri Sep 28 12:54:14 2018 +0300
@@ -163,7 +163,9 @@
loc = __builtin__.__dict__.get('loc', None)
+ wx.LogGui.EnableLogging(False) + wx.LogGui.EnableLogging(True) __builtin__.__dict__['loc'] = loc
# Define location for searching translation files
loc.AddCatalogLookupPathPrefix(localedir)
--- a/util/TranslationCatalogs.py Thu Sep 27 19:07:57 2018 +0300
+++ b/util/TranslationCatalogs.py Fri Sep 28 12:54:14 2018 +0300
@@ -55,7 +55,9 @@
+ wx.LogGui.EnableLogging(False) locale = wx.Locale(wx.LANGUAGE_DEFAULT)
+ wx.LogGui.EnableLogging(True) locale.AddCatalogLookupPathPrefix(locale_dir)
locale.AddCatalog(domain)