changeset 241:dd893a582184

Fixes #383: Add translation of About form tabs * Make tabs in About dialog translatable * Add French translations
author IBBoard <dev@ibboard.co.uk>
date Sat, 21 Jan 2012 16:34:18 +0000
parents f7b0cdb54c9c
children ea5cb50ebe5e
files FrmAbout.Designer.cs FrmAbout.resx translations/en.translation translations/fr.translation
diffstat 4 files changed, 150 insertions(+), 145 deletions(-) [+]
line wrap: on
line diff
--- a/FrmAbout.Designer.cs	Sat Jan 21 11:56:44 2012 +0000
+++ b/FrmAbout.Designer.cs	Sat Jan 21 16:34:18 2012 +0000
@@ -28,90 +28,58 @@
 		/// </summary>
 		private void InitializeComponent()
 		{
-            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAbout));
-            this.lblWarFoundry = new System.Windows.Forms.Label();
-            this.lblVersion = new System.Windows.Forms.Label();
-            this.tabControl1 = new System.Windows.Forms.TabControl();
-            this.developersPage = new System.Windows.Forms.TabPage();
-            this.listBox1 = new System.Windows.Forms.ListBox();
-            this.testersPage = new System.Windows.Forms.TabPage();
-            this.listBox2 = new System.Windows.Forms.ListBox();
-            this.translatorsPage = new System.Windows.Forms.TabPage();
-            this.listBox3 = new System.Windows.Forms.ListBox();
-            this.pictureBox1 = new System.Windows.Forms.PictureBox();
-            this.tabControl1.SuspendLayout();
-            this.developersPage.SuspendLayout();
-            this.testersPage.SuspendLayout();
-            this.translatorsPage.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
-            this.SuspendLayout();
-            // 
-            // lblWarFoundry
-            // 
-            this.lblWarFoundry.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.lblWarFoundry.Location = new System.Drawing.Point(12, 9);
-            this.lblWarFoundry.Name = "lblWarFoundry";
-            this.lblWarFoundry.Size = new System.Drawing.Size(212, 45);
-            this.lblWarFoundry.TabIndex = 0;
-            this.lblWarFoundry.Text = "WarFoundry";
-            // 
-            // lblVersion
-            // 
-            this.lblVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
-            this.lblVersion.Location = new System.Drawing.Point(16, 54);
-            this.lblVersion.Name = "lblVersion";
-            this.lblVersion.Size = new System.Drawing.Size(264, 23);
-            this.lblVersion.TabIndex = 1;
-            this.lblVersion.Text = "v?.?";
-            // 
-            // tabControl1
-            // 
-            this.tabControl1.Controls.Add(this.developersPage);
-            this.tabControl1.Controls.Add(this.testersPage);
-            this.tabControl1.Controls.Add(this.translatorsPage);
-            this.tabControl1.Location = new System.Drawing.Point(12, 80);
-            this.tabControl1.Name = "tabControl1";
-            this.tabControl1.SelectedIndex = 0;
-            this.tabControl1.Size = new System.Drawing.Size(276, 184);
-            this.tabControl1.TabIndex = 6;
-            // 
-            // developersPage
-            // 
-            this.developersPage.Controls.Add(this.listBox1);
-            this.developersPage.Location = new System.Drawing.Point(4, 22);
-            this.developersPage.Name = "developersPage";
-            this.developersPage.Padding = new System.Windows.Forms.Padding(3);
-            this.developersPage.Size = new System.Drawing.Size(268, 158);
-            this.developersPage.TabIndex = 0;
-            this.developersPage.Text = "Developers";
-            this.developersPage.UseVisualStyleBackColor = true;
-            // 
-            // listBox1
-            // 
-            this.listBox1.FormattingEnabled = true;
-            this.listBox1.Items.AddRange(new object[] {
+			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAbout));
+			this.lblWarFoundry = new System.Windows.Forms.Label();
+			this.lblVersion = new System.Windows.Forms.Label();
+			this.listBox1 = new System.Windows.Forms.ListBox();
+			this.listBox2 = new System.Windows.Forms.ListBox();
+			this.listBox3 = new System.Windows.Forms.ListBox();
+			this.pictureBox1 = new System.Windows.Forms.PictureBox();
+			this.nameTabs = new IBBoard.Windows.Forms.IBBTabControl();
+			this.developersPage = new System.Windows.Forms.TabPage();
+			this.testersPage = new System.Windows.Forms.TabPage();
+			this.translatorsPage = new System.Windows.Forms.TabPage();
+			((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
+			this.nameTabs.SuspendLayout();
+			this.developersPage.SuspendLayout();
+			this.testersPage.SuspendLayout();
+			this.translatorsPage.SuspendLayout();
+			this.SuspendLayout();
+			// 
+			// lblWarFoundry
+			// 
+			this.lblWarFoundry.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+			this.lblWarFoundry.Location = new System.Drawing.Point(12, 9);
+			this.lblWarFoundry.Name = "lblWarFoundry";
+			this.lblWarFoundry.Size = new System.Drawing.Size(212, 45);
+			this.lblWarFoundry.TabIndex = 0;
+			this.lblWarFoundry.Text = "WarFoundry";
+			// 
+			// lblVersion
+			// 
+			this.lblVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+			this.lblVersion.Location = new System.Drawing.Point(16, 54);
+			this.lblVersion.Name = "lblVersion";
+			this.lblVersion.Size = new System.Drawing.Size(264, 23);
+			this.lblVersion.TabIndex = 1;
+			this.lblVersion.Text = "v?.?";
+			// 
+			// listBox1
+			// 
+			this.listBox1.FormattingEnabled = true;
+			this.listBox1.Items.AddRange(new object[] {
             "IBBoard (Main developer and project lead)",
-            "Snowblizz (Default army names and translation fixes)"});
-            this.listBox1.Location = new System.Drawing.Point(0, 0);
-            this.listBox1.Name = "listBox1";
-            this.listBox1.Size = new System.Drawing.Size(268, 160);
-            this.listBox1.TabIndex = 0;
-            // 
-            // testersPage
-            // 
-            this.testersPage.Controls.Add(this.listBox2);
-            this.testersPage.Location = new System.Drawing.Point(4, 22);
-            this.testersPage.Name = "testersPage";
-            this.testersPage.Padding = new System.Windows.Forms.Padding(3);
-            this.testersPage.Size = new System.Drawing.Size(268, 158);
-            this.testersPage.TabIndex = 1;
-            this.testersPage.Text = "Testers";
-            this.testersPage.UseVisualStyleBackColor = true;
-            // 
-            // listBox2
-            // 
-            this.listBox2.FormattingEnabled = true;
-            this.listBox2.Items.AddRange(new object[] {
+            "Snowblizz (Default army names and translation fixes)",
+            "Clutch (XML export with XSL transforms)"});
+			this.listBox1.Location = new System.Drawing.Point(0, 0);
+			this.listBox1.Name = "listBox1";
+			this.listBox1.Size = new System.Drawing.Size(268, 160);
+			this.listBox1.TabIndex = 0;
+			// 
+			// listBox2
+			// 
+			this.listBox2.FormattingEnabled = true;
+			this.listBox2.Items.AddRange(new object[] {
             "Snowblizz",
             "Frostlee",
             "Lord_Archaon",
@@ -119,65 +87,98 @@
             "clutch110",
             "Mollo",
             "HeWhoWatches"});
-            this.listBox2.Location = new System.Drawing.Point(0, -1);
-            this.listBox2.Name = "listBox2";
-            this.listBox2.Size = new System.Drawing.Size(268, 160);
-            this.listBox2.TabIndex = 1;
-            // 
-            // translatorsPage
-            // 
-            this.translatorsPage.Controls.Add(this.listBox3);
-            this.translatorsPage.Location = new System.Drawing.Point(4, 22);
-            this.translatorsPage.Name = "translatorsPage";
-            this.translatorsPage.Size = new System.Drawing.Size(268, 158);
-            this.translatorsPage.TabIndex = 2;
-            this.translatorsPage.Text = "Translators";
-            this.translatorsPage.UseVisualStyleBackColor = true;
-            // 
-            // listBox3
-            // 
-            this.listBox3.FormattingEnabled = true;
-            this.listBox3.Items.AddRange(new object[] {
+			this.listBox2.Location = new System.Drawing.Point(0, 0);
+			this.listBox2.Name = "listBox2";
+			this.listBox2.Size = new System.Drawing.Size(268, 160);
+			this.listBox2.TabIndex = 1;
+			// 
+			// listBox3
+			// 
+			this.listBox3.FormattingEnabled = true;
+			this.listBox3.Items.AddRange(new object[] {
             "Snowblizz (Swedish and Finnish translations)",
             "Frostlee (Italian translation)",
             "Lord_Archaon (Russian translation)",
             "Furrie (Dutch translation)",
             "Dreadaxe (French translation)",
             "Blackhawk (German translation)"});
-            this.listBox3.Location = new System.Drawing.Point(0, -1);
-            this.listBox3.Name = "listBox3";
-            this.listBox3.Size = new System.Drawing.Size(268, 160);
-            this.listBox3.TabIndex = 1;
-            // 
-            // pictureBox1
-            // 
-            this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
-            this.pictureBox1.Location = new System.Drawing.Point(230, 12);
-            this.pictureBox1.Name = "pictureBox1";
-            this.pictureBox1.Size = new System.Drawing.Size(68, 68);
-            this.pictureBox1.TabIndex = 7;
-            this.pictureBox1.TabStop = false;
-            // 
-            // FrmAbout
-            // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-            this.ClientSize = new System.Drawing.Size(300, 276);
-            this.Controls.Add(this.pictureBox1);
-            this.Controls.Add(this.tabControl1);
-            this.Controls.Add(this.lblVersion);
-            this.Controls.Add(this.lblWarFoundry);
-            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
-            this.MaximizeBox = false;
-            this.MinimizeBox = false;
-            this.Name = "FrmAbout";
-            this.Text = "FrmAbout";
-            this.tabControl1.ResumeLayout(false);
-            this.developersPage.ResumeLayout(false);
-            this.testersPage.ResumeLayout(false);
-            this.translatorsPage.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
-            this.ResumeLayout(false);
+			this.listBox3.Location = new System.Drawing.Point(0, 0);
+			this.listBox3.Name = "listBox3";
+			this.listBox3.Size = new System.Drawing.Size(268, 160);
+			this.listBox3.TabIndex = 1;
+			// 
+			// pictureBox1
+			// 
+			this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
+			this.pictureBox1.Location = new System.Drawing.Point(230, 12);
+			this.pictureBox1.Name = "pictureBox1";
+			this.pictureBox1.Size = new System.Drawing.Size(68, 68);
+			this.pictureBox1.TabIndex = 7;
+			this.pictureBox1.TabStop = false;
+			// 
+			// nameTabs
+			// 
+			this.nameTabs.Controls.Add(this.developersPage);
+			this.nameTabs.Controls.Add(this.testersPage);
+			this.nameTabs.Controls.Add(this.translatorsPage);
+			this.nameTabs.Location = new System.Drawing.Point(12, 80);
+			this.nameTabs.Name = "nameTabs";
+			this.nameTabs.SelectedIndex = 0;
+			this.nameTabs.Size = new System.Drawing.Size(276, 184);
+			this.nameTabs.TabIndex = 8;
+			// 
+			// developersPage
+			// 
+			this.developersPage.Controls.Add(this.listBox1);
+			this.developersPage.Location = new System.Drawing.Point(4, 22);
+			this.developersPage.Name = "developersPage";
+			this.developersPage.Padding = new System.Windows.Forms.Padding(3);
+			this.developersPage.Size = new System.Drawing.Size(268, 158);
+			this.developersPage.TabIndex = 0;
+			this.developersPage.Text = "developers";
+			this.developersPage.UseVisualStyleBackColor = true;
+			// 
+			// testersPage
+			// 
+			this.testersPage.Controls.Add(this.listBox2);
+			this.testersPage.Location = new System.Drawing.Point(4, 22);
+			this.testersPage.Name = "testersPage";
+			this.testersPage.Padding = new System.Windows.Forms.Padding(3);
+			this.testersPage.Size = new System.Drawing.Size(268, 158);
+			this.testersPage.TabIndex = 1;
+			this.testersPage.Text = "testers";
+			this.testersPage.UseVisualStyleBackColor = true;
+			// 
+			// translatorsPage
+			// 
+			this.translatorsPage.Controls.Add(this.listBox3);
+			this.translatorsPage.Location = new System.Drawing.Point(4, 22);
+			this.translatorsPage.Name = "translatorsPage";
+			this.translatorsPage.Size = new System.Drawing.Size(268, 158);
+			this.translatorsPage.TabIndex = 2;
+			this.translatorsPage.Text = "translators";
+			this.translatorsPage.UseVisualStyleBackColor = true;
+			// 
+			// FrmAbout
+			// 
+			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+			this.ClientSize = new System.Drawing.Size(300, 276);
+			this.Controls.Add(this.nameTabs);
+			this.Controls.Add(this.pictureBox1);
+			this.Controls.Add(this.lblVersion);
+			this.Controls.Add(this.lblWarFoundry);
+			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
+			this.MaximizeBox = false;
+			this.MinimizeBox = false;
+			this.Name = "FrmAbout";
+			this.Text = "FrmAbout";
+			((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
+			this.nameTabs.ResumeLayout(false);
+			this.developersPage.ResumeLayout(false);
+			this.testersPage.ResumeLayout(false);
+			this.translatorsPage.ResumeLayout(false);
+			this.ResumeLayout(false);
 
 		}
 
@@ -185,13 +186,13 @@
 
 		private System.Windows.Forms.Label lblWarFoundry;
 		private System.Windows.Forms.Label lblVersion;
-		private System.Windows.Forms.TabControl tabControl1;
-		private System.Windows.Forms.TabPage developersPage;
-		private System.Windows.Forms.TabPage testersPage;
-		private System.Windows.Forms.TabPage translatorsPage;
 		private System.Windows.Forms.ListBox listBox1;
 		private System.Windows.Forms.ListBox listBox2;
 		private System.Windows.Forms.ListBox listBox3;
 		private System.Windows.Forms.PictureBox pictureBox1;
+		private Windows.Forms.IBBTabControl nameTabs;
+		private System.Windows.Forms.TabPage developersPage;
+		private System.Windows.Forms.TabPage testersPage;
+		private System.Windows.Forms.TabPage translatorsPage;
 	}
 }
\ No newline at end of file
--- a/FrmAbout.resx	Sat Jan 21 11:56:44 2012 +0000
+++ b/FrmAbout.resx	Sat Jan 21 16:34:18 2012 +0000
@@ -121,8 +121,8 @@
   <data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     <value>
         iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
-        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAScwAA
-        EnMBjCK5BwAAFORJREFUeF7lWwdUVXeax2QmszuzmbO72Zk52clms9lksjsnM0lmM2pMTLEbY2KLIhaq
+        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAScQAA
+        EnEB89x6jgAAFORJREFUeF7lWwdUVXeax2QmszuzmbO72Zk52clms9lksjsnM0lmM2pMTLEbY2KLIhaq
         qIg0QVBAQZTOo/cmRaRL7733ZkFQRLFreheEb7/fH+477z0e8HAyOXGGc77zHvfe/+X+fl///pc5RKT1
         d/0DAv6eZVbgnZy0fuJhrrXUdY/WE4qkeZlr/RGieAzX4FqskY7/kOs1VarGBODhPa3mXHI31yJ3C60R
         Vwut1/BHPCy13MUxFnzHMZzDNTiGNVj7Q67XFLxwf00vdjPTWgFA17vfpuhjvxzxMNOKxFpPyzlfVae9
--- a/translations/en.translation	Sat Jan 21 11:56:44 2012 +0000
+++ b/translations/en.translation	Sat Jan 21 16:34:18 2012 +0000
@@ -74,6 +74,9 @@
 	<translation id="removeEquipmentTitle">Confirm equipment removal</translation>
 	<translation id="FrmAbout">About WarFoundry</translation>
 	<translation id="lblVersion">Version: {0}</translation>
+	<translation id="developersPage">Developers</translation>
+	<translation id="testersPage">Testers</translation>
+	<translation id="translatorsPage">Translators</translation>
 	<translation id="FrmUnit">{0} ({1})</translation>
 	<translation id="FrmUnitlblPoints">({0} {1})</translation>
 	<translation id="lblUnitSize">Unit size:</translation>
--- a/translations/fr.translation	Sat Jan 21 11:56:44 2012 +0000
+++ b/translations/fr.translation	Sat Jan 21 16:34:18 2012 +0000
@@ -56,9 +56,10 @@
 	<translation id="equipNumberTooSmallTitle">Nombre de point d'équipement trop faible</translation>
 	<translation id="FrmEditUnitEquipment">Édition {0} pour {1}</translation>
 	<translation id="FrmAbout">À propos de WarFoundry</translation>
-	<translation id="lblVersion">Version : {0}</translation>
-	<translation id="lblDevelopers">Développeurs :</translation>
-	<translation id="lblThanks">Remerciement :</translation>
+	<translation id="lblVersion">Version: {0}</translation>
+	<translation id="developersPage">Développeurs</translation>
+	<translation id="testersPage">Testeurs</translation>
+	<translation id="translatorsPage">Traducteurs</translation>
 	<translation id="FrmUnit">{0}</translation>
 	<translation id="lblUnitSize">Taille d'unité :</translation>
 	<translation id="lblEquip">Équipement :</translation>