equal
deleted
inserted
replaced
53 domain = GetDomain(locale_dir) |
53 domain = GetDomain(locale_dir) |
54 if domain is not None: |
54 if domain is not None: |
55 global locale |
55 global locale |
56 if locale is None: |
56 if locale is None: |
57 # Define locale for wx |
57 # Define locale for wx |
|
58 wx.LogGui.EnableLogging(False) |
58 locale = wx.Locale(wx.LANGUAGE_DEFAULT) |
59 locale = wx.Locale(wx.LANGUAGE_DEFAULT) |
|
60 wx.LogGui.EnableLogging(True) |
59 |
61 |
60 locale.AddCatalogLookupPathPrefix(locale_dir) |
62 locale.AddCatalogLookupPathPrefix(locale_dir) |
61 locale.AddCatalog(domain) |
63 locale.AddCatalog(domain) |
62 |
64 |
63 |
65 |