plcopen/definitions.py
changeset 1762 fcc406143e5b
parent 1749 d73b64672238
child 1782 5b6ad7a7fd9d
--- a/plcopen/definitions.py	Thu Aug 17 10:12:04 2017 +0300
+++ b/plcopen/definitions.py	Thu Aug 17 11:39:10 2017 +0300
@@ -26,12 +26,13 @@
 
 from os.path import join, split, realpath
 import util.paths as paths
+from util.TranslationCatalogs import NoTranslate
 sd = paths.AbsDir(__file__)
 
 # Override gettext _ in this module
 # since we just want string to be added to dictionnary
 # but translation should happen here
-_ = lambda x: x
+_ = NoTranslate
 
 LANGUAGES = ["IL", "ST", "FBD", "LD", "SFC"]