changeset 106:3fae39208d06

Fixes #179: Make sure that translations are used throughout UI * Translate tooltip for "total points" panel * Add translation for tooltip to English file * Change some default messages to default capitalisation and sensible values Also: * Bump version to v0.1b6pre (looks like v0.1b5 is still showing itself as v0.1b4!)
author IBBoard <dev@ibboard.co.uk>
date Sat, 28 Nov 2009 16:29:03 +0000
parents e598c0d2584d
children 775a34b78051
files FrmMain.cs FrmNewArmy.cs translations/en.translation
diffstat 3 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/FrmMain.cs	Sat Nov 28 15:22:57 2009 +0000
+++ b/FrmMain.cs	Sat Nov 28 16:29:03 2009 +0000
@@ -36,7 +36,7 @@
 	public class FrmMain : System.Windows.Forms.Form
 	{
 		private static readonly string AppTitle = "WarFoundry";
-		internal static readonly string VERSION = "0.1b4";
+		internal static readonly string VERSION = "0.1b6pre";
         const string DefaultDataDir = "data";
 
 		private Preferences preferences;
@@ -148,6 +148,7 @@
 			//FailedUnitRequirementMethod = new FailedUnitRequirementDelegate(FrmMain_FailedUnitRequirement);
 
 			sbErrorPanel.Color = Color.Red;
+			sbPointsPanel.ToolTipText = Translation.GetTranslation("statusPanelPointsToolTip", "total points value");
 
 			armyTree = new FrmArmyTree(CommandStack);
 			armyTree.MdiParent = this;
@@ -290,7 +291,7 @@
 			this.sbPointsPanel.Color = System.Drawing.SystemColors.WindowText;
 			this.sbPointsPanel.Name = "sbPointsPanel";
 			this.sbPointsPanel.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw;
-			this.sbPointsPanel.ToolTipText = "Current Points Total";
+			this.sbPointsPanel.ToolTipText = "current points total";
 			this.sbPointsPanel.Width = 150;
 			// 
 			// toolBar
--- a/FrmNewArmy.cs	Sat Nov 28 15:22:57 2009 +0000
+++ b/FrmNewArmy.cs	Sat Nov 28 16:29:03 2009 +0000
@@ -122,7 +122,7 @@
 			this.bttnCancel.Name = "bttnCancel";
 			this.bttnCancel.Size = new System.Drawing.Size(80, 24);
 			this.bttnCancel.TabIndex = 6;
-			this.bttnCancel.Text = "Cancel";
+			this.bttnCancel.Text = "cancel";
 			this.bttnCancel.Click += new System.EventHandler(this.bttnCancel_Click);
 			// 
 			// lblRaceList
@@ -142,7 +142,7 @@
 			this.bttnSelectRace.Name = "bttnSelectRace";
 			this.bttnSelectRace.Size = new System.Drawing.Size(104, 24);
 			this.bttnSelectRace.TabIndex = 4;
-			this.bttnSelectRace.Text = "create race";
+			this.bttnSelectRace.Text = "create army";
 			this.bttnSelectRace.Click += new System.EventHandler(this.bttnSelectRace_Click);
 			// 
 			// lblArmyName
--- a/translations/en.translation	Sat Nov 28 15:22:57 2009 +0000
+++ b/translations/en.translation	Sat Nov 28 16:29:03 2009 +0000
@@ -27,6 +27,7 @@
 	<translation id="saveArmyDialog">Save Army</translation>
 	<translation id="armyFileFilter">WarFoundry Army Files (*.army)</translation>
 	<translation id="statusPanelPoints">{0} pts / {1} pts</translation>
+	<translation id="statusPanelPointsToolTip">Current army points value</translation>
 	<translation id="defaultUnitName">Unit of {0} {1}</translation>
 	<translation id="FrmNewArmy">Create new army</translation>
 	<translation id="lblGameSystem">Game systems:</translation>