dialogs/SearchInProjectDialog.py
changeset 1762 fcc406143e5b
parent 1745 f9d32913bad4
child 1768 691083b5682a
--- a/dialogs/SearchInProjectDialog.py	Thu Aug 17 10:12:04 2017 +0300
+++ b/dialogs/SearchInProjectDialog.py	Thu Aug 17 11:39:10 2017 +0300
@@ -24,8 +24,9 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 import re
+import wx
 from plcopen.plcopen import *
-import wx
+from util.TranslationCatalogs import NoTranslate
 
 #-------------------------------------------------------------------------------
 #                          Search In Project Dialog
@@ -33,7 +34,7 @@
 
 
 def GetElementsChoices():
-    _ = lambda x: x
+    _ = NoTranslate
     return [("datatype", _("Data Type")),
             ("function", _("Function")),
             ("functionBlock", _("Function Block")),