diff --git a/EduNetworkBuilder/Resources/languages/edustrings.resx b/EduNetworkBuilder/Resources/languages/edustrings.resx
index c6b7561..5d42b42 100644
--- a/EduNetworkBuilder/Resources/languages/edustrings.resx
+++ b/EduNetworkBuilder/Resources/languages/edustrings.resx
@@ -1969,4 +1969,12 @@
This device uses DHCP to configure its network settings. The gateway is set through the DHCP server, and will be updated when this device requests DHCP. If the gateway is wrong, make sure the gateway on the server is properly set.
This device uses DHCP to configure its network settings. The gateway is set through the DHCP server, and will be updated when this device requests DHCP. If the gateway is wrong, make sure the gateway on the server is properly set.
+
+ Program
+ TW_Form = Program
+
+
+ Message / Title
+ TW_Message = Message / Title
+
\ No newline at end of file
diff --git a/EduNetworkBuilder/TranslationWindow.Designer.cs b/EduNetworkBuilder/TranslationWindow.Designer.cs
index 3e1830a..d96a4de 100644
--- a/EduNetworkBuilder/TranslationWindow.Designer.cs
+++ b/EduNetworkBuilder/TranslationWindow.Designer.cs
@@ -37,12 +37,17 @@
this.lblStatus = new System.Windows.Forms.Label();
this.tb1Title = new System.Windows.Forms.TextBox();
this.tb2Title = new System.Windows.Forms.TextBox();
+ this.tcTabPages = new System.Windows.Forms.TabControl();
+ this.tpMessageTitle = new System.Windows.Forms.TabPage();
+ this.tpFormStuff = new System.Windows.Forms.TabPage();
+ this.tcTabPages.SuspendLayout();
+ this.tpMessageTitle.SuspendLayout();
this.SuspendLayout();
//
// cb1Language
//
this.cb1Language.FormattingEnabled = true;
- this.cb1Language.Location = new System.Drawing.Point(12, 12);
+ this.cb1Language.Location = new System.Drawing.Point(6, 9);
this.cb1Language.Name = "cb1Language";
this.cb1Language.Size = new System.Drawing.Size(121, 24);
this.cb1Language.TabIndex = 0;
@@ -52,10 +57,10 @@
//
this.tb1Message.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.tb1Message.Location = new System.Drawing.Point(12, 42);
+ this.tb1Message.Location = new System.Drawing.Point(6, 39);
this.tb1Message.Multiline = true;
this.tb1Message.Name = "tb1Message";
- this.tb1Message.Size = new System.Drawing.Size(400, 181);
+ this.tb1Message.Size = new System.Drawing.Size(713, 181);
this.tb1Message.TabIndex = 10;
this.tb1Message.Leave += new System.EventHandler(this.tb1Message_Leave);
//
@@ -64,17 +69,17 @@
this.tb2Message.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.tb2Message.Location = new System.Drawing.Point(12, 261);
+ this.tb2Message.Location = new System.Drawing.Point(6, 266);
this.tb2Message.Multiline = true;
this.tb2Message.Name = "tb2Message";
- this.tb2Message.Size = new System.Drawing.Size(400, 181);
+ this.tb2Message.Size = new System.Drawing.Size(713, 162);
this.tb2Message.TabIndex = 12;
this.tb2Message.Leave += new System.EventHandler(this.tb2Message_Leave);
//
// cb2Language
//
this.cb2Language.FormattingEnabled = true;
- this.cb2Language.Location = new System.Drawing.Point(12, 231);
+ this.cb2Language.Location = new System.Drawing.Point(6, 236);
this.cb2Language.Name = "cb2Language";
this.cb2Language.Size = new System.Drawing.Size(121, 24);
this.cb2Language.TabIndex = 11;
@@ -83,7 +88,7 @@
// btnClose
//
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
- this.btnClose.Location = new System.Drawing.Point(337, 456);
+ this.btnClose.Location = new System.Drawing.Point(368, 484);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(75, 23);
this.btnClose.TabIndex = 13;
@@ -94,7 +99,7 @@
// btnSave
//
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.btnSave.Location = new System.Drawing.Point(12, 456);
+ this.btnSave.Location = new System.Drawing.Point(12, 484);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(75, 23);
this.btnSave.TabIndex = 14;
@@ -106,7 +111,7 @@
//
this.lblStatus.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.lblStatus.AutoSize = true;
- this.lblStatus.Location = new System.Drawing.Point(139, 459);
+ this.lblStatus.Location = new System.Drawing.Point(139, 487);
this.lblStatus.Name = "lblStatus";
this.lblStatus.Size = new System.Drawing.Size(48, 17);
this.lblStatus.TabIndex = 15;
@@ -116,9 +121,9 @@
//
this.tb1Title.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.tb1Title.Location = new System.Drawing.Point(185, 12);
+ this.tb1Title.Location = new System.Drawing.Point(172, 11);
this.tb1Title.Name = "tb1Title";
- this.tb1Title.Size = new System.Drawing.Size(227, 22);
+ this.tb1Title.Size = new System.Drawing.Size(547, 22);
this.tb1Title.TabIndex = 16;
this.tb1Title.Leave += new System.EventHandler(this.tb1Title_Leave);
//
@@ -126,30 +131,67 @@
//
this.tb2Title.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.tb2Title.Location = new System.Drawing.Point(185, 231);
+ this.tb2Title.Location = new System.Drawing.Point(172, 236);
this.tb2Title.Name = "tb2Title";
- this.tb2Title.Size = new System.Drawing.Size(227, 22);
+ this.tb2Title.Size = new System.Drawing.Size(547, 22);
this.tb2Title.TabIndex = 17;
this.tb2Title.Leave += new System.EventHandler(this.tb2Title_Leave);
//
+ // tcTabPages
+ //
+ this.tcTabPages.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.tcTabPages.Controls.Add(this.tpMessageTitle);
+ this.tcTabPages.Controls.Add(this.tpFormStuff);
+ this.tcTabPages.Location = new System.Drawing.Point(7, 6);
+ this.tcTabPages.Name = "tcTabPages";
+ this.tcTabPages.SelectedIndex = 0;
+ this.tcTabPages.Size = new System.Drawing.Size(436, 463);
+ this.tcTabPages.TabIndex = 18;
+ //
+ // tpMessageTitle
+ //
+ this.tpMessageTitle.Controls.Add(this.tb1Title);
+ this.tpMessageTitle.Controls.Add(this.tb2Title);
+ this.tpMessageTitle.Controls.Add(this.tb2Message);
+ this.tpMessageTitle.Controls.Add(this.cb2Language);
+ this.tpMessageTitle.Controls.Add(this.tb1Message);
+ this.tpMessageTitle.Controls.Add(this.cb1Language);
+ this.tpMessageTitle.Location = new System.Drawing.Point(4, 25);
+ this.tpMessageTitle.Name = "tpMessageTitle";
+ this.tpMessageTitle.Padding = new System.Windows.Forms.Padding(3);
+ this.tpMessageTitle.Size = new System.Drawing.Size(726, 434);
+ this.tpMessageTitle.TabIndex = 0;
+ this.tpMessageTitle.Text = "Messages";
+ this.tpMessageTitle.UseVisualStyleBackColor = true;
+ //
+ // tpFormStuff
+ //
+ this.tpFormStuff.Location = new System.Drawing.Point(4, 25);
+ this.tpFormStuff.Name = "tpFormStuff";
+ this.tpFormStuff.Padding = new System.Windows.Forms.Padding(3);
+ this.tpFormStuff.Size = new System.Drawing.Size(428, 434);
+ this.tpFormStuff.TabIndex = 1;
+ this.tpFormStuff.Text = "Forms";
+ this.tpFormStuff.UseVisualStyleBackColor = true;
+ //
// TranslationWindow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(433, 491);
- this.Controls.Add(this.tb2Title);
- this.Controls.Add(this.tb1Title);
+ this.ClientSize = new System.Drawing.Size(464, 519);
this.Controls.Add(this.lblStatus);
this.Controls.Add(this.btnSave);
this.Controls.Add(this.btnClose);
- this.Controls.Add(this.tb2Message);
- this.Controls.Add(this.cb2Language);
- this.Controls.Add(this.tb1Message);
- this.Controls.Add(this.cb1Language);
+ this.Controls.Add(this.tcTabPages);
this.Name = "TranslationWindow";
this.Text = "TranslationWindow";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.TranslationWindow_FormClosing);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TranslationWindow_KeyDown);
+ this.tcTabPages.ResumeLayout(false);
+ this.tpMessageTitle.ResumeLayout(false);
+ this.tpMessageTitle.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
@@ -166,5 +208,8 @@
private System.Windows.Forms.Label lblStatus;
private System.Windows.Forms.TextBox tb1Title;
private System.Windows.Forms.TextBox tb2Title;
+ private System.Windows.Forms.TabControl tcTabPages;
+ private System.Windows.Forms.TabPage tpMessageTitle;
+ private System.Windows.Forms.TabPage tpFormStuff;
}
}
\ No newline at end of file
diff --git a/EduNetworkBuilder/TranslationWindow.cs b/EduNetworkBuilder/TranslationWindow.cs
index 512e407..7165fe9 100644
--- a/EduNetworkBuilder/TranslationWindow.cs
+++ b/EduNetworkBuilder/TranslationWindow.cs
@@ -55,6 +55,8 @@ namespace EduNetworkBuilder
Text = NB.Translate("TW_Translate");
btnSave.Text = NB.Translate("_Save");
btnClose.Text = NB.Translate("_Done");
+ tpMessageTitle.Text = NB.Translate("TW_Message");
+ tpFormStuff.Text = NB.Translate("TW_Form");
}
private void ClosingStuff()