Change to device config translation stuff. Languagify components was broken.

This commit is contained in:
Tim Young 2016-09-29 13:47:01 -05:00
parent 7f4108a164
commit 66a310f602
2 changed files with 25 additions and 14 deletions

View File

@ -46,6 +46,7 @@
this.btnRoutes = new System.Windows.Forms.Button();
this.cbDHCP = new System.Windows.Forms.CheckBox();
this.btnDHCP = new System.Windows.Forms.Button();
this.btn_vlan = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// tbHostname
@ -226,6 +227,15 @@
this.btnDHCP.UseVisualStyleBackColor = true;
this.btnDHCP.Click += new System.EventHandler(this.btnDHCP_Click);
//
// btn_vlan
//
this.btn_vlan.Location = new System.Drawing.Point(182, 80);
this.btn_vlan.Name = "btn_vlan";
this.btn_vlan.Size = new System.Drawing.Size(75, 23);
this.btn_vlan.TabIndex = 21;
this.btn_vlan.Text = "VLANs";
this.btn_vlan.UseVisualStyleBackColor = true;
//
// DeviceConfig
//
this.AcceptButton = this.btnOK;
@ -233,6 +243,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.btnCancel;
this.ClientSize = new System.Drawing.Size(471, 365);
this.Controls.Add(this.btn_vlan);
this.Controls.Add(this.btnDHCP);
this.Controls.Add(this.cbDHCP);
this.Controls.Add(this.btnRoutes);
@ -279,5 +290,6 @@
private System.Windows.Forms.Button btnRoutes;
private System.Windows.Forms.CheckBox cbDHCP;
private System.Windows.Forms.Button btnDHCP;
private System.Windows.Forms.Button btn_vlan;
}
}

View File

@ -43,20 +43,19 @@ namespace EduNetworkBuilder
private void LanguagifyComponents()
{
Text = NB.Translate("DC_lblHostname");
Text = NB.Translate("DC_lblHelp");
Text = NB.Translate("_Cancel");
Text = NB.Translate("_OK");
Text = NB.Translate("DC_btnAdd");
Text = NB.Translate("DC_btnMinus");
Text = NB.Translate("_Edit");
Text = NB.Translate("_Edit");
Text = NB.Translate("DC_btnMinus");
Text = NB.Translate("DC_btnAdd");
Text = NB.Translate("DC_btnGateway");
Text = NB.Translate("DC_btnRoutes");
Text = NB.Translate("DC_cbDHCP");
Text = NB.Translate("_DHCP");
lblHostname.Text = NB.Translate("DC_lblHostname");
lblHelp.Text = NB.Translate("DC_lblHelp");
btnCancel.Text = NB.Translate("_Cancel");
btnOK.Text = NB.Translate("_OK");
btnIfAdd.Text = NB.Translate("DC_btnAdd");
btnIfMinus.Text = NB.Translate("DC_btnMinus");
btnIfEdit.Text = NB.Translate("_Edit");
btnIfMinus.Text = NB.Translate("DC_btnMinus");
btnIfAdd.Text = NB.Translate("DC_btnAdd");
btnGateway.Text = NB.Translate("DC_btnGateway");
btnRoutes.Text = NB.Translate("DC_btnRoutes");
cbDHCP.Text = NB.Translate("DC_cbDHCP");
btnDHCP.Text = NB.Translate("_DHCP");
Text = NB.Translate("DC_Form");
}