Minor changes to translate stuff
This commit is contained in:
parent
e772f05dd1
commit
25f89495c3
@ -544,12 +544,12 @@ namespace EduNetworkBuilder
|
||||
{
|
||||
foreach (string tStr in myNetwork.GetIncompleteTestDestinations(ReleasedOn.hostname, true))
|
||||
{
|
||||
pbNetworkView.ContextMenuStrip.Items.Add("Ping " + tStr);
|
||||
pbNetworkView.ContextMenuStrip.Items.Add(string.Format("Ping {0}",tStr));
|
||||
pbNetworkView.ContextMenuStrip.Items[index++].Click += pbNetworkView_Ping_Name_Click;
|
||||
}
|
||||
foreach (string tStr in myNetwork.GetIncompleteTestDestinations(ReleasedOn.hostname, false))
|
||||
{
|
||||
pbNetworkView.ContextMenuStrip.Items.Add("Arp " + tStr);
|
||||
pbNetworkView.ContextMenuStrip.Items.Add(string.Format("Arp {0}", tStr));
|
||||
pbNetworkView.ContextMenuStrip.Items[index++].Click += pbNetworkView_Arp_Name_Click;
|
||||
}
|
||||
}
|
||||
@ -581,12 +581,12 @@ namespace EduNetworkBuilder
|
||||
ItemClickedOn = ReleasedOn;
|
||||
if(ReleasedOn.HasDHCPNic())
|
||||
{
|
||||
pbNetworkView.ContextMenuStrip.Items.Add("NB_NetViewDHCP");
|
||||
pbNetworkView.ContextMenuStrip.Items.Add(NB.Translate("NB_NetViewDHCP"));
|
||||
pbNetworkView.ContextMenuStrip.Items[index++].Click += pbNetworkView_DHCPRequest_Click;
|
||||
}
|
||||
foreach (string host in ReleasedOn.ListOfConnectedHosts())
|
||||
{
|
||||
pbNetworkView.ContextMenuStrip.Items.Add("Remove Link To " + host);
|
||||
pbNetworkView.ContextMenuStrip.Items.Add(string.Format("Remove Link To {0}", host));
|
||||
pbNetworkView.ContextMenuStrip.Items[index++].Click += pbNetworkView_RemoveLink_Click;
|
||||
}
|
||||
}
|
||||
@ -901,7 +901,7 @@ namespace EduNetworkBuilder
|
||||
if (result == System.Windows.Forms.DialogResult.Cancel) return;
|
||||
if(!Regex.IsMatch(mydialog.FileName,@"^.*.enbx$"))
|
||||
{
|
||||
MessageBox.Show("NB_LoadToolStripMenuItemErr");
|
||||
MessageBox.Show(NB.Translate("NB_LoadToolStripMenuItemErr"));
|
||||
return;
|
||||
}
|
||||
LastPath = mydialog.FileName;
|
||||
|
Loading…
Reference in New Issue
Block a user