Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
diff gtk-gui/gui.stetic @ 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 | a754a2d1881c |
children | e40d892a2298 |
line wrap: on
line diff
--- a/gtk-gui/gui.stetic Fri Dec 31 11:36:06 2010 +0000 +++ b/gtk-gui/gui.stetic Fri Dec 31 12:01:18 2010 +0000 @@ -615,10 +615,9 @@ </packing> </child> <child> - <widget class="Gtk.Label" id="lblNewUnitWarning"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblNewUnitWarning"> <property name="MemberName" /> - <property name="Xalign">0</property> - <property name="Yalign">0</property> + <property name="Visible">False</property> </widget> <packing> <property name="Position">1</property> @@ -780,7 +779,7 @@ <property name="RowSpacing">6</property> <property name="ColumnSpacing">6</property> <child> - <widget class="Gtk.Label" id="equipmentLabel"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="equipmentLabel"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">equipment:</property> </widget> @@ -880,7 +879,7 @@ </packing> </child> <child> - <widget class="Gtk.Label" id="lblAbilities"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblAbilities"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">abilities:</property> </widget> @@ -899,7 +898,7 @@ </packing> </child> <child> - <widget class="Gtk.Label" id="lblNotes"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblNotes"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">notes:</property> </widget> @@ -932,7 +931,7 @@ <property name="MemberName" /> <property name="CanFocus">True</property> <property name="Type">TextOnly</property> - <property name="Label" translatable="yes">Add</property> + <property name="Label" translatable="yes">add</property> <property name="UseUnderline">True</property> <signal name="Clicked" handler="OnBttnAddEquipmentClicked" /> </widget> @@ -949,7 +948,7 @@ <property name="Sensitive">False</property> <property name="CanFocus">True</property> <property name="Type">TextOnly</property> - <property name="Label" translatable="yes">Edit</property> + <property name="Label" translatable="yes">edit</property> <property name="UseUnderline">True</property> <signal name="Clicked" handler="HandleEditButtonClicked" /> </widget> @@ -966,7 +965,7 @@ <property name="Sensitive">False</property> <property name="CanFocus">True</property> <property name="Type">TextOnly</property> - <property name="Label" translatable="yes">Replace</property> + <property name="Label" translatable="yes">replace</property> <property name="UseUnderline">True</property> <signal name="Clicked" handler="HandleReplaceButtonClicked" /> </widget> @@ -983,7 +982,7 @@ <property name="Sensitive">False</property> <property name="CanFocus">True</property> <property name="Type">TextOnly</property> - <property name="Label" translatable="yes">Remove</property> + <property name="Label" translatable="yes">remove</property> <property name="UseUnderline">True</property> <signal name="Clicked" handler="HandleRemoveButtonActivated" /> </widget> @@ -1083,7 +1082,7 @@ <placeholder /> </child> <child> - <widget class="Gtk.Label" id="lblEquipAll"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipAll"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">equip all</property> </widget> @@ -1103,7 +1102,7 @@ </packing> </child> <child> - <widget class="Gtk.Label" id="lblPercent"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblPercent"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">%</property> </widget> @@ -1181,7 +1180,6 @@ <property name="MemberName" /> <property name="CanFocus">True</property> <property name="Label" translatable="yes" /> - <property name="Active">True</property> <property name="DrawIndicator">True</property> <property name="HasLabel">True</property> <property name="UseUnderline">True</property> @@ -1276,7 +1274,7 @@ </packing> </child> <child> - <widget class="Gtk.Label" id="lblEquipAmount"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipAmount"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">amount:</property> </widget> @@ -1295,7 +1293,7 @@ </packing> </child> <child> - <widget class="Gtk.Label" id="lblEquipment"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipment"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">equipment</property> </widget> @@ -1403,7 +1401,7 @@ <placeholder /> </child> <child> - <widget class="Gtk.Label" id="lblEquipAll"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipAll"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">equip all</property> </widget> @@ -1423,7 +1421,7 @@ </packing> </child> <child> - <widget class="Gtk.Label" id="lblPercent"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblPercent"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">%</property> </widget> @@ -1595,7 +1593,7 @@ </packing> </child> <child> - <widget class="Gtk.Label" id="lblEquipAmount"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipAmount"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">amount:</property> <property name="Justify">Right</property> @@ -1730,7 +1728,7 @@ <placeholder /> </child> <child> - <widget class="Gtk.Label" id="lblEquipAll"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipAll"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">equip all</property> </widget> @@ -1750,7 +1748,7 @@ </packing> </child> <child> - <widget class="Gtk.Label" id="lblPercent"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblPercent"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">%</property> </widget> @@ -1922,7 +1920,7 @@ </packing> </child> <child> - <widget class="Gtk.Label" id="lblEquipAmount"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipAmount"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">amount:</property> </widget> @@ -1941,7 +1939,7 @@ </packing> </child> <child> - <widget class="Gtk.Label" id="lblEquipment"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipment"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">equipment</property> </widget>