diff --git a/EduNetworkBuilder/DeviceConfig.cs b/EduNetworkBuilder/DeviceConfig.cs
index 7f632df..a55ac8a 100644
--- a/EduNetworkBuilder/DeviceConfig.cs
+++ b/EduNetworkBuilder/DeviceConfig.cs
@@ -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();
}
diff --git a/EduNetworkBuilder/Resources/languages/edustrings.resx b/EduNetworkBuilder/Resources/languages/edustrings.resx
index 45458c8..32af30a 100644
--- a/EduNetworkBuilder/Resources/languages/edustrings.resx
+++ b/EduNetworkBuilder/Resources/languages/edustrings.resx
@@ -777,72 +777,96 @@
Wireless SSID
+
+ Add
+ DeviceConfig UpdateForm+ = Add
+
+
+ Network Card to Add
+ DeviceConfig UpdateFormAdd = Network Card to Add
+
+
+ Choose a type
+ DeviceConfig UpdateFormChoose = Chose a type
+
+
+ You cannot delete the sole remaining interface.
+ DeviceConfig UpdateFormNoDel = You cannot delete the sole remaining interface.
+
+
+ This item is part of the puzzle and cannot be renamed.
+ DeviceConfig UpdateFormNoRename = This item is part of the puzzle and cannot be renamed.
+
+
+ Please select an interface to delete.
+ DeviceConfig UpdateFormSelect Del = Please select an interface to delete.
+
The packet failed to hit a Card. We should not be here!
- ND_DoInputFromLink_CardFail1 = The packet failed to hit a Card. We should not be here!
+ Network Device DoInputFromLink CardFail1 = The packet failed to hit a Card. We should not be here!
Success! The arp request reached the destination.
- ND_ProcessArrival_ArpReached1 = Success! The arp request reached the destination.
+ Network Device ProcessArrival ArpReached1 = Success! The arp request reached the destination.
Arrived at the tunnel endpoint.
- ND_ProcessArrival_Arrived = Arrived at the tunnel endpoint.
+ Network Device ProcessArrival_Arrived = Arrived at the tunnel endpoint.
Packet coming out from tunnel.
- ND_ProcessArrival_CommingOut = Packet coming out from tunnel.
+ Network Device ProcessArrival CommingOut = Packet coming out from tunnel.
Success! The DHCP request reached a DHCP Server.
- ND_ProcessArrival_DHCPReach1 = Success! The DHCP request reached a DHCP Server.
+ Network Device ProcessArrival DHCPReach1 = Success! The DHCP request reached a DHCP Server.
Encryption failed. Unable to decrypt. Packet dropped.
- ND_ProcessArrival_EncryptErr1 = Encryption failed. Unable to decrypt. Packet dropped.
+ Network Device ProcessArrival EncryptErr1 = Encryption failed. Unable to decrypt. Packet dropped.
Encryption key mismatch. Packet dropped.
- ND_ProcessArrival_EncryptErr2 = Encryption key mismatch. Packet dropped.
+ Network Device ProcessArrival EncryptErr2 = Encryption key mismatch. Packet dropped.
No VPN nic to recieve packet. Check VPN IP
- ND_ProcessArrival_IPError1 = No VPN nic to recieve packet. Check VPN IP
+ Network Device ProcessArrival IPError1 = No VPN nic to recieve packet. Check VPN IP
No corresponding IP on vpn. Packet dropped.
- ND_ProcessArrival_IPError2 = No corresponding IP on vpn. Packet dropped.
+ Network Device ProcessArrival IPError2 = No corresponding IP on vpn. Packet dropped.
ERROR! A packet returned to a machine that we were not expecting it from.
- ND_ProcessArrival_PackReturnErr1 = ERROR! A packet returned to a machine that we were not expecting it from.
+ Network Device ProcessArrival PackReturnErr1 = ERROR! A packet returned to a machine that we were not expecting it from.
The broadcast ping reached a destination that was not on the same network
- ND_ProcessArrival_PingErr1 = The broadcast ping reached a destination that was not on the same network
+ Network Device ProcessArrival PingErr1 = The broadcast ping reached a destination that was not on the same network
Success! The ping reached the destination.
- ND_ProcessArrival_Success1 = Success! The ping reached the destination.
+ Network Device ProcessArrival Success1 = Success! The ping reached the destination.
Success! The ping returned from its destination.
- ND_ProcessArrival_PingReturn1 = Success! The ping returned from its destination.
+ Network Device ProcessArrival PingReturn1 = Success! The ping returned from its destination.
No VPN nic to recieve packet. Check VPN IP
- ND_ProcessArrival_VPNNicErr1 = No VPN nic to recieve packet. Check VPN IP
+ Network Device ProcessArrival VPNNicErr1 = No VPN nic to recieve packet. Check VPN IP
No corresponding IP on vpn. Packet dropped.
- ND_ProcessArrival_VPNNicErr2 = No corresponding IP on vpn. Packet dropped.
+ Network Device ProcessArrival VPNNicErr2 = No corresponding IP on vpn. Packet dropped.
Packet sent out tunnel but no endpoint set. Dropping
- ND_TunnelPacketFromHere_Error = Packet sent out tunnel but no endpoint set. Dropping
+ Network Device TunnelPacketFromHere Error = Packet sent out tunnel but no endpoint set. Dropping
Packet going into tunnel.
- ND_TunnelPacketFromHere_Message = Packet going into tunnel.
+ Network Device TunnelPacketFromHere Message = Packet going into tunnel.
\ No newline at end of file