changeset 236: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 diff
     1.1 --- a/FrmAbout.Designer.cs	Sat Jan 21 11:56:44 2012 +0000
     1.2 +++ b/FrmAbout.Designer.cs	Sat Jan 21 16:34:18 2012 +0000
     1.3 @@ -28,90 +28,58 @@
     1.4  		/// </summary>
     1.5  		private void InitializeComponent()
     1.6  		{
     1.7 -            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAbout));
     1.8 -            this.lblWarFoundry = new System.Windows.Forms.Label();
     1.9 -            this.lblVersion = new System.Windows.Forms.Label();
    1.10 -            this.tabControl1 = new System.Windows.Forms.TabControl();
    1.11 -            this.developersPage = new System.Windows.Forms.TabPage();
    1.12 -            this.listBox1 = new System.Windows.Forms.ListBox();
    1.13 -            this.testersPage = new System.Windows.Forms.TabPage();
    1.14 -            this.listBox2 = new System.Windows.Forms.ListBox();
    1.15 -            this.translatorsPage = new System.Windows.Forms.TabPage();
    1.16 -            this.listBox3 = new System.Windows.Forms.ListBox();
    1.17 -            this.pictureBox1 = new System.Windows.Forms.PictureBox();
    1.18 -            this.tabControl1.SuspendLayout();
    1.19 -            this.developersPage.SuspendLayout();
    1.20 -            this.testersPage.SuspendLayout();
    1.21 -            this.translatorsPage.SuspendLayout();
    1.22 -            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
    1.23 -            this.SuspendLayout();
    1.24 -            // 
    1.25 -            // lblWarFoundry
    1.26 -            // 
    1.27 -            this.lblWarFoundry.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    1.28 -            this.lblWarFoundry.Location = new System.Drawing.Point(12, 9);
    1.29 -            this.lblWarFoundry.Name = "lblWarFoundry";
    1.30 -            this.lblWarFoundry.Size = new System.Drawing.Size(212, 45);
    1.31 -            this.lblWarFoundry.TabIndex = 0;
    1.32 -            this.lblWarFoundry.Text = "WarFoundry";
    1.33 -            // 
    1.34 -            // lblVersion
    1.35 -            // 
    1.36 -            this.lblVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    1.37 -            this.lblVersion.Location = new System.Drawing.Point(16, 54);
    1.38 -            this.lblVersion.Name = "lblVersion";
    1.39 -            this.lblVersion.Size = new System.Drawing.Size(264, 23);
    1.40 -            this.lblVersion.TabIndex = 1;
    1.41 -            this.lblVersion.Text = "v?.?";
    1.42 -            // 
    1.43 -            // tabControl1
    1.44 -            // 
    1.45 -            this.tabControl1.Controls.Add(this.developersPage);
    1.46 -            this.tabControl1.Controls.Add(this.testersPage);
    1.47 -            this.tabControl1.Controls.Add(this.translatorsPage);
    1.48 -            this.tabControl1.Location = new System.Drawing.Point(12, 80);
    1.49 -            this.tabControl1.Name = "tabControl1";
    1.50 -            this.tabControl1.SelectedIndex = 0;
    1.51 -            this.tabControl1.Size = new System.Drawing.Size(276, 184);
    1.52 -            this.tabControl1.TabIndex = 6;
    1.53 -            // 
    1.54 -            // developersPage
    1.55 -            // 
    1.56 -            this.developersPage.Controls.Add(this.listBox1);
    1.57 -            this.developersPage.Location = new System.Drawing.Point(4, 22);
    1.58 -            this.developersPage.Name = "developersPage";
    1.59 -            this.developersPage.Padding = new System.Windows.Forms.Padding(3);
    1.60 -            this.developersPage.Size = new System.Drawing.Size(268, 158);
    1.61 -            this.developersPage.TabIndex = 0;
    1.62 -            this.developersPage.Text = "Developers";
    1.63 -            this.developersPage.UseVisualStyleBackColor = true;
    1.64 -            // 
    1.65 -            // listBox1
    1.66 -            // 
    1.67 -            this.listBox1.FormattingEnabled = true;
    1.68 -            this.listBox1.Items.AddRange(new object[] {
    1.69 +			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmAbout));
    1.70 +			this.lblWarFoundry = new System.Windows.Forms.Label();
    1.71 +			this.lblVersion = new System.Windows.Forms.Label();
    1.72 +			this.listBox1 = new System.Windows.Forms.ListBox();
    1.73 +			this.listBox2 = new System.Windows.Forms.ListBox();
    1.74 +			this.listBox3 = new System.Windows.Forms.ListBox();
    1.75 +			this.pictureBox1 = new System.Windows.Forms.PictureBox();
    1.76 +			this.nameTabs = new IBBoard.Windows.Forms.IBBTabControl();
    1.77 +			this.developersPage = new System.Windows.Forms.TabPage();
    1.78 +			this.testersPage = new System.Windows.Forms.TabPage();
    1.79 +			this.translatorsPage = new System.Windows.Forms.TabPage();
    1.80 +			((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
    1.81 +			this.nameTabs.SuspendLayout();
    1.82 +			this.developersPage.SuspendLayout();
    1.83 +			this.testersPage.SuspendLayout();
    1.84 +			this.translatorsPage.SuspendLayout();
    1.85 +			this.SuspendLayout();
    1.86 +			// 
    1.87 +			// lblWarFoundry
    1.88 +			// 
    1.89 +			this.lblWarFoundry.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    1.90 +			this.lblWarFoundry.Location = new System.Drawing.Point(12, 9);
    1.91 +			this.lblWarFoundry.Name = "lblWarFoundry";
    1.92 +			this.lblWarFoundry.Size = new System.Drawing.Size(212, 45);
    1.93 +			this.lblWarFoundry.TabIndex = 0;
    1.94 +			this.lblWarFoundry.Text = "WarFoundry";
    1.95 +			// 
    1.96 +			// lblVersion
    1.97 +			// 
    1.98 +			this.lblVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    1.99 +			this.lblVersion.Location = new System.Drawing.Point(16, 54);
   1.100 +			this.lblVersion.Name = "lblVersion";
   1.101 +			this.lblVersion.Size = new System.Drawing.Size(264, 23);
   1.102 +			this.lblVersion.TabIndex = 1;
   1.103 +			this.lblVersion.Text = "v?.?";
   1.104 +			// 
   1.105 +			// listBox1
   1.106 +			// 
   1.107 +			this.listBox1.FormattingEnabled = true;
   1.108 +			this.listBox1.Items.AddRange(new object[] {
   1.109              "IBBoard (Main developer and project lead)",
   1.110 -            "Snowblizz (Default army names and translation fixes)"});
   1.111 -            this.listBox1.Location = new System.Drawing.Point(0, 0);
   1.112 -            this.listBox1.Name = "listBox1";
   1.113 -            this.listBox1.Size = new System.Drawing.Size(268, 160);
   1.114 -            this.listBox1.TabIndex = 0;
   1.115 -            // 
   1.116 -            // testersPage
   1.117 -            // 
   1.118 -            this.testersPage.Controls.Add(this.listBox2);
   1.119 -            this.testersPage.Location = new System.Drawing.Point(4, 22);
   1.120 -            this.testersPage.Name = "testersPage";
   1.121 -            this.testersPage.Padding = new System.Windows.Forms.Padding(3);
   1.122 -            this.testersPage.Size = new System.Drawing.Size(268, 158);
   1.123 -            this.testersPage.TabIndex = 1;
   1.124 -            this.testersPage.Text = "Testers";
   1.125 -            this.testersPage.UseVisualStyleBackColor = true;
   1.126 -            // 
   1.127 -            // listBox2
   1.128 -            // 
   1.129 -            this.listBox2.FormattingEnabled = true;
   1.130 -            this.listBox2.Items.AddRange(new object[] {
   1.131 +            "Snowblizz (Default army names and translation fixes)",
   1.132 +            "Clutch (XML export with XSL transforms)"});
   1.133 +			this.listBox1.Location = new System.Drawing.Point(0, 0);
   1.134 +			this.listBox1.Name = "listBox1";
   1.135 +			this.listBox1.Size = new System.Drawing.Size(268, 160);
   1.136 +			this.listBox1.TabIndex = 0;
   1.137 +			// 
   1.138 +			// listBox2
   1.139 +			// 
   1.140 +			this.listBox2.FormattingEnabled = true;
   1.141 +			this.listBox2.Items.AddRange(new object[] {
   1.142              "Snowblizz",
   1.143              "Frostlee",
   1.144              "Lord_Archaon",
   1.145 @@ -119,65 +87,98 @@
   1.146              "clutch110",
   1.147              "Mollo",
   1.148              "HeWhoWatches"});
   1.149 -            this.listBox2.Location = new System.Drawing.Point(0, -1);
   1.150 -            this.listBox2.Name = "listBox2";
   1.151 -            this.listBox2.Size = new System.Drawing.Size(268, 160);
   1.152 -            this.listBox2.TabIndex = 1;
   1.153 -            // 
   1.154 -            // translatorsPage
   1.155 -            // 
   1.156 -            this.translatorsPage.Controls.Add(this.listBox3);
   1.157 -            this.translatorsPage.Location = new System.Drawing.Point(4, 22);
   1.158 -            this.translatorsPage.Name = "translatorsPage";
   1.159 -            this.translatorsPage.Size = new System.Drawing.Size(268, 158);
   1.160 -            this.translatorsPage.TabIndex = 2;
   1.161 -            this.translatorsPage.Text = "Translators";
   1.162 -            this.translatorsPage.UseVisualStyleBackColor = true;
   1.163 -            // 
   1.164 -            // listBox3
   1.165 -            // 
   1.166 -            this.listBox3.FormattingEnabled = true;
   1.167 -            this.listBox3.Items.AddRange(new object[] {
   1.168 +			this.listBox2.Location = new System.Drawing.Point(0, 0);
   1.169 +			this.listBox2.Name = "listBox2";
   1.170 +			this.listBox2.Size = new System.Drawing.Size(268, 160);
   1.171 +			this.listBox2.TabIndex = 1;
   1.172 +			// 
   1.173 +			// listBox3
   1.174 +			// 
   1.175 +			this.listBox3.FormattingEnabled = true;
   1.176 +			this.listBox3.Items.AddRange(new object[] {
   1.177              "Snowblizz (Swedish and Finnish translations)",
   1.178              "Frostlee (Italian translation)",
   1.179              "Lord_Archaon (Russian translation)",
   1.180              "Furrie (Dutch translation)",
   1.181              "Dreadaxe (French translation)",
   1.182              "Blackhawk (German translation)"});
   1.183 -            this.listBox3.Location = new System.Drawing.Point(0, -1);
   1.184 -            this.listBox3.Name = "listBox3";
   1.185 -            this.listBox3.Size = new System.Drawing.Size(268, 160);
   1.186 -            this.listBox3.TabIndex = 1;
   1.187 -            // 
   1.188 -            // pictureBox1
   1.189 -            // 
   1.190 -            this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
   1.191 -            this.pictureBox1.Location = new System.Drawing.Point(230, 12);
   1.192 -            this.pictureBox1.Name = "pictureBox1";
   1.193 -            this.pictureBox1.Size = new System.Drawing.Size(68, 68);
   1.194 -            this.pictureBox1.TabIndex = 7;
   1.195 -            this.pictureBox1.TabStop = false;
   1.196 -            // 
   1.197 -            // FrmAbout
   1.198 -            // 
   1.199 -            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
   1.200 -            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
   1.201 -            this.ClientSize = new System.Drawing.Size(300, 276);
   1.202 -            this.Controls.Add(this.pictureBox1);
   1.203 -            this.Controls.Add(this.tabControl1);
   1.204 -            this.Controls.Add(this.lblVersion);
   1.205 -            this.Controls.Add(this.lblWarFoundry);
   1.206 -            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
   1.207 -            this.MaximizeBox = false;
   1.208 -            this.MinimizeBox = false;
   1.209 -            this.Name = "FrmAbout";
   1.210 -            this.Text = "FrmAbout";
   1.211 -            this.tabControl1.ResumeLayout(false);
   1.212 -            this.developersPage.ResumeLayout(false);
   1.213 -            this.testersPage.ResumeLayout(false);
   1.214 -            this.translatorsPage.ResumeLayout(false);
   1.215 -            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
   1.216 -            this.ResumeLayout(false);
   1.217 +			this.listBox3.Location = new System.Drawing.Point(0, 0);
   1.218 +			this.listBox3.Name = "listBox3";
   1.219 +			this.listBox3.Size = new System.Drawing.Size(268, 160);
   1.220 +			this.listBox3.TabIndex = 1;
   1.221 +			// 
   1.222 +			// pictureBox1
   1.223 +			// 
   1.224 +			this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
   1.225 +			this.pictureBox1.Location = new System.Drawing.Point(230, 12);
   1.226 +			this.pictureBox1.Name = "pictureBox1";
   1.227 +			this.pictureBox1.Size = new System.Drawing.Size(68, 68);
   1.228 +			this.pictureBox1.TabIndex = 7;
   1.229 +			this.pictureBox1.TabStop = false;
   1.230 +			// 
   1.231 +			// nameTabs
   1.232 +			// 
   1.233 +			this.nameTabs.Controls.Add(this.developersPage);
   1.234 +			this.nameTabs.Controls.Add(this.testersPage);
   1.235 +			this.nameTabs.Controls.Add(this.translatorsPage);
   1.236 +			this.nameTabs.Location = new System.Drawing.Point(12, 80);
   1.237 +			this.nameTabs.Name = "nameTabs";
   1.238 +			this.nameTabs.SelectedIndex = 0;
   1.239 +			this.nameTabs.Size = new System.Drawing.Size(276, 184);
   1.240 +			this.nameTabs.TabIndex = 8;
   1.241 +			// 
   1.242 +			// developersPage
   1.243 +			// 
   1.244 +			this.developersPage.Controls.Add(this.listBox1);
   1.245 +			this.developersPage.Location = new System.Drawing.Point(4, 22);
   1.246 +			this.developersPage.Name = "developersPage";
   1.247 +			this.developersPage.Padding = new System.Windows.Forms.Padding(3);
   1.248 +			this.developersPage.Size = new System.Drawing.Size(268, 158);
   1.249 +			this.developersPage.TabIndex = 0;
   1.250 +			this.developersPage.Text = "developers";
   1.251 +			this.developersPage.UseVisualStyleBackColor = true;
   1.252 +			// 
   1.253 +			// testersPage
   1.254 +			// 
   1.255 +			this.testersPage.Controls.Add(this.listBox2);
   1.256 +			this.testersPage.Location = new System.Drawing.Point(4, 22);
   1.257 +			this.testersPage.Name = "testersPage";
   1.258 +			this.testersPage.Padding = new System.Windows.Forms.Padding(3);
   1.259 +			this.testersPage.Size = new System.Drawing.Size(268, 158);
   1.260 +			this.testersPage.TabIndex = 1;
   1.261 +			this.testersPage.Text = "testers";
   1.262 +			this.testersPage.UseVisualStyleBackColor = true;
   1.263 +			// 
   1.264 +			// translatorsPage
   1.265 +			// 
   1.266 +			this.translatorsPage.Controls.Add(this.listBox3);
   1.267 +			this.translatorsPage.Location = new System.Drawing.Point(4, 22);
   1.268 +			this.translatorsPage.Name = "translatorsPage";
   1.269 +			this.translatorsPage.Size = new System.Drawing.Size(268, 158);
   1.270 +			this.translatorsPage.TabIndex = 2;
   1.271 +			this.translatorsPage.Text = "translators";
   1.272 +			this.translatorsPage.UseVisualStyleBackColor = true;
   1.273 +			// 
   1.274 +			// FrmAbout
   1.275 +			// 
   1.276 +			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
   1.277 +			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
   1.278 +			this.ClientSize = new System.Drawing.Size(300, 276);
   1.279 +			this.Controls.Add(this.nameTabs);
   1.280 +			this.Controls.Add(this.pictureBox1);
   1.281 +			this.Controls.Add(this.lblVersion);
   1.282 +			this.Controls.Add(this.lblWarFoundry);
   1.283 +			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
   1.284 +			this.MaximizeBox = false;
   1.285 +			this.MinimizeBox = false;
   1.286 +			this.Name = "FrmAbout";
   1.287 +			this.Text = "FrmAbout";
   1.288 +			((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
   1.289 +			this.nameTabs.ResumeLayout(false);
   1.290 +			this.developersPage.ResumeLayout(false);
   1.291 +			this.testersPage.ResumeLayout(false);
   1.292 +			this.translatorsPage.ResumeLayout(false);
   1.293 +			this.ResumeLayout(false);
   1.294  
   1.295  		}
   1.296  
   1.297 @@ -185,13 +186,13 @@
   1.298  
   1.299  		private System.Windows.Forms.Label lblWarFoundry;
   1.300  		private System.Windows.Forms.Label lblVersion;
   1.301 -		private System.Windows.Forms.TabControl tabControl1;
   1.302 -		private System.Windows.Forms.TabPage developersPage;
   1.303 -		private System.Windows.Forms.TabPage testersPage;
   1.304 -		private System.Windows.Forms.TabPage translatorsPage;
   1.305  		private System.Windows.Forms.ListBox listBox1;
   1.306  		private System.Windows.Forms.ListBox listBox2;
   1.307  		private System.Windows.Forms.ListBox listBox3;
   1.308  		private System.Windows.Forms.PictureBox pictureBox1;
   1.309 +		private Windows.Forms.IBBTabControl nameTabs;
   1.310 +		private System.Windows.Forms.TabPage developersPage;
   1.311 +		private System.Windows.Forms.TabPage testersPage;
   1.312 +		private System.Windows.Forms.TabPage translatorsPage;
   1.313  	}
   1.314  }
   1.315 \ No newline at end of file
     2.1 --- a/FrmAbout.resx	Sat Jan 21 11:56:44 2012 +0000
     2.2 +++ b/FrmAbout.resx	Sat Jan 21 16:34:18 2012 +0000
     2.3 @@ -121,8 +121,8 @@
     2.4    <data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
     2.5      <value>
     2.6          iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
     2.7 -        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAScwAA
     2.8 -        EnMBjCK5BwAAFORJREFUeF7lWwdUVXeax2QmszuzmbO72Zk52clms9lksjsnM0lmM2pMTLEbY2KLIhaq
     2.9 +        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAAScQAA
    2.10 +        EnEB89x6jgAAFORJREFUeF7lWwdUVXeax2QmszuzmbO72Zk52clms9lksjsnM0lmM2pMTLEbY2KLIhaq
    2.11          qIg0QVBAQZTOo/cmRaRL7733ZkFQRLFreheEb7/fH+477z0e8HAyOXGGc77zHvfe/+X+fl///pc5RKT1
    2.12          d/0DAv6eZVbgnZy0fuJhrrXUdY/WE4qkeZlr/RGieAzX4FqskY7/kOs1VarGBODhPa3mXHI31yJ3C60R
    2.13          Vwut1/BHPCy13MUxFnzHMZzDNTiGNVj7Q67XFLxwf00vdjPTWgFA17vfpuhjvxzxMNOKxFpPyzlfVae9
     3.1 --- a/translations/en.translation	Sat Jan 21 11:56:44 2012 +0000
     3.2 +++ b/translations/en.translation	Sat Jan 21 16:34:18 2012 +0000
     3.3 @@ -74,6 +74,9 @@
     3.4  	<translation id="removeEquipmentTitle">Confirm equipment removal</translation>
     3.5  	<translation id="FrmAbout">About WarFoundry</translation>
     3.6  	<translation id="lblVersion">Version: {0}</translation>
     3.7 +	<translation id="developersPage">Developers</translation>
     3.8 +	<translation id="testersPage">Testers</translation>
     3.9 +	<translation id="translatorsPage">Translators</translation>
    3.10  	<translation id="FrmUnit">{0} ({1})</translation>
    3.11  	<translation id="FrmUnitlblPoints">({0} {1})</translation>
    3.12  	<translation id="lblUnitSize">Unit size:</translation>
     4.1 --- a/translations/fr.translation	Sat Jan 21 11:56:44 2012 +0000
     4.2 +++ b/translations/fr.translation	Sat Jan 21 16:34:18 2012 +0000
     4.3 @@ -56,9 +56,10 @@
     4.4  	<translation id="equipNumberTooSmallTitle">Nombre de point d'équipement trop faible</translation>
     4.5  	<translation id="FrmEditUnitEquipment">Édition {0} pour {1}</translation>
     4.6  	<translation id="FrmAbout">À propos de WarFoundry</translation>
     4.7 -	<translation id="lblVersion">Version : {0}</translation>
     4.8 -	<translation id="lblDevelopers">Développeurs :</translation>
     4.9 -	<translation id="lblThanks">Remerciement :</translation>
    4.10 +	<translation id="lblVersion">Version: {0}</translation>
    4.11 +	<translation id="developersPage">Développeurs</translation>
    4.12 +	<translation id="testersPage">Testeurs</translation>
    4.13 +	<translation id="translatorsPage">Traducteurs</translation>
    4.14  	<translation id="FrmUnit">{0}</translation>
    4.15  	<translation id="lblUnitSize">Taille d'unité :</translation>
    4.16  	<translation id="lblEquip">Équipement :</translation>