Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
diff FrmNewArmy.cs @ 86:9515b57ba752
Re #308: Make GTK# UI translatable
* Make form buttons translatable using new method
* Swap "Create" button to a stock "OK" so that we don't lose the image on translation
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 29 Dec 2010 19:41:51 +0000 |
parents | bfb29a60b802 |
children | b4416ca69153 |
line wrap: on
line diff
--- a/FrmNewArmy.cs Wed Dec 29 16:56:55 2010 +0000 +++ b/FrmNewArmy.cs Wed Dec 29 19:41:51 2010 +0000 @@ -51,8 +51,7 @@ protected override void Translate() { base.Translate(); - bttnCreate.Label = Translation.GetTranslation("bttnCreate", "create"); - bttnCancel.Label = Translation.GetTranslation("bttnCancel", "cancel"); + ControlTranslator.TranslateButtons(bttnCreate, bttnCancel); } protected virtual void OnSelectionChanged(object o, EventArgs e)