Translation Edits DeviceConfig Done

This commit is contained in:
Peter Wilson 2015-11-16 14:04:48 -06:00
parent efb731dd3f
commit d9436a1958
2 changed files with 47 additions and 23 deletions

View File

@ -68,7 +68,7 @@ namespace EduNetworkBuilder
if (theNet.ItemIsCritical(OriginalItem.hostname))
{
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;
processing = true;
@ -249,12 +249,12 @@ namespace EduNetworkBuilder
{
//we need to choose a type:
Form QuestionForm = new Form();
QuestionForm.Text = "Network Card to Add";
QuestionForm.Text = NB.Translate("DC_UpdateFormAdd");
QuestionForm.Icon = Properties.Resources.NBIco;
Label lblText = new Label();
lblText.Location = new Point(5, 5);
lblText.Text = "Choose a type:";
lblText.Text = "DC_UpdateFormChoose:";
ComboBox cbQuestions = new ComboBox();
cbQuestions.Location = new Point(lblText.Location.X + lblText.Width + 5, lblText.Location.Y);
@ -271,7 +271,7 @@ namespace EduNetworkBuilder
Button btnAccept = new Button();
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(); };
QuestionForm.Controls.Add(lblText);
@ -335,10 +335,10 @@ namespace EduNetworkBuilder
}
}
else
MessageBox.Show("You cannot delete the sole remaining interface.");
MessageBox.Show(NB.Translate("DC_UpdateFormNoDel"));
}
else
MessageBox.Show("Please select an interface to delete.");
MessageBox.Show(NB.Translate("DC_UpdateFormSelectDel"));
UpdateForm();
}

View File

@ -777,72 +777,96 @@
<data name="H_WirelessSSID_Title" xml:space="preserve">
<value>Wireless SSID</value>
</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">
<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 name="ND_ProcessArrival_ArpReached1" xml:space="preserve">
<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 name="ND_ProcessArrival_Arrived" xml:space="preserve">
<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 name="ND_ProcessArrival_CommingOut" xml:space="preserve">
<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 name="ND_ProcessArrival_DHCPReach1" xml:space="preserve">
<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 name="ND_ProcessArrival_EncryptErr1" xml:space="preserve">
<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 name="ND_ProcessArrival_EncryptErr2" xml:space="preserve">
<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 name="ND_ProcessArrival_IPError1" xml:space="preserve">
<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 name="ND_ProcessArrival_IPError2" xml:space="preserve">
<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 name="ND_ProcessArrival_PackReturnErr1" xml:space="preserve">
<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 name="ND_ProcessArrival_PingErr1" xml:space="preserve">
<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 name="ND_ProcessArrival_PingReached1" xml:space="preserve">
<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 name="ND_ProcessArrival_PingReturn1" xml:space="preserve">
<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 name="ND_ProcessArrival_VPNNicErr1" xml:space="preserve">
<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 name="ND_ProcessArrival_VPNNicErr2" xml:space="preserve">
<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 name="ND_TunnelPacketFromHere_Error" xml:space="preserve">
<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 name="ND_TunnelPacketFromHere_Message" xml:space="preserve">
<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>
</root>