dialogs/BrowseLocationsDialog.py
changeset 1762 fcc406143e5b
parent 1749 d73b64672238
child 1766 c1e5b9f19483
--- a/dialogs/BrowseLocationsDialog.py	Thu Aug 17 10:12:04 2017 +0300
+++ b/dialogs/BrowseLocationsDialog.py	Thu Aug 17 11:39:10 2017 +0300
@@ -30,6 +30,7 @@
 from plcopen.structures import LOCATIONDATATYPES
 from PLCControler import LOCATION_CONFNODE, LOCATION_MODULE, LOCATION_GROUP, LOCATION_VAR_INPUT, LOCATION_VAR_OUTPUT, LOCATION_VAR_MEMORY
 from util.BitmapLibrary import GetBitmap
+from util.TranslationCatalogs import NoTranslate
 
 #-------------------------------------------------------------------------------
 #                                   Helpers
@@ -37,7 +38,7 @@
 
 
 def GetDirFilterChoiceOptions():
-    _ = lambda x: x
+    _ = NoTranslate
     return [(_("All"), [LOCATION_VAR_INPUT, LOCATION_VAR_OUTPUT, LOCATION_VAR_MEMORY]),
             (_("Input"), [LOCATION_VAR_INPUT]),
             (_("Output"), [LOCATION_VAR_OUTPUT]),
@@ -48,7 +49,7 @@
 
 
 def GetTypeFilterChoiceOptions():
-    _ = lambda x: x
+    _ = NoTranslate
     return [_("All"),
             _("Type and derivated"),
             _("Type strict")]