util/TranslationCatalogs.py
changeset 2349 645eb1bce0a5
parent 1881 091005ec69c4
child 2431 6923074540dd
--- 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 @@
             global locale
             if locale is None:
                 # Define locale for wx
+                wx.LogGui.EnableLogging(False)
                 locale = wx.Locale(wx.LANGUAGE_DEFAULT)
+                wx.LogGui.EnableLogging(True)
 
             locale.AddCatalogLookupPathPrefix(locale_dir)
             locale.AddCatalog(domain)