Merge branch 'master' of https://tyounglightsys.visualstudio.com/DefaultCollection/_git/EduNetworkBuilder
This commit is contained in:
commit
86cefb145c
@ -68,7 +68,7 @@ namespace EduNetworkBuilder
|
|||||||
if (theNet.ItemIsCritical(OriginalItem.hostname))
|
if (theNet.ItemIsCritical(OriginalItem.hostname))
|
||||||
{
|
{
|
||||||
tbHostname.Enabled = false;
|
tbHostname.Enabled = false;
|
||||||
mytooltips.SetToolTip(tbHostname, "This item is part of the puzzle and cannot be renamed.");
|
mytooltips.SetToolTip(tbHostname, NB.Translate("DC_UpdateFormNoRename"));
|
||||||
}
|
}
|
||||||
if (processing) return;
|
if (processing) return;
|
||||||
processing = true;
|
processing = true;
|
||||||
@ -249,12 +249,12 @@ namespace EduNetworkBuilder
|
|||||||
{
|
{
|
||||||
//we need to choose a type:
|
//we need to choose a type:
|
||||||
Form QuestionForm = new Form();
|
Form QuestionForm = new Form();
|
||||||
QuestionForm.Text = "Network Card to Add";
|
QuestionForm.Text = NB.Translate("DC_UpdateFormAdd");
|
||||||
QuestionForm.Icon = Properties.Resources.NBIco;
|
QuestionForm.Icon = Properties.Resources.NBIco;
|
||||||
|
|
||||||
Label lblText = new Label();
|
Label lblText = new Label();
|
||||||
lblText.Location = new Point(5, 5);
|
lblText.Location = new Point(5, 5);
|
||||||
lblText.Text = "Choose a type:";
|
lblText.Text = "DC_UpdateFormChoose:";
|
||||||
|
|
||||||
ComboBox cbQuestions = new ComboBox();
|
ComboBox cbQuestions = new ComboBox();
|
||||||
cbQuestions.Location = new Point(lblText.Location.X + lblText.Width + 5, lblText.Location.Y);
|
cbQuestions.Location = new Point(lblText.Location.X + lblText.Width + 5, lblText.Location.Y);
|
||||||
@ -271,7 +271,7 @@ namespace EduNetworkBuilder
|
|||||||
|
|
||||||
Button btnAccept = new Button();
|
Button btnAccept = new Button();
|
||||||
btnAccept.Location = new Point(cbQuestions.Location.X, cbQuestions.Location.Y + cbQuestions.Height + 10);
|
btnAccept.Location = new Point(cbQuestions.Location.X, cbQuestions.Location.Y + cbQuestions.Height + 10);
|
||||||
btnAccept.Text = "Add";
|
btnAccept.Text = "DC_UpdateForm+";
|
||||||
btnAccept.Click += (s, g) => { Button b = (Button)s; Form f = (Form)b.Parent; f.Close(); };
|
btnAccept.Click += (s, g) => { Button b = (Button)s; Form f = (Form)b.Parent; f.Close(); };
|
||||||
|
|
||||||
QuestionForm.Controls.Add(lblText);
|
QuestionForm.Controls.Add(lblText);
|
||||||
@ -335,10 +335,10 @@ namespace EduNetworkBuilder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
MessageBox.Show("You cannot delete the sole remaining interface.");
|
MessageBox.Show(NB.Translate("DC_UpdateFormNoDel"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
MessageBox.Show("Please select an interface to delete.");
|
MessageBox.Show(NB.Translate("DC_UpdateFormSelectDel"));
|
||||||
UpdateForm();
|
UpdateForm();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -777,72 +777,96 @@
|
|||||||
<data name="H_WirelessSSID_Title" xml:space="preserve">
|
<data name="H_WirelessSSID_Title" xml:space="preserve">
|
||||||
<value>Wireless SSID</value>
|
<value>Wireless SSID</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="DC_UpdateForm+" xml:space="preserve">
|
||||||
|
<value>Add</value>
|
||||||
|
<comment>DeviceConfig UpdateForm+ = Add</comment>
|
||||||
|
</data>
|
||||||
|
<data name="DC_UpdateFormAdd" xml:space="preserve">
|
||||||
|
<value>Network Card to Add</value>
|
||||||
|
<comment>DeviceConfig UpdateFormAdd = Network Card to Add</comment>
|
||||||
|
</data>
|
||||||
|
<data name="DC_UpdateFormChoose" xml:space="preserve">
|
||||||
|
<value>Choose a type</value>
|
||||||
|
<comment>DeviceConfig UpdateFormChoose = Chose a type</comment>
|
||||||
|
</data>
|
||||||
|
<data name="DC_UpdateFormNoDel" xml:space="preserve">
|
||||||
|
<value>You cannot delete the sole remaining interface.</value>
|
||||||
|
<comment>DeviceConfig UpdateFormNoDel = You cannot delete the sole remaining interface.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="DC_UpdateFormNoRename" xml:space="preserve">
|
||||||
|
<value>This item is part of the puzzle and cannot be renamed.</value>
|
||||||
|
<comment>DeviceConfig UpdateFormNoRename = This item is part of the puzzle and cannot be renamed.</comment>
|
||||||
|
</data>
|
||||||
|
<data name="DC_UpdateFormSelectDel" xml:space="preserve">
|
||||||
|
<value>Please select an interface to delete.</value>
|
||||||
|
<comment>DeviceConfig UpdateFormSelect Del = Please select an interface to delete.</comment>
|
||||||
|
</data>
|
||||||
<data name="ND_DoInputFromLink_CardFail1" xml:space="preserve">
|
<data name="ND_DoInputFromLink_CardFail1" xml:space="preserve">
|
||||||
<value>The packet failed to hit a Card. We should not be here!</value>
|
<value>The packet failed to hit a Card. We should not be here!</value>
|
||||||
<comment>ND_DoInputFromLink_CardFail1 = The packet failed to hit a Card. We should not be here!</comment>
|
<comment>Network Device DoInputFromLink CardFail1 = The packet failed to hit a Card. We should not be here!</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_ArpReached1" xml:space="preserve">
|
<data name="ND_ProcessArrival_ArpReached1" xml:space="preserve">
|
||||||
<value>Success! The arp request reached the destination.</value>
|
<value>Success! The arp request reached the destination.</value>
|
||||||
<comment>ND_ProcessArrival_ArpReached1 = Success! The arp request reached the destination.</comment>
|
<comment>Network Device ProcessArrival ArpReached1 = Success! The arp request reached the destination.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_Arrived" xml:space="preserve">
|
<data name="ND_ProcessArrival_Arrived" xml:space="preserve">
|
||||||
<value>Arrived at the tunnel endpoint.</value>
|
<value>Arrived at the tunnel endpoint.</value>
|
||||||
<comment>ND_ProcessArrival_Arrived = Arrived at the tunnel endpoint.</comment>
|
<comment>Network Device ProcessArrival_Arrived = Arrived at the tunnel endpoint.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_CommingOut" xml:space="preserve">
|
<data name="ND_ProcessArrival_CommingOut" xml:space="preserve">
|
||||||
<value>Packet coming out from tunnel.</value>
|
<value>Packet coming out from tunnel.</value>
|
||||||
<comment>ND_ProcessArrival_CommingOut = Packet coming out from tunnel.</comment>
|
<comment>Network Device ProcessArrival CommingOut = Packet coming out from tunnel.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_DHCPReach1" xml:space="preserve">
|
<data name="ND_ProcessArrival_DHCPReach1" xml:space="preserve">
|
||||||
<value>Success! The DHCP request reached a DHCP Server.</value>
|
<value>Success! The DHCP request reached a DHCP Server.</value>
|
||||||
<comment>ND_ProcessArrival_DHCPReach1 = Success! The DHCP request reached a DHCP Server.</comment>
|
<comment>Network Device ProcessArrival DHCPReach1 = Success! The DHCP request reached a DHCP Server.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_EncryptErr1" xml:space="preserve">
|
<data name="ND_ProcessArrival_EncryptErr1" xml:space="preserve">
|
||||||
<value>Encryption failed. Unable to decrypt. Packet dropped.</value>
|
<value>Encryption failed. Unable to decrypt. Packet dropped.</value>
|
||||||
<comment>ND_ProcessArrival_EncryptErr1 = Encryption failed. Unable to decrypt. Packet dropped.</comment>
|
<comment>Network Device ProcessArrival EncryptErr1 = Encryption failed. Unable to decrypt. Packet dropped.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_EncryptErr2" xml:space="preserve">
|
<data name="ND_ProcessArrival_EncryptErr2" xml:space="preserve">
|
||||||
<value>Encryption key mismatch. Packet dropped.</value>
|
<value>Encryption key mismatch. Packet dropped.</value>
|
||||||
<comment>ND_ProcessArrival_EncryptErr2 = Encryption key mismatch. Packet dropped.</comment>
|
<comment>Network Device ProcessArrival EncryptErr2 = Encryption key mismatch. Packet dropped.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_IPError1" xml:space="preserve">
|
<data name="ND_ProcessArrival_IPError1" xml:space="preserve">
|
||||||
<value>No VPN nic to recieve packet. Check VPN IP</value>
|
<value>No VPN nic to recieve packet. Check VPN IP</value>
|
||||||
<comment>ND_ProcessArrival_IPError1 = No VPN nic to recieve packet. Check VPN IP</comment>
|
<comment>Network Device ProcessArrival IPError1 = No VPN nic to recieve packet. Check VPN IP</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_IPError2" xml:space="preserve">
|
<data name="ND_ProcessArrival_IPError2" xml:space="preserve">
|
||||||
<value>No corresponding IP on vpn. Packet dropped.</value>
|
<value>No corresponding IP on vpn. Packet dropped.</value>
|
||||||
<comment>ND_ProcessArrival_IPError2 = No corresponding IP on vpn. Packet dropped.</comment>
|
<comment>Network Device ProcessArrival IPError2 = No corresponding IP on vpn. Packet dropped.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_PackReturnErr1" xml:space="preserve">
|
<data name="ND_ProcessArrival_PackReturnErr1" xml:space="preserve">
|
||||||
<value>ERROR! A packet returned to a machine that we were not expecting it from.</value>
|
<value>ERROR! A packet returned to a machine that we were not expecting it from.</value>
|
||||||
<comment>ND_ProcessArrival_PackReturnErr1 = ERROR! A packet returned to a machine that we were not expecting it from.</comment>
|
<comment>Network Device ProcessArrival PackReturnErr1 = ERROR! A packet returned to a machine that we were not expecting it from.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_PingErr1" xml:space="preserve">
|
<data name="ND_ProcessArrival_PingErr1" xml:space="preserve">
|
||||||
<value>The broadcast ping reached a destination that was not on the same network</value>
|
<value>The broadcast ping reached a destination that was not on the same network</value>
|
||||||
<comment>ND_ProcessArrival_PingErr1 = The broadcast ping reached a destination that was not on the same network</comment>
|
<comment>Network Device ProcessArrival PingErr1 = The broadcast ping reached a destination that was not on the same network</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_PingReached1" xml:space="preserve">
|
<data name="ND_ProcessArrival_PingReached1" xml:space="preserve">
|
||||||
<value>Success! The ping reached the destination.</value>
|
<value>Success! The ping reached the destination.</value>
|
||||||
<comment>ND_ProcessArrival_Success1 = Success! The ping reached the destination.</comment>
|
<comment>Network Device ProcessArrival Success1 = Success! The ping reached the destination.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_PingReturn1" xml:space="preserve">
|
<data name="ND_ProcessArrival_PingReturn1" xml:space="preserve">
|
||||||
<value>Success! The ping returned from its destination.</value>
|
<value>Success! The ping returned from its destination.</value>
|
||||||
<comment>ND_ProcessArrival_PingReturn1 = Success! The ping returned from its destination.</comment>
|
<comment>Network Device ProcessArrival PingReturn1 = Success! The ping returned from its destination.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_VPNNicErr1" xml:space="preserve">
|
<data name="ND_ProcessArrival_VPNNicErr1" xml:space="preserve">
|
||||||
<value>No VPN nic to recieve packet. Check VPN IP</value>
|
<value>No VPN nic to recieve packet. Check VPN IP</value>
|
||||||
<comment>ND_ProcessArrival_VPNNicErr1 = No VPN nic to recieve packet. Check VPN IP</comment>
|
<comment>Network Device ProcessArrival VPNNicErr1 = No VPN nic to recieve packet. Check VPN IP</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_ProcessArrival_VPNNicErr2" xml:space="preserve">
|
<data name="ND_ProcessArrival_VPNNicErr2" xml:space="preserve">
|
||||||
<value>No corresponding IP on vpn. Packet dropped.</value>
|
<value>No corresponding IP on vpn. Packet dropped.</value>
|
||||||
<comment>ND_ProcessArrival_VPNNicErr2 = No corresponding IP on vpn. Packet dropped.</comment>
|
<comment>Network Device ProcessArrival VPNNicErr2 = No corresponding IP on vpn. Packet dropped.</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_TunnelPacketFromHere_Error" xml:space="preserve">
|
<data name="ND_TunnelPacketFromHere_Error" xml:space="preserve">
|
||||||
<value>Packet sent out tunnel but no endpoint set. Dropping</value>
|
<value>Packet sent out tunnel but no endpoint set. Dropping</value>
|
||||||
<comment>ND_TunnelPacketFromHere_Error = Packet sent out tunnel but no endpoint set. Dropping</comment>
|
<comment>Network Device TunnelPacketFromHere Error = Packet sent out tunnel but no endpoint set. Dropping</comment>
|
||||||
</data>
|
</data>
|
||||||
<data name="ND_TunnelPacketFromHere_Message" xml:space="preserve">
|
<data name="ND_TunnelPacketFromHere_Message" xml:space="preserve">
|
||||||
<value>Packet going into tunnel.</value>
|
<value>Packet going into tunnel.</value>
|
||||||
<comment>ND_TunnelPacketFromHere_Message = Packet going into tunnel.</comment>
|
<comment>Network Device TunnelPacketFromHere Message = Packet going into tunnel.</comment>
|
||||||
</data>
|
</data>
|
||||||
</root>
|
</root>
|
Loading…
Reference in New Issue
Block a user