# HG changeset patch # User IBBoard # Date 1327163658 0 # Node ID dd893a582184c8e016e954f89e2bb11013df9af3 # Parent f7b0cdb54c9cc2f762fd70c575aecd27032710a3 Fixes #383: Add translation of About form tabs * Make tabs in About dialog translatable * Add French translations diff -r f7b0cdb54c9c -r dd893a582184 FrmAbout.Designer.cs --- 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 @@ /// 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 diff -r f7b0cdb54c9c -r dd893a582184 FrmAbout.resx --- 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 @@ iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAScwAA - EnMBjCK5BwAAFORJREFUeF7lWwdUVXeax2QmszuzmbO72Zk52clms9lksjsnM0lmM2pMTLEbY2KLIhaq + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAScQAA + EnEB89x6jgAAFORJREFUeF7lWwdUVXeax2QmszuzmbO72Zk52clms9lksjsnM0lmM2pMTLEbY2KLIhaq qIg0QVBAQZTOo/cmRaRL7733ZkFQRLFreheEb7/fH+477z0e8HAyOXGGc77zHvfe/+X+fl///pc5RKT1 d/0DAv6eZVbgnZy0fuJhrrXUdY/WE4qkeZlr/RGieAzX4FqskY7/kOs1VarGBODhPa3mXHI31yJ3C60R Vwut1/BHPCy13MUxFnzHMZzDNTiGNVj7Q67XFLxwf00vdjPTWgFA17vfpuhjvxzxMNOKxFpPyzlfVae9 diff -r f7b0cdb54c9c -r dd893a582184 translations/en.translation --- 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 @@ Confirm equipment removal About WarFoundry Version: {0} + Developers + Testers + Translators {0} ({1}) ({0} {1}) Unit size: diff -r f7b0cdb54c9c -r dd893a582184 translations/fr.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 @@ Nombre de point d'équipement trop faible Édition {0} pour {1} À propos de WarFoundry - Version : {0} - Développeurs : - Remerciement : + Version: {0} + Développeurs + Testeurs + Traducteurs {0} Taille d'unité : Équipement :