editors/CodeFileEditor.py
changeset 1762 fcc406143e5b
parent 1748 ba5f64fe0e00
child 1766 c1e5b9f19483
--- a/editors/CodeFileEditor.py	Thu Aug 17 10:12:04 2017 +0300
+++ b/editors/CodeFileEditor.py	Thu Aug 17 11:39:10 2017 +0300
@@ -37,6 +37,7 @@
 from controls.CustomStyledTextCtrl import CustomStyledTextCtrl, faces, GetCursorPos, NAVIGATION_KEYS
 from controls.VariablePanel import VARIABLE_NAME_SUFFIX_MODEL
 from graphics.GraphicCommons import ERROR_HIGHLIGHT, SEARCH_RESULT_HIGHLIGHT, REFRESH_HIGHLIGHT_PERIOD
+from util.TranslationCatalogs import NoTranslate
 
 [STC_CODE_ERROR, STC_CODE_SEARCH_RESULT,
  STC_CODE_SECTION] = range(15, 18)
@@ -740,7 +741,7 @@
         self.Table.ResetView(self.VariablesGrid)
 
     def GetVariableTableColnames(self):
-        _ = lambda x: x
+        _ = NoTranslate
     	return ["#", _("Name"), _("Type"), _("Initial"), _("Description"), _("OnChange"), _("Options")]
 
     def RefreshModel(self):