Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/gui.stetic @ 93:e40d892a2298
Fixes #308: Make GTK# UI translatable
* Move all remaining buttons to translatable buttons
* Make the About dialog translatable (where appropriate)
* Move to UTF-8 encoding in the XML to correctly handle copyright symbol
* Switch About dialog to using Close button as per other apps
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 31 Dec 2010 13:53:18 +0000 |
parents | 58779fcd0166 |
children | 26e4525b49cf |
comparison
equal
deleted
inserted
replaced
92:58779fcd0166 | 93:e40d892a2298 |
---|---|
925 <child> | 925 <child> |
926 <widget class="Gtk.VBox" id="vbox3"> | 926 <widget class="Gtk.VBox" id="vbox3"> |
927 <property name="MemberName" /> | 927 <property name="MemberName" /> |
928 <property name="Spacing">6</property> | 928 <property name="Spacing">6</property> |
929 <child> | 929 <child> |
930 <widget class="Gtk.Button" id="bttnAddEquipment"> | 930 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnAddEquipment"> |
931 <property name="MemberName" /> | 931 <property name="MemberName" /> |
932 <property name="CanFocus">True</property> | 932 <property name="CanFocus">True</property> |
933 <property name="Type">TextOnly</property> | 933 <property name="Type">TextOnly</property> |
934 <property name="Label" translatable="yes">add</property> | 934 <property name="Label" translatable="yes">add</property> |
935 <property name="UseUnderline">True</property> | 935 <property name="UseUnderline">True</property> |
941 <property name="Expand">False</property> | 941 <property name="Expand">False</property> |
942 <property name="Fill">False</property> | 942 <property name="Fill">False</property> |
943 </packing> | 943 </packing> |
944 </child> | 944 </child> |
945 <child> | 945 <child> |
946 <widget class="Gtk.Button" id="bttnEditEquipment"> | 946 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnEditEquipment"> |
947 <property name="MemberName" /> | 947 <property name="MemberName" /> |
948 <property name="Sensitive">False</property> | 948 <property name="Sensitive">False</property> |
949 <property name="CanFocus">True</property> | 949 <property name="CanFocus">True</property> |
950 <property name="Type">TextOnly</property> | 950 <property name="Type">TextOnly</property> |
951 <property name="Label" translatable="yes">edit</property> | 951 <property name="Label" translatable="yes">edit</property> |
958 <property name="Expand">False</property> | 958 <property name="Expand">False</property> |
959 <property name="Fill">False</property> | 959 <property name="Fill">False</property> |
960 </packing> | 960 </packing> |
961 </child> | 961 </child> |
962 <child> | 962 <child> |
963 <widget class="Gtk.Button" id="bttnReplaceEquipment"> | 963 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnReplaceEquipment"> |
964 <property name="MemberName" /> | 964 <property name="MemberName" /> |
965 <property name="Sensitive">False</property> | 965 <property name="Sensitive">False</property> |
966 <property name="CanFocus">True</property> | 966 <property name="CanFocus">True</property> |
967 <property name="Type">TextOnly</property> | 967 <property name="Type">TextOnly</property> |
968 <property name="Label" translatable="yes">replace</property> | 968 <property name="Label" translatable="yes">replace</property> |
975 <property name="Expand">False</property> | 975 <property name="Expand">False</property> |
976 <property name="Fill">False</property> | 976 <property name="Fill">False</property> |
977 </packing> | 977 </packing> |
978 </child> | 978 </child> |
979 <child> | 979 <child> |
980 <widget class="Gtk.Button" id="bttnRemoveEquipment"> | 980 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnRemoveEquipment"> |
981 <property name="MemberName" /> | 981 <property name="MemberName" /> |
982 <property name="Sensitive">False</property> | 982 <property name="Sensitive">False</property> |
983 <property name="CanFocus">True</property> | 983 <property name="CanFocus">True</property> |
984 <property name="Type">TextOnly</property> | 984 <property name="Type">TextOnly</property> |
985 <property name="Label" translatable="yes">remove</property> | 985 <property name="Label" translatable="yes">remove</property> |
1325 <property name="Spacing">10</property> | 1325 <property name="Spacing">10</property> |
1326 <property name="BorderWidth">5</property> | 1326 <property name="BorderWidth">5</property> |
1327 <property name="Size">2</property> | 1327 <property name="Size">2</property> |
1328 <property name="LayoutStyle">End</property> | 1328 <property name="LayoutStyle">End</property> |
1329 <child> | 1329 <child> |
1330 <widget class="Gtk.Button" id="buttonCancel"> | 1330 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="buttonCancel"> |
1331 <property name="MemberName" /> | 1331 <property name="MemberName" /> |
1332 <property name="CanDefault">True</property> | 1332 <property name="CanDefault">True</property> |
1333 <property name="CanFocus">True</property> | 1333 <property name="CanFocus">True</property> |
1334 <property name="UseStock">True</property> | 1334 <property name="UseStock">True</property> |
1335 <property name="Type">StockItem</property> | 1335 <property name="Type">StockItem</property> |
1342 <property name="Expand">False</property> | 1342 <property name="Expand">False</property> |
1343 <property name="Fill">False</property> | 1343 <property name="Fill">False</property> |
1344 </packing> | 1344 </packing> |
1345 </child> | 1345 </child> |
1346 <child> | 1346 <child> |
1347 <widget class="Gtk.Button" id="buttonOk"> | 1347 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="buttonOk"> |
1348 <property name="MemberName" /> | 1348 <property name="MemberName" /> |
1349 <property name="CanDefault">True</property> | 1349 <property name="CanDefault">True</property> |
1350 <property name="CanFocus">True</property> | 1350 <property name="CanFocus">True</property> |
1351 <property name="UseStock">True</property> | 1351 <property name="UseStock">True</property> |
1352 <property name="Type">StockItem</property> | 1352 <property name="Type">StockItem</property> |
1625 <property name="Spacing">10</property> | 1625 <property name="Spacing">10</property> |
1626 <property name="BorderWidth">5</property> | 1626 <property name="BorderWidth">5</property> |
1627 <property name="Size">2</property> | 1627 <property name="Size">2</property> |
1628 <property name="LayoutStyle">End</property> | 1628 <property name="LayoutStyle">End</property> |
1629 <child> | 1629 <child> |
1630 <widget class="Gtk.Button" id="buttonCancel"> | 1630 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="buttonCancel"> |
1631 <property name="MemberName" /> | 1631 <property name="MemberName" /> |
1632 <property name="CanDefault">True</property> | 1632 <property name="CanDefault">True</property> |
1633 <property name="CanFocus">True</property> | 1633 <property name="CanFocus">True</property> |
1634 <property name="UseStock">True</property> | 1634 <property name="UseStock">True</property> |
1635 <property name="Type">StockItem</property> | 1635 <property name="Type">StockItem</property> |
1642 <property name="Expand">False</property> | 1642 <property name="Expand">False</property> |
1643 <property name="Fill">False</property> | 1643 <property name="Fill">False</property> |
1644 </packing> | 1644 </packing> |
1645 </child> | 1645 </child> |
1646 <child> | 1646 <child> |
1647 <widget class="Gtk.Button" id="buttonOk"> | 1647 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="buttonOk"> |
1648 <property name="MemberName" /> | 1648 <property name="MemberName" /> |
1649 <property name="CanDefault">True</property> | 1649 <property name="CanDefault">True</property> |
1650 <property name="CanFocus">True</property> | 1650 <property name="CanFocus">True</property> |
1651 <property name="UseStock">True</property> | 1651 <property name="UseStock">True</property> |
1652 <property name="Type">StockItem</property> | 1652 <property name="Type">StockItem</property> |
1971 <property name="Spacing">10</property> | 1971 <property name="Spacing">10</property> |
1972 <property name="BorderWidth">5</property> | 1972 <property name="BorderWidth">5</property> |
1973 <property name="Size">2</property> | 1973 <property name="Size">2</property> |
1974 <property name="LayoutStyle">End</property> | 1974 <property name="LayoutStyle">End</property> |
1975 <child> | 1975 <child> |
1976 <widget class="Gtk.Button" id="buttonCancel"> | 1976 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="buttonCancel"> |
1977 <property name="MemberName" /> | 1977 <property name="MemberName" /> |
1978 <property name="CanDefault">True</property> | 1978 <property name="CanDefault">True</property> |
1979 <property name="CanFocus">True</property> | 1979 <property name="CanFocus">True</property> |
1980 <property name="UseStock">True</property> | 1980 <property name="UseStock">True</property> |
1981 <property name="Type">StockItem</property> | 1981 <property name="Type">StockItem</property> |
1988 <property name="Expand">False</property> | 1988 <property name="Expand">False</property> |
1989 <property name="Fill">False</property> | 1989 <property name="Fill">False</property> |
1990 </packing> | 1990 </packing> |
1991 </child> | 1991 </child> |
1992 <child> | 1992 <child> |
1993 <widget class="Gtk.Button" id="buttonOk"> | 1993 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="buttonOk"> |
1994 <property name="MemberName" /> | 1994 <property name="MemberName" /> |
1995 <property name="CanDefault">True</property> | 1995 <property name="CanDefault">True</property> |
1996 <property name="CanFocus">True</property> | 1996 <property name="CanFocus">True</property> |
1997 <property name="UseStock">True</property> | 1997 <property name="UseStock">True</property> |
1998 <property name="Type">StockItem</property> | 1998 <property name="Type">StockItem</property> |
2022 <child internal-child="VBox"> | 2022 <child internal-child="VBox"> |
2023 <widget class="Gtk.VBox" id="dialog1_VBox"> | 2023 <widget class="Gtk.VBox" id="dialog1_VBox"> |
2024 <property name="MemberName" /> | 2024 <property name="MemberName" /> |
2025 <property name="BorderWidth">2</property> | 2025 <property name="BorderWidth">2</property> |
2026 <child> | 2026 <child> |
2027 <widget class="Gtk.Image" id="image1"> | 2027 <widget class="Gtk.Image" id="logoImage"> |
2028 <property name="MemberName" /> | 2028 <property name="MemberName" /> |
2029 <property name="Pixbuf">resource:IBBoard.WarFoundry.GUI.GTK.App-lrg.png</property> | 2029 <property name="Pixbuf">resource:IBBoard.WarFoundry.GUI.GTK.App-lrg.png</property> |
2030 </widget> | 2030 </widget> |
2031 <packing> | 2031 <packing> |
2032 <property name="Position">0</property> | 2032 <property name="Position">0</property> |
2047 <property name="Expand">False</property> | 2047 <property name="Expand">False</property> |
2048 <property name="Fill">False</property> | 2048 <property name="Fill">False</property> |
2049 </packing> | 2049 </packing> |
2050 </child> | 2050 </child> |
2051 <child> | 2051 <child> |
2052 <widget class="Gtk.Label" id="label4"> | 2052 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblWarFoundryDesc"> |
2053 <property name="MemberName" /> | 2053 <property name="MemberName" /> |
2054 <property name="LabelProp" translatable="yes">WarFoundry is an open-source army creation tool that lets you create rosters for multiple game systems.</property> | 2054 <property name="LabelProp" translatable="yes">WarFoundry is an open-source army creation tool that lets you create rosters for multiple game systems.</property> |
2055 <property name="Wrap">True</property> | 2055 <property name="Wrap">True</property> |
2056 <property name="Justify">Center</property> | 2056 <property name="Justify">Center</property> |
2057 </widget> | 2057 </widget> |
2061 <property name="Expand">False</property> | 2061 <property name="Expand">False</property> |
2062 <property name="Fill">False</property> | 2062 <property name="Fill">False</property> |
2063 </packing> | 2063 </packing> |
2064 </child> | 2064 </child> |
2065 <child> | 2065 <child> |
2066 <widget class="Gtk.Label" id="label2"> | 2066 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblWarFoundryCopyright"> |
2067 <property name="MemberName" /> | 2067 <property name="MemberName" /> |
2068 <property name="LabelProp" translatable="yes">© 2007-2010, IBBoard and others</property> | 2068 <property name="LabelProp" translatable="yes">© 2007-2010, IBBoard and others</property> |
2069 </widget> | 2069 </widget> |
2070 <packing> | 2070 <packing> |
2071 <property name="Position">3</property> | 2071 <property name="Position">3</property> |
2073 <property name="Expand">False</property> | 2073 <property name="Expand">False</property> |
2074 <property name="Fill">False</property> | 2074 <property name="Fill">False</property> |
2075 </packing> | 2075 </packing> |
2076 </child> | 2076 </child> |
2077 <child> | 2077 <child> |
2078 <widget class="Gtk.Label" id="label3"> | 2078 <widget class="Gtk.Label" id="lblWarFoundryLink"> |
2079 <property name="MemberName" /> | 2079 <property name="MemberName" /> |
2080 <property name="LabelProp" translatable="yes"><a href="http://warfoundry.co.uk">http://warfoundry.co.uk</a></property> | 2080 <property name="LabelProp" translatable="yes"><a href="http://warfoundry.co.uk">http://warfoundry.co.uk</a></property> |
2081 <property name="UseMarkup">True</property> | 2081 <property name="UseMarkup">True</property> |
2082 </widget> | 2082 </widget> |
2083 <packing> | 2083 <packing> |
2095 <property name="Spacing">10</property> | 2095 <property name="Spacing">10</property> |
2096 <property name="BorderWidth">5</property> | 2096 <property name="BorderWidth">5</property> |
2097 <property name="Size">1</property> | 2097 <property name="Size">1</property> |
2098 <property name="LayoutStyle">End</property> | 2098 <property name="LayoutStyle">End</property> |
2099 <child> | 2099 <child> |
2100 <widget class="Gtk.Button" id="buttonOk"> | 2100 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnClose"> |
2101 <property name="MemberName" /> | 2101 <property name="MemberName" /> |
2102 <property name="CanDefault">True</property> | 2102 <property name="CanDefault">True</property> |
2103 <property name="CanFocus">True</property> | 2103 <property name="CanFocus">True</property> |
2104 <property name="UseStock">True</property> | 2104 <property name="UseStock">True</property> |
2105 <property name="Type">StockItem</property> | 2105 <property name="Type">StockItem</property> |
2106 <property name="StockId">gtk-ok</property> | 2106 <property name="StockId">gtk-close</property> |
2107 <property name="ResponseId">-5</property> | 2107 <property name="ResponseId">-7</property> |
2108 <signal name="Activated" handler="OkayClicked" /> | 2108 <property name="label">gtk-close</property> |
2109 <property name="label">gtk-ok</property> | |
2110 </widget> | 2109 </widget> |
2111 <packing> | 2110 <packing> |
2112 <property name="Expand">False</property> | 2111 <property name="Expand">False</property> |
2113 <property name="Fill">False</property> | 2112 <property name="Fill">False</property> |
2114 </packing> | 2113 </packing> |