beremiz

Parents 3c4c1e076a34
Children ec9e6ef49878
Fix description of menu entry for adding sub ConfNode to ConfNode in Project Tree
  • +1 -1
    Beremiz.py
  • --- a/Beremiz.py Sun Sep 23 23:56:53 2012 +0200
    +++ b/Beremiz.py Mon Oct 01 19:09:40 2012 +0200
    @@ -931,7 +931,7 @@
    if confnode is not None and len(confnode.CTNChildrenTypes) > 0:
    for name, XSDClass, help in confnode.CTNChildrenTypes:
    new_id = wx.NewId()
    - confnode_menu.Append(help=help, id=new_id, kind=wx.ITEM_NORMAL, text=name)
    + confnode_menu.Append(help=help, id=new_id, kind=wx.ITEM_NORMAL, text=_("Add") + " " + name)
    self.Bind(wx.EVT_MENU, self.GetAddConfNodeFunction(name, confnode), id=new_id)
    new_id = wx.NewId()