PLCOpenEditor.py
changeset 560 3757f0de0d07
parent 559 984c51d1bf6b
child 562 0ce12552cf36
equal deleted inserted replaced
559:984c51d1bf6b 560:3757f0de0d07
   319               kind=wx.ITEM_NORMAL, text=_(u'Undo\tCTRL+Z'))
   319               kind=wx.ITEM_NORMAL, text=_(u'Undo\tCTRL+Z'))
   320         AppendMenu(parent, help='', id=wx.ID_REDO,
   320         AppendMenu(parent, help='', id=wx.ID_REDO,
   321               kind=wx.ITEM_NORMAL, text=_(u'Redo\tCTRL+Y'))
   321               kind=wx.ITEM_NORMAL, text=_(u'Redo\tCTRL+Y'))
   322         #AppendMenu(parent, help='', id=ID_PLCOPENEDITOREDITMENUENABLEUNDOREDO,
   322         #AppendMenu(parent, help='', id=ID_PLCOPENEDITOREDITMENUENABLEUNDOREDO,
   323         #      kind=wx.ITEM_CHECK, text=_(u'Enable Undo/Redo'))
   323         #      kind=wx.ITEM_CHECK, text=_(u'Enable Undo/Redo'))
       
   324         enable_undo_redo = _(u'Enable Undo/Redo') # Keeping text in translations for possible menu reactivation
   324         parent.AppendSeparator()
   325         parent.AppendSeparator()
   325         AppendMenu(parent, help='', id=wx.ID_CUT,
   326         AppendMenu(parent, help='', id=wx.ID_CUT,
   326               kind=wx.ITEM_NORMAL, text=_(u'Cut\tCTRL+X'))
   327               kind=wx.ITEM_NORMAL, text=_(u'Cut\tCTRL+X'))
   327         AppendMenu(parent, help='', id=wx.ID_COPY,
   328         AppendMenu(parent, help='', id=wx.ID_COPY,
   328               kind=wx.ITEM_NORMAL, text=_(u'Copy\tCTRL+C'))
   329               kind=wx.ITEM_NORMAL, text=_(u'Copy\tCTRL+C'))