diff --git a/EduNetworkBuilder/NetworkBuilder.cs b/EduNetworkBuilder/NetworkBuilder.cs index b4df4ac..685a2fd 100644 --- a/EduNetworkBuilder/NetworkBuilder.cs +++ b/EduNetworkBuilder/NetworkBuilder.cs @@ -669,7 +669,7 @@ namespace EduNetworkBuilder bool todo = true; if (ItemClickedOn == null) return; //we do not have something chosen to ping from IPAddress destination = new IPAddress(NB.ZeroIPString, NB.ZeroIPString, IPAddressType.ip_only); - todo = destination.Edit(ItemClickedOn, NB.Translate("NB_NetViewPng")); + todo = destination.Edit(ItemClickedOn, NB.Translate("_Ping")); if(todo) { ItemClickedOn.PingFromHere(destination); @@ -696,7 +696,7 @@ namespace EduNetworkBuilder if (ItemClickedOn == null) return; //we do not have something chosen to ping from ToolStripMenuItem Pressed = (ToolStripMenuItem)sender; string itemname = Pressed.Text; - string dest = Regex.Replace(itemname, NB.Translate("H_ARP_Title "), ""); + string dest = Regex.Replace(itemname, NB.Translate("H_ARP_Title")+" ", ""); IPAddress destination; destination = myNetwork.DNSLookup(ItemClickedOn, dest); if (destination == null || destination.GetIPString == NB.ZeroIPString)