editors/DataTypeEditor.py
changeset 1762 fcc406143e5b
parent 1754 63f4af6bf6d9
child 1768 691083b5682a
--- a/editors/DataTypeEditor.py	Thu Aug 17 10:12:04 2017 +0300
+++ b/editors/DataTypeEditor.py	Thu Aug 17 11:39:10 2017 +0300
@@ -35,6 +35,7 @@
 from dialogs import ArrayTypeDialog
 from EditorPanel import EditorPanel
 from util.BitmapLibrary import GetBitmap
+from util.TranslationCatalogs import NoTranslate
 
 #-------------------------------------------------------------------------------
 #                                    Helpers
@@ -48,12 +49,12 @@
 
 
 def GetElementsTableColnames():
-    _ = lambda x: x
+    _ = NoTranslate
     return ["#", _("Name"), _("Type"), _("Initial Value")]
 
 
 def GetDatatypeTypes():
-    _ = lambda x: x
+    _ = NoTranslate
     return [_("Directly"), _("Subrange"), _("Enumerated"), _("Array"), _("Structure")]