Fix description of menu entry for adding sub ConfNode to ConfNode in Project Tree
authorlaurent
Mon, 01 Oct 2012 19:09:40 +0200
changeset 843 7e6fb43804a8
parent 842 3c4c1e076a34
child 844 ec9e6ef49878
Fix description of menu entry for adding sub ConfNode to ConfNode in Project Tree
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()