Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
diff gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.cs @ 97:6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
* More standardisation of widget names with WinForms
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 02 Jan 2011 15:50:29 +0000 |
parents | 58779fcd0166 |
children | 5b92d2be69d8 |
line wrap: on
line diff
--- a/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.cs Sun Jan 02 15:12:31 2011 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewUnit.cs Sun Jan 02 15:50:29 2011 +0000 @@ -6,7 +6,7 @@ { private global::Gtk.VBox vbox2; private global::Gtk.HBox hbox1; - private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblUnitType; + private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblUnitList; private global::Gtk.ScrolledWindow GtkScrolledWindow; private global::Gtk.TreeView lstUnitTypes; private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblNewUnitWarning; @@ -37,11 +37,11 @@ this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild - this.lblUnitType = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); - this.lblUnitType.Name = "lblUnitType"; - this.lblUnitType.LabelProp = global::Mono.Unix.Catalog.GetString("unit type"); - this.hbox1.Add(this.lblUnitType); - global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lblUnitType])); + this.lblUnitList = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); + this.lblUnitList.Name = "lblUnitList"; + this.lblUnitList.LabelProp = global::Mono.Unix.Catalog.GetString("unit type"); + this.hbox1.Add(this.lblUnitList); + global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lblUnitList])); w2.Position = 0; w2.Expand = false; w2.Fill = false;