Change to device config translation stuff. Languagify components was broken.
This commit is contained in:
parent
7f4108a164
commit
66a310f602
12
EduNetworkBuilder/DeviceConfig.Designer.cs
generated
12
EduNetworkBuilder/DeviceConfig.Designer.cs
generated
@ -46,6 +46,7 @@
|
|||||||
this.btnRoutes = new System.Windows.Forms.Button();
|
this.btnRoutes = new System.Windows.Forms.Button();
|
||||||
this.cbDHCP = new System.Windows.Forms.CheckBox();
|
this.cbDHCP = new System.Windows.Forms.CheckBox();
|
||||||
this.btnDHCP = new System.Windows.Forms.Button();
|
this.btnDHCP = new System.Windows.Forms.Button();
|
||||||
|
this.btn_vlan = new System.Windows.Forms.Button();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// tbHostname
|
// tbHostname
|
||||||
@ -226,6 +227,15 @@
|
|||||||
this.btnDHCP.UseVisualStyleBackColor = true;
|
this.btnDHCP.UseVisualStyleBackColor = true;
|
||||||
this.btnDHCP.Click += new System.EventHandler(this.btnDHCP_Click);
|
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
|
// DeviceConfig
|
||||||
//
|
//
|
||||||
this.AcceptButton = this.btnOK;
|
this.AcceptButton = this.btnOK;
|
||||||
@ -233,6 +243,7 @@
|
|||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.CancelButton = this.btnCancel;
|
this.CancelButton = this.btnCancel;
|
||||||
this.ClientSize = new System.Drawing.Size(471, 365);
|
this.ClientSize = new System.Drawing.Size(471, 365);
|
||||||
|
this.Controls.Add(this.btn_vlan);
|
||||||
this.Controls.Add(this.btnDHCP);
|
this.Controls.Add(this.btnDHCP);
|
||||||
this.Controls.Add(this.cbDHCP);
|
this.Controls.Add(this.cbDHCP);
|
||||||
this.Controls.Add(this.btnRoutes);
|
this.Controls.Add(this.btnRoutes);
|
||||||
@ -279,5 +290,6 @@
|
|||||||
private System.Windows.Forms.Button btnRoutes;
|
private System.Windows.Forms.Button btnRoutes;
|
||||||
private System.Windows.Forms.CheckBox cbDHCP;
|
private System.Windows.Forms.CheckBox cbDHCP;
|
||||||
private System.Windows.Forms.Button btnDHCP;
|
private System.Windows.Forms.Button btnDHCP;
|
||||||
|
private System.Windows.Forms.Button btn_vlan;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -43,20 +43,19 @@ namespace EduNetworkBuilder
|
|||||||
|
|
||||||
private void LanguagifyComponents()
|
private void LanguagifyComponents()
|
||||||
{
|
{
|
||||||
Text = NB.Translate("DC_lblHostname");
|
lblHostname.Text = NB.Translate("DC_lblHostname");
|
||||||
Text = NB.Translate("DC_lblHelp");
|
lblHelp.Text = NB.Translate("DC_lblHelp");
|
||||||
Text = NB.Translate("_Cancel");
|
btnCancel.Text = NB.Translate("_Cancel");
|
||||||
Text = NB.Translate("_OK");
|
btnOK.Text = NB.Translate("_OK");
|
||||||
Text = NB.Translate("DC_btnAdd");
|
btnIfAdd.Text = NB.Translate("DC_btnAdd");
|
||||||
Text = NB.Translate("DC_btnMinus");
|
btnIfMinus.Text = NB.Translate("DC_btnMinus");
|
||||||
Text = NB.Translate("_Edit");
|
btnIfEdit.Text = NB.Translate("_Edit");
|
||||||
Text = NB.Translate("_Edit");
|
btnIfMinus.Text = NB.Translate("DC_btnMinus");
|
||||||
Text = NB.Translate("DC_btnMinus");
|
btnIfAdd.Text = NB.Translate("DC_btnAdd");
|
||||||
Text = NB.Translate("DC_btnAdd");
|
btnGateway.Text = NB.Translate("DC_btnGateway");
|
||||||
Text = NB.Translate("DC_btnGateway");
|
btnRoutes.Text = NB.Translate("DC_btnRoutes");
|
||||||
Text = NB.Translate("DC_btnRoutes");
|
cbDHCP.Text = NB.Translate("DC_cbDHCP");
|
||||||
Text = NB.Translate("DC_cbDHCP");
|
btnDHCP.Text = NB.Translate("_DHCP");
|
||||||
Text = NB.Translate("_DHCP");
|
|
||||||
Text = NB.Translate("DC_Form");
|
Text = NB.Translate("DC_Form");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user