diff --git a/EduNetworkBuilder/IPAddressEntry.cs b/EduNetworkBuilder/IPAddressEntry.cs index dc63a8e..3f0cd64 100644 --- a/EduNetworkBuilder/IPAddressEntry.cs +++ b/EduNetworkBuilder/IPAddressEntry.cs @@ -153,9 +153,9 @@ namespace EduNetworkBuilder public bool Edit(NetworkDevice ToEdit, IPAddress DHCPif) { DHCPInterface = DHCPif; - lblIP.Text = "Interface"; - lblNetmask.Text = "Start"; - lblGateway.Text = "End"; + lblIP.Text = NB.Translate("IPAE_EditIf"); + lblNetmask.Text = "IPAE_EditStart"; + lblGateway.Text = "IPAE_EditEnd"; tbIPAddress.Enabled = false; tbGateway.Enabled = true; tbNetmask.Enabled = true; @@ -195,12 +195,12 @@ namespace EduNetworkBuilder if (!DHCPInterface.IsLocal(new IPAddress(tbGateway.Text))) { e.Cancel = true; - MessageBox.Show("The end IP in the range must be within the scope of the interface."); + MessageBox.Show(NB.Translate("IPAE_tbGateValEndIPRange")); } if (taddress < startaddress) { e.Cancel = true; - MessageBox.Show("The end IP must be equal to or larger than the start IP."); + MessageBox.Show("IPAE_tbGateValIPEqualLarger"); } } } @@ -215,7 +215,7 @@ namespace EduNetworkBuilder if (!DHCPInterface.IsLocal(new IPAddress(tbNetmask.Text))) { e.Cancel = true; - MessageBox.Show("The start IP in the range must be within the scope of the interface."); + MessageBox.Show("IPAE_tbNtmskValEndIPRange"); } } } diff --git a/EduNetworkBuilder/ListBoxWindow.cs b/EduNetworkBuilder/ListBoxWindow.cs index 74fd2b3..8da7ad1 100644 --- a/EduNetworkBuilder/ListBoxWindow.cs +++ b/EduNetworkBuilder/ListBoxWindow.cs @@ -36,7 +36,7 @@ namespace EduNetworkBuilder CheckBox newCB; btnAdd.Visible = false; int count = 0; - lblInstructions.Text = "Filter the puzzles by checking one the boxes."; + lblInstructions.Text = NB.Translate("LBW_LBWFilter"); panelCheckboxes.SuspendLayout(); string SelectedTag = GetSelectedTag(); if (SelectedTag == "ALL") diff --git a/EduNetworkBuilder/Resources/languages/edustrings.resx b/EduNetworkBuilder/Resources/languages/edustrings.resx index 32af30a..9d80150 100644 --- a/EduNetworkBuilder/Resources/languages/edustrings.resx +++ b/EduNetworkBuilder/Resources/languages/edustrings.resx @@ -869,4 +869,32 @@ Packet going into tunnel. Network Device TunnelPacketFromHere Message = Packet going into tunnel. + + End + IPAE_EditIf = End + + + Interface + IPAE_EditIf = Interface + + + Start + IPAE_EditStart = Start + + + The end IP in the range must be within the scope of the interface. + IPAE_tbGateValEndIPRange = The end IP in the range must be within the scope of the interface. + + + The end IP must be equal to or larger than the start IP. + IPAE_tbGateValIPEqualLarger = The end IP must be equal to or larger than the start IP. + + + The start IP in the range must be within the scope of the interface. + IPAE_tbNtmskValEndIPRange = The start IP in the range must be within the scope of the interface. + + + Filter the puzzles by checking one the boxes. + LBW_LBWFilter = Filter the puzzles by checking one the boxes. + \ No newline at end of file