dialogs/ActionBlockDialog.py
changeset 1762 fcc406143e5b
parent 1745 f9d32913bad4
child 1768 691083b5682a
equal deleted inserted replaced
1761:8c98bad90b8d 1762:fcc406143e5b
    27 import wx.lib.buttons
    27 import wx.lib.buttons
    28 
    28 
    29 from controls import CustomGrid, CustomTable
    29 from controls import CustomGrid, CustomTable
    30 from util.BitmapLibrary import GetBitmap
    30 from util.BitmapLibrary import GetBitmap
    31 from PLCControler import _ActionInfos
    31 from PLCControler import _ActionInfos
    32 
    32 from util.TranslationCatalogs import NoTranslate
    33 #-------------------------------------------------------------------------------
    33 #-------------------------------------------------------------------------------
    34 #                                  Helpers
    34 #                                  Helpers
    35 #-------------------------------------------------------------------------------
    35 #-------------------------------------------------------------------------------
    36 
    36 
    37 
    37 
    38 def GetActionTableColnames():
    38 def GetActionTableColnames():
    39     _ = lambda x: x
    39     _ = NoTranslate
    40     return [_("Qualifier"), _("Duration"), _("Type"), _("Value"), _("Indicator")]
    40     return [_("Qualifier"), _("Duration"), _("Type"), _("Value"), _("Indicator")]
    41 
    41 
    42 
    42 
    43 def GetTypeList():
    43 def GetTypeList():
    44     _ = lambda x: x
    44     _ = NoTranslate
    45     return [_("Action"), _("Variable"), _("Inline")]
    45     return [_("Action"), _("Variable"), _("Inline")]
    46 
    46 
    47 #-------------------------------------------------------------------------------
    47 #-------------------------------------------------------------------------------
    48 #                               Action Table
    48 #                               Action Table
    49 #-------------------------------------------------------------------------------
    49 #-------------------------------------------------------------------------------