Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.WinForms
diff FrmMain.cs @ 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 | 4c5c8f91937a |
children | 39b93ca5fb9c |
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