From c4964860d2edaeef1201a79a2305a7417749baca Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Mon, 16 Nov 2015 14:30:58 -0600 Subject: [PATCH 1/2] IPAE Trans Edit --- EduNetworkBuilder/IPAddressEntry.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/EduNetworkBuilder/IPAddressEntry.cs b/EduNetworkBuilder/IPAddressEntry.cs index 3f0cd64..0f16ab2 100644 --- a/EduNetworkBuilder/IPAddressEntry.cs +++ b/EduNetworkBuilder/IPAddressEntry.cs @@ -154,8 +154,8 @@ namespace EduNetworkBuilder { DHCPInterface = DHCPif; lblIP.Text = NB.Translate("IPAE_EditIf"); - lblNetmask.Text = "IPAE_EditStart"; - lblGateway.Text = "IPAE_EditEnd"; + lblNetmask.Text = NB.Translate("IPAE_EditStart"); + lblGateway.Text = NB.Translate("IPAE_EditEnd"); tbIPAddress.Enabled = false; tbGateway.Enabled = true; tbNetmask.Enabled = true; @@ -200,7 +200,7 @@ namespace EduNetworkBuilder if (taddress < startaddress) { e.Cancel = true; - MessageBox.Show("IPAE_tbGateValIPEqualLarger"); + MessageBox.Show(NB.Translate("IPAE_tbGateValIPEqualLarger")); } } } @@ -215,7 +215,7 @@ namespace EduNetworkBuilder if (!DHCPInterface.IsLocal(new IPAddress(tbNetmask.Text))) { e.Cancel = true; - MessageBox.Show("IPAE_tbNtmskValEndIPRange"); + MessageBox.Show(NB.Translate("IPAE_tbNtmskValEndIPRange")); } } } From 165b437b1859f88f0d4384cf9ae6c571aa6d0090 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Mon, 16 Nov 2015 14:34:53 -0600 Subject: [PATCH 2/2] Trans Edits --- EduNetworkBuilder/DeviceConfig.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EduNetworkBuilder/DeviceConfig.cs b/EduNetworkBuilder/DeviceConfig.cs index a55ac8a..b0cfae2 100644 --- a/EduNetworkBuilder/DeviceConfig.cs +++ b/EduNetworkBuilder/DeviceConfig.cs @@ -254,7 +254,7 @@ namespace EduNetworkBuilder Label lblText = new Label(); lblText.Location = new Point(5, 5); - lblText.Text = "DC_UpdateFormChoose:"; + lblText.Text = NB.Translate("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 = "DC_UpdateForm+"; + btnAccept.Text = NB.Translate("DC_UpdateForm+"); btnAccept.Click += (s, g) => { Button b = (Button)s; Form f = (Form)b.Parent; f.Close(); }; QuestionForm.Controls.Add(lblText);