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 diff
     1.1 --- a/FrmArmyTree.Designer.cs	Sat Jan 21 11:36:23 2012 +0000
     1.2 +++ b/FrmArmyTree.Designer.cs	Sat Jan 21 11:56:44 2012 +0000
     1.3 @@ -36,10 +36,10 @@
     1.4  			this.miEditUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem();
     1.5  			this.miDeleteUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem();
     1.6  			this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     1.7 -			this.bttnEdit = new System.Windows.Forms.ToolStripButton();
     1.8 -			this.bttnDelete = new System.Windows.Forms.ToolStripButton();
     1.9  			this.miAddUnit = new IBBoard.Windows.Forms.IBBToolStripMenuItem();
    1.10  			this.bttnAdd = new IBBoard.Windows.Forms.IBBToolStripButton();
    1.11 +			this.bttnEdit = new IBBoard.Windows.Forms.IBBToolStripButton();
    1.12 +			this.bttnDelete = new IBBoard.Windows.Forms.IBBToolStripButton();
    1.13  			this.toolStripContainer1.ContentPanel.SuspendLayout();
    1.14  			this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
    1.15  			this.toolStripContainer1.SuspendLayout();
    1.16 @@ -127,28 +127,6 @@
    1.17  			this.toolStrip1.Size = new System.Drawing.Size(112, 25);
    1.18  			this.toolStrip1.TabIndex = 0;
    1.19  			// 
    1.20 -			// bttnEdit
    1.21 -			// 
    1.22 -			this.bttnEdit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
    1.23 -			this.bttnEdit.Enabled = false;
    1.24 -			this.bttnEdit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit;
    1.25 -			this.bttnEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
    1.26 -			this.bttnEdit.Name = "bttnEdit";
    1.27 -			this.bttnEdit.Size = new System.Drawing.Size(23, 22);
    1.28 -			this.bttnEdit.Text = "toolStripButton1";
    1.29 -			this.bttnEdit.Click += new System.EventHandler(this.bttnEdit_Click);
    1.30 -			// 
    1.31 -			// bttnDelete
    1.32 -			// 
    1.33 -			this.bttnDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
    1.34 -			this.bttnDelete.Enabled = false;
    1.35 -			this.bttnDelete.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.edit_delete;
    1.36 -			this.bttnDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
    1.37 -			this.bttnDelete.Name = "bttnDelete";
    1.38 -			this.bttnDelete.Size = new System.Drawing.Size(23, 22);
    1.39 -			this.bttnDelete.Text = "toolStripButton2";
    1.40 -			this.bttnDelete.Click += new System.EventHandler(this.bttnDelete_Click);
    1.41 -			// 
    1.42  			// miAddUnit
    1.43  			// 
    1.44  			this.miAddUnit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.list_add;
    1.45 @@ -160,13 +138,36 @@
    1.46  			// bttnAdd
    1.47  			// 
    1.48  			this.bttnAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
    1.49 +			this.bttnAdd.Enabled = false;
    1.50  			this.bttnAdd.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.list_add;
    1.51  			this.bttnAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
    1.52  			this.bttnAdd.Name = "bttnAdd";
    1.53  			this.bttnAdd.Size = new System.Drawing.Size(23, 22);
    1.54 -			this.bttnAdd.Text = "ibbToolStripButton1";
    1.55 +			this.bttnAdd.Text = "add unit";
    1.56  			this.bttnAdd.Click += new System.EventHandler(this.bttnAdd_Click);
    1.57  			// 
    1.58 +			// bttnEdit
    1.59 +			// 
    1.60 +			this.bttnEdit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
    1.61 +			this.bttnEdit.Enabled = false;
    1.62 +			this.bttnEdit.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.gtk_edit;
    1.63 +			this.bttnEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
    1.64 +			this.bttnEdit.Name = "bttnEdit";
    1.65 +			this.bttnEdit.Size = new System.Drawing.Size(23, 22);
    1.66 +			this.bttnEdit.Text = "edit";
    1.67 +			this.bttnEdit.Click += new System.EventHandler(this.bttnEdit_Click);
    1.68 +			// 
    1.69 +			// bttnDelete
    1.70 +			// 
    1.71 +			this.bttnDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
    1.72 +			this.bttnDelete.Enabled = false;
    1.73 +			this.bttnDelete.Image = global::IBBoard.WarFoundry.GUI.WinForms.Properties.Resources.edit_delete;
    1.74 +			this.bttnDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
    1.75 +			this.bttnDelete.Name = "bttnDelete";
    1.76 +			this.bttnDelete.Size = new System.Drawing.Size(23, 22);
    1.77 +			this.bttnDelete.Text = "delete";
    1.78 +			this.bttnDelete.Click += new System.EventHandler(this.bttnDelete_Click);
    1.79 +			// 
    1.80  			// FrmArmyTree
    1.81  			// 
    1.82  			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    1.83 @@ -194,8 +195,6 @@
    1.84  
    1.85  		private System.Windows.Forms.ToolStripContainer toolStripContainer1;
    1.86  		private System.Windows.Forms.ToolStrip toolStrip1;
    1.87 -		private System.Windows.Forms.ToolStripButton bttnEdit;
    1.88 -		private System.Windows.Forms.ToolStripButton bttnDelete;
    1.89  		private System.Windows.Forms.TreeView treeView;
    1.90  		private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
    1.91  		private Windows.Forms.IBBToolStripMenuItem miEditArmy;
    1.92 @@ -203,5 +202,7 @@
    1.93  		private Windows.Forms.IBBToolStripMenuItem miDeleteUnit;
    1.94  		private Windows.Forms.IBBToolStripMenuItem miAddUnit;
    1.95  		private Windows.Forms.IBBToolStripButton bttnAdd;
    1.96 +		private Windows.Forms.IBBToolStripButton bttnEdit;
    1.97 +		private Windows.Forms.IBBToolStripButton bttnDelete;
    1.98  	}
    1.99  }
   1.100 \ No newline at end of file
     2.1 --- a/translations/en.translation	Sat Jan 21 11:36:23 2012 +0000
     2.2 +++ b/translations/en.translation	Sat Jan 21 11:56:44 2012 +0000
     2.3 @@ -26,8 +26,12 @@
     2.4  	<translation id="bttnUndo">Undo</translation>
     2.5  	<translation id="bttnRedo">Redo</translation>
     2.6  	<translation id="ArmyTree">Army Tree</translation>
     2.7 +	<translation id="bttnAdd">&amp;Add unit</translation>
     2.8 +	<translation id="bttnDelete">&amp;Delete unit</translation>
     2.9 +	<translation id="bttnEdit">&amp;Edit</translation>
    2.10  	<translation id="miDeleteUnit">&amp;Delete unit</translation>
    2.11  	<translation id="miEditUnit">&amp;Edit unit</translation>
    2.12 +	<translation id="miAddUnit">&amp;Add unit</translation>
    2.13  	<translation id="openArmyDialog">Open Army</translation>
    2.14  	<translation id="saveArmyDialog">Save Army</translation>
    2.15  	<translation id="armyFileFilter">WarFoundry Army Files (*.army)</translation>