changeset 235:f7b0cdb54c9c

Re #203: Translate WarFoundry * Swap buttons to IBB versions so that they're translatable * Add translations to English text
author IBBoard <dev@ibboard.co.uk>
date Sat, 21 Jan 2012 11:56:44 +0000
parents c06d0865ff27
children dd893a582184
files FrmArmyTree.Designer.cs translations/en.translation
diffstat 2 files changed, 32 insertions(+), 27 deletions(-) [+]
line wrap: on
line diff
--- a/FrmArmyTree.Designer.cs	Sat Jan 21 11:36:23 2012 +0000
+++ b/FrmArmyTree.Designer.cs	Sat Jan 21 11:56:44 2012 +0000
@@ -36,10 +36,10 @@
 			this.miEditUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem();
 			this.miDeleteUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem();
 			this.toolStrip1 = new System.Windows.Forms.ToolStrip();
-			this.bttnEdit = new System.Windows.Forms.ToolStripButton();
-			this.bttnDelete = new System.Windows.Forms.ToolStripButton();
 			this.miAddUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem();
 			this.bttnAdd = new IBBoard.Windows.Forms.IBBToolStripButton();
+			this.bttnEdit = new IBBoard.Windows.Forms.IBBToolStripButton();
+			this.bttnDelete = new IBBoard.Windows.Forms.IBBToolStripButton();
 			this.toolStripContainer1.ContentPanel.SuspendLayout();
 			this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
 			this.toolStripContainer1.SuspendLayout();
@@ -127,28 +127,6 @@
 			this.toolStrip1.Size = new System.Drawing.Size(112, 25);
 			this.toolStrip1.TabIndex = 0;
 			// 
-			// bttnEdit
-			// 
-			this.bttnEdit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
-			this.bttnEdit.Enabled = false;
-			this.bttnEdit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit;
-			this.bttnEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
-			this.bttnEdit.Name = "bttnEdit";
-			this.bttnEdit.Size = new System.Drawing.Size(23, 22);
-			this.bttnEdit.Text = "toolStripButton1";
-			this.bttnEdit.Click += new System.EventHandler(this.bttnEdit_Click);
-			// 
-			// bttnDelete
-			// 
-			this.bttnDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
-			this.bttnDelete.Enabled = false;
-			this.bttnDelete.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.edit_delete;
-			this.bttnDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
-			this.bttnDelete.Name = "bttnDelete";
-			this.bttnDelete.Size = new System.Drawing.Size(23, 22);
-			this.bttnDelete.Text = "toolStripButton2";
-			this.bttnDelete.Click += new System.EventHandler(this.bttnDelete_Click);
-			// 
 			// miAddUnit
 			// 
 			this.miAddUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.list_add;
@@ -160,13 +138,36 @@
 			// bttnAdd
 			// 
 			this.bttnAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+			this.bttnAdd.Enabled = false;
 			this.bttnAdd.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.list_add;
 			this.bttnAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
 			this.bttnAdd.Name = "bttnAdd";
 			this.bttnAdd.Size = new System.Drawing.Size(23, 22);
-			this.bttnAdd.Text = "ibbToolStripButton1";
+			this.bttnAdd.Text = "add unit";
 			this.bttnAdd.Click += new System.EventHandler(this.bttnAdd_Click);
 			// 
+			// bttnEdit
+			// 
+			this.bttnEdit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+			this.bttnEdit.Enabled = false;
+			this.bttnEdit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit;
+			this.bttnEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
+			this.bttnEdit.Name = "bttnEdit";
+			this.bttnEdit.Size = new System.Drawing.Size(23, 22);
+			this.bttnEdit.Text = "edit";
+			this.bttnEdit.Click += new System.EventHandler(this.bttnEdit_Click);
+			// 
+			// bttnDelete
+			// 
+			this.bttnDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
+			this.bttnDelete.Enabled = false;
+			this.bttnDelete.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.edit_delete;
+			this.bttnDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
+			this.bttnDelete.Name = "bttnDelete";
+			this.bttnDelete.Size = new System.Drawing.Size(23, 22);
+			this.bttnDelete.Text = "delete";
+			this.bttnDelete.Click += new System.EventHandler(this.bttnDelete_Click);
+			// 
 			// FrmArmyTree
 			// 
 			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -194,8 +195,6 @@
 
 		private System.Windows.Forms.ToolStripContainer toolStripContainer1;
 		private System.Windows.Forms.ToolStrip toolStrip1;
-		private System.Windows.Forms.ToolStripButton bttnEdit;
-		private System.Windows.Forms.ToolStripButton bttnDelete;
 		private System.Windows.Forms.TreeView treeView;
 		private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
 		private Windows.Forms.IBBToolStripMenuItem miEditArmy;
@@ -203,5 +202,7 @@
 		private Windows.Forms.IBBToolStripMenuItem miDeleteUnit;
 		private Windows.Forms.IBBToolStripMenuItem miAddUnit;
 		private Windows.Forms.IBBToolStripButton bttnAdd;
+		private Windows.Forms.IBBToolStripButton bttnEdit;
+		private Windows.Forms.IBBToolStripButton bttnDelete;
 	}
 }
\ No newline at end of file
--- a/translations/en.translation	Sat Jan 21 11:36:23 2012 +0000
+++ b/translations/en.translation	Sat Jan 21 11:56:44 2012 +0000
@@ -26,8 +26,12 @@
 	<translation id="bttnUndo">Undo</translation>
 	<translation id="bttnRedo">Redo</translation>
 	<translation id="ArmyTree">Army Tree</translation>
+	<translation id="bttnAdd">&amp;Add unit</translation>
+	<translation id="bttnDelete">&amp;Delete unit</translation>
+	<translation id="bttnEdit">&amp;Edit</translation>
 	<translation id="miDeleteUnit">&amp;Delete unit</translation>
 	<translation id="miEditUnit">&amp;Edit unit</translation>
+	<translation id="miAddUnit">&amp;Add unit</translation>
 	<translation id="openArmyDialog">Open Army</translation>
 	<translation id="saveArmyDialog">Save Army</translation>
 	<translation id="armyFileFilter">WarFoundry Army Files (*.army)</translation>