# HG changeset patch # User IBBoard # Date 1259425743 0 # Node ID 3fae39208d0680baaa0da3e8315f1d95dba83e94 # Parent e598c0d2584d644041215e5118b5cc56f7661db7 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!) diff -r e598c0d2584d -r 3fae39208d06 FrmMain.cs --- 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 diff -r e598c0d2584d -r 3fae39208d06 FrmNewArmy.cs --- 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 diff -r e598c0d2584d -r 3fae39208d06 translations/en.translation --- 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 @@ Save Army WarFoundry Army Files (*.army) {0} pts / {1} pts + Current army points value Unit of {0} {1} Create new army Game systems: