diff --git a/SourceCode/GPS/AgOpenGPS.csproj b/SourceCode/GPS/AgOpenGPS.csproj
index 71cea6e58..37a91402e 100644
--- a/SourceCode/GPS/AgOpenGPS.csproj
+++ b/SourceCode/GPS/AgOpenGPS.csproj
@@ -890,6 +890,7 @@
ResXFileCodeGenerator
gStr.uk.Designer.cs
+
ResXFileCodeGenerator
Designer
diff --git a/SourceCode/GPS/Forms/Controls.Designer.cs b/SourceCode/GPS/Forms/Controls.Designer.cs
index baa3c5122..5eaed69de 100644
--- a/SourceCode/GPS/Forms/Controls.Designer.cs
+++ b/SourceCode/GPS/Forms/Controls.Designer.cs
@@ -1391,6 +1391,11 @@ private void lithuanianToolStripMenuItem_Click(object sender, EventArgs e)
SetLanguage("lt", true);
}
+ private void menuLanguageChinese_Click(object sender, EventArgs e)
+ {
+ SetLanguage("zh-CHS", true);
+ }
+
private void SetLanguage(string lang, bool Restart)
{
@@ -1418,6 +1423,7 @@ private void SetLanguage(string lang, bool Restart)
menuLanguageLithuanian.Checked = false;
menuLanguageFinnish.Checked = false;
menuLanguageLatvian.Checked = false;
+ menuLanguageChinese.Checked = false;
menuLanguageTest.Checked = false;
@@ -1491,6 +1497,10 @@ private void SetLanguage(string lang, bool Restart)
menuLanguageFinnish.Checked = true;
break;
+ case "zh-CHS":
+ menuLanguageChinese.Checked = true;
+ break;
+
default:
menuLanguageEnglish.Checked = true;
lang = "en";
diff --git a/SourceCode/GPS/Forms/FormGPS.Designer.cs b/SourceCode/GPS/Forms/FormGPS.Designer.cs
index 8f4eb2c53..3d21f415c 100644
--- a/SourceCode/GPS/Forms/FormGPS.Designer.cs
+++ b/SourceCode/GPS/Forms/FormGPS.Designer.cs
@@ -203,6 +203,7 @@ private void InitializeComponent()
this.btnShutdown = new System.Windows.Forms.Button();
this.btnMaximizeMainForm = new System.Windows.Forms.Button();
this.btnMinimizeMainForm = new System.Windows.Forms.Button();
+ this.menuLanguageChinese = new System.Windows.Forms.ToolStripMenuItem();
this.contextMenuStripOpenGL.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.contextMenuStripFlag.SuspendLayout();
@@ -310,6 +311,7 @@ private void InitializeComponent()
this.menuLanguageSlovak,
this.menuLanguageUkranian,
this.menuLanguageTurkish,
+ this.menuLanguageChinese,
this.menuLanguageTest});
this.menustripLanguage.Name = "menustripLanguage";
this.menustripLanguage.Size = new System.Drawing.Size(382, 50);
@@ -1271,7 +1273,7 @@ private void InitializeComponent()
this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 58F));
this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
- this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 45F));
+ this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 47F));
this.panelSim.Controls.Add(this.btnSpeedDn, 5, 0);
this.panelSim.Controls.Add(this.btnSimSpeedUp, 7, 0);
this.panelSim.Controls.Add(this.btnResetSim, 0, 0);
@@ -1296,7 +1298,7 @@ private void InitializeComponent()
this.btnSpeedDn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSpeedDn.Location = new System.Drawing.Point(404, 4);
this.btnSpeedDn.Name = "btnSpeedDn";
- this.btnSpeedDn.Size = new System.Drawing.Size(119, 34);
+ this.btnSpeedDn.Size = new System.Drawing.Size(118, 34);
this.btnSpeedDn.TabIndex = 533;
this.btnSpeedDn.UseVisualStyleBackColor = false;
this.btnSpeedDn.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnSpeedDn_MouseDown);
@@ -1309,9 +1311,9 @@ private void InitializeComponent()
this.btnSimSpeedUp.Dock = System.Windows.Forms.DockStyle.Fill;
this.btnSimSpeedUp.FlatAppearance.BorderSize = 0;
this.btnSimSpeedUp.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
- this.btnSimSpeedUp.Location = new System.Drawing.Point(589, 4);
+ this.btnSimSpeedUp.Location = new System.Drawing.Point(588, 4);
this.btnSimSpeedUp.Name = "btnSimSpeedUp";
- this.btnSimSpeedUp.Size = new System.Drawing.Size(119, 34);
+ this.btnSimSpeedUp.Size = new System.Drawing.Size(118, 34);
this.btnSimSpeedUp.TabIndex = 532;
this.btnSimSpeedUp.UseVisualStyleBackColor = false;
this.btnSimSpeedUp.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnSimSpeedUp_MouseDown);
@@ -1325,7 +1327,7 @@ private void InitializeComponent()
this.btnSimSetSpeedToZero.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSimSetSpeedToZero.Font = new System.Drawing.Font("Tahoma", 9.75F);
this.btnSimSetSpeedToZero.ImeMode = System.Windows.Forms.ImeMode.NoControl;
- this.btnSimSetSpeedToZero.Location = new System.Drawing.Point(530, 4);
+ this.btnSimSetSpeedToZero.Location = new System.Drawing.Point(529, 4);
this.btnSimSetSpeedToZero.Name = "btnSimSetSpeedToZero";
this.btnSimSetSpeedToZero.Size = new System.Drawing.Size(52, 34);
this.btnSimSetSpeedToZero.TabIndex = 453;
@@ -1342,7 +1344,7 @@ private void InitializeComponent()
this.btnSimReverseDirection.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnSimReverseDirection.Font = new System.Drawing.Font("Tahoma", 9.75F);
this.btnSimReverseDirection.ImeMode = System.Windows.Forms.ImeMode.NoControl;
- this.btnSimReverseDirection.Location = new System.Drawing.Point(717, 4);
+ this.btnSimReverseDirection.Location = new System.Drawing.Point(716, 4);
this.btnSimReverseDirection.Name = "btnSimReverseDirection";
this.btnSimReverseDirection.Size = new System.Drawing.Size(35, 34);
this.btnSimReverseDirection.TabIndex = 537;
@@ -2894,6 +2896,13 @@ private void InitializeComponent()
this.btnMinimizeMainForm.UseVisualStyleBackColor = false;
this.btnMinimizeMainForm.Click += new System.EventHandler(this.btnMinimizeMainForm_Click);
//
+ // menuLanguageChinese
+ //
+ this.menuLanguageChinese.Name = "menuLanguageChinese";
+ this.menuLanguageChinese.Size = new System.Drawing.Size(464, 50);
+ this.menuLanguageChinese.Text = "中国人 (Chinese)";
+ this.menuLanguageChinese.Click += new System.EventHandler(this.menuLanguageChinese_Click);
+ //
// FormGPS
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
@@ -3146,6 +3155,7 @@ private void InitializeComponent()
public System.Windows.Forms.Button btnSnapToPivot;
private System.Windows.Forms.Button btnAdjLeft;
private System.Windows.Forms.Button btnAdjRight;
+ private System.Windows.Forms.ToolStripMenuItem menuLanguageChinese;
}
}