Beremiz.py
changeset 801 435e49e80832
parent 799 6af48f2e42ca
child 807 17c97fec1164
--- a/Beremiz.py	Sat Aug 25 14:49:15 2012 +0200
+++ b/Beremiz.py	Sat Aug 25 14:50:48 2012 +0200
@@ -1033,7 +1033,10 @@
             
     def DeleteConfNode(self, confnode):
         if self.CTR.CheckProjectPathPerm():
-            dialog = wx.MessageDialog(self, _("Really delete confnode ?"), _("Remove confnode"), wx.YES_NO|wx.NO_DEFAULT)
+            dialog = wx.MessageDialog(self, 
+                _("Really delete node '%s'?") % confnode.CTNName(), 
+                _("Remove %s node") % confnode.CTNType, 
+                wx.YES_NO|wx.NO_DEFAULT)
             if dialog.ShowModal() == wx.ID_YES:
                 confnode.CTNRemove()
                 del confnode