Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
diff gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmEditEquipment.cs @ 92:58779fcd0166
Re #308: Make GTK# UI translatable
* Switch lots of labels to translatable versions
* Swap some default text to lower-case to make it easier to spot missing translations
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 31 Dec 2010 12:01:18 +0000 |
parents | 68804784bf6f |
children | e40d892a2298 |
line wrap: on
line diff
--- a/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmEditEquipment.cs Fri Dec 31 11:36:06 2010 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmEditEquipment.cs Fri Dec 31 12:01:18 2010 +0000 @@ -7,14 +7,14 @@ private global::Gtk.Table table1; private global::Gtk.HBox hbox2; private global::Gtk.Table table2; - private global::Gtk.Label lblEquipAll; - private global::Gtk.Label lblPercent; + private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblEquipAll; + private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblPercent; private global::Gtk.SpinButton numericAmount; private global::Gtk.SpinButton percentageAmount; private global::Gtk.RadioButton rbEquipAll; private global::Gtk.RadioButton rbEquipNumeric; private global::Gtk.RadioButton rbEquipPercent; - private global::Gtk.Label lblEquipAmount; + private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblEquipAmount; private global::Gtk.Button buttonCancel; private global::Gtk.Button buttonOk; @@ -47,7 +47,7 @@ this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild - this.lblEquipAll = new global::Gtk.Label(); + this.lblEquipAll = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); this.lblEquipAll.Name = "lblEquipAll"; this.lblEquipAll.LabelProp = global::Mono.Unix.Catalog.GetString("equip all"); this.table2.Add(this.lblEquipAll); @@ -58,7 +58,7 @@ w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild - this.lblPercent = new global::Gtk.Label(); + this.lblPercent = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); this.lblPercent.Name = "lblPercent"; this.lblPercent.LabelProp = global::Mono.Unix.Catalog.GetString("%"); this.table2.Add(this.lblPercent); @@ -146,7 +146,7 @@ w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild - this.lblEquipAmount = new global::Gtk.Label(); + this.lblEquipAmount = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); this.lblEquipAmount.Name = "lblEquipAmount"; this.lblEquipAmount.LabelProp = global::Mono.Unix.Catalog.GetString("amount:"); this.lblEquipAmount.Justify = ((global::Gtk.Justification)(1));