# HG changeset patch # User Laurent Bessard # Date 1361382328 -3600 # Node ID 45982ef9370bb41f32688f303a64d19ddedf653a # Parent 06e42e229dd651c4875832c2d6ea8f16c3234908 Disabled internationalization diff -r 06e42e229dd6 -r 45982ef9370b LPCManager.py --- a/LPCManager.py Thu Oct 04 18:02:50 2012 +0200 +++ b/LPCManager.py Wed Feb 20 18:45:28 2013 +0100 @@ -55,15 +55,15 @@ _base_folder = os.path.split(sys.path[0])[0] sys.path.append(os.path.join(_base_folder, "beremiz")) -from util.TranslationCatalogs import AddCatalog, locale +from util.TranslationCatalogs import AddCatalog AddCatalog(os.path.join(CWD, "locale")) if __name__ == '__main__': # Import module for internationalization import gettext - __builtin__.__dict__['loc'] = locale - __builtin__.__dict__['_'] = wx.GetTranslation + #__builtin__.__dict__['_'] = wx.GetTranslation + __builtin__.__dict__['_'] = lambda x: x _base_path = os.path.split(__file__)[0] import features @@ -1814,8 +1814,8 @@ if idx != -1: line = self.Buffer[:idx+1] self.Buffer = self.Buffer[idx+1:] - if BMZ_DBG: - print "command >"+line + if True:#BMZ_DBG: + print "command >"+line+str(len(line)) return line return ""