comparison gtk-gui/gui.stetic @ 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 b4416ca69153
children fac0636ae13b
comparison
equal deleted inserted replaced
96:b4416ca69153 97:6d2c8ad0d8f1
582 <child> 582 <child>
583 <widget class="Gtk.HBox" id="hbox1"> 583 <widget class="Gtk.HBox" id="hbox1">
584 <property name="MemberName" /> 584 <property name="MemberName" />
585 <property name="Spacing">6</property> 585 <property name="Spacing">6</property>
586 <child> 586 <child>
587 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblUnitType"> 587 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblUnitList">
588 <property name="MemberName" /> 588 <property name="MemberName" />
589 <property name="LabelProp" translatable="yes">unit type</property> 589 <property name="LabelProp" translatable="yes">unit type</property>
590 </widget> 590 </widget>
591 <packing> 591 <packing>
592 <property name="Position">0</property> 592 <property name="Position">0</property>
1281 <property name="YFill">True</property> 1281 <property name="YFill">True</property>
1282 <property name="YShrink">False</property> 1282 <property name="YShrink">False</property>
1283 </packing> 1283 </packing>
1284 </child> 1284 </child>
1285 <child> 1285 <child>
1286 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipAmount"> 1286 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblAmount">
1287 <property name="MemberName" /> 1287 <property name="MemberName" />
1288 <property name="LabelProp" translatable="yes">amount:</property> 1288 <property name="LabelProp" translatable="yes">amount:</property>
1289 </widget> 1289 </widget>
1290 <packing> 1290 <packing>
1291 <property name="TopAttach">1</property> 1291 <property name="TopAttach">1</property>
1300 <property name="YFill">True</property> 1300 <property name="YFill">True</property>
1301 <property name="YShrink">False</property> 1301 <property name="YShrink">False</property>
1302 </packing> 1302 </packing>
1303 </child> 1303 </child>
1304 <child> 1304 <child>
1305 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipment"> 1305 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblItem">
1306 <property name="MemberName" /> 1306 <property name="MemberName" />
1307 <property name="LabelProp" translatable="yes">equipment</property> 1307 <property name="LabelProp" translatable="yes">equipment</property>
1308 </widget> 1308 </widget>
1309 <packing> 1309 <packing>
1310 <property name="AutoSize">True</property> 1310 <property name="AutoSize">True</property>
1334 <property name="Spacing">10</property> 1334 <property name="Spacing">10</property>
1335 <property name="BorderWidth">5</property> 1335 <property name="BorderWidth">5</property>
1336 <property name="Size">2</property> 1336 <property name="Size">2</property>
1337 <property name="LayoutStyle">End</property> 1337 <property name="LayoutStyle">End</property>
1338 <child> 1338 <child>
1339 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="buttonCancel"> 1339 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnCancel">
1340 <property name="MemberName" /> 1340 <property name="MemberName" />
1341 <property name="CanDefault">True</property> 1341 <property name="CanDefault">True</property>
1342 <property name="CanFocus">True</property> 1342 <property name="CanFocus">True</property>
1343 <property name="UseStock">True</property> 1343 <property name="UseStock">True</property>
1344 <property name="Type">StockItem</property> 1344 <property name="Type">StockItem</property>
1351 <property name="Expand">False</property> 1351 <property name="Expand">False</property>
1352 <property name="Fill">False</property> 1352 <property name="Fill">False</property>
1353 </packing> 1353 </packing>
1354 </child> 1354 </child>
1355 <child> 1355 <child>
1356 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="buttonOk"> 1356 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnOkay">
1357 <property name="MemberName" /> 1357 <property name="MemberName" />
1358 <property name="CanDefault">True</property> 1358 <property name="CanDefault">True</property>
1359 <property name="CanFocus">True</property> 1359 <property name="CanFocus">True</property>
1360 <property name="UseStock">True</property> 1360 <property name="UseStock">True</property>
1361 <property name="Type">StockItem</property> 1361 <property name="Type">StockItem</property>
1600 <property name="YFill">True</property> 1600 <property name="YFill">True</property>
1601 <property name="YShrink">False</property> 1601 <property name="YShrink">False</property>
1602 </packing> 1602 </packing>
1603 </child> 1603 </child>
1604 <child> 1604 <child>
1605 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipAmount"> 1605 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblAmount">
1606 <property name="MemberName" /> 1606 <property name="MemberName" />
1607 <property name="LabelProp" translatable="yes">amount:</property> 1607 <property name="LabelProp" translatable="yes">amount:</property>
1608 <property name="Justify">Right</property> 1608 <property name="Justify">Right</property>
1609 </widget> 1609 </widget>
1610 <packing> 1610 <packing>
1634 <property name="Spacing">10</property> 1634 <property name="Spacing">10</property>
1635 <property name="BorderWidth">5</property> 1635 <property name="BorderWidth">5</property>
1636 <property name="Size">2</property> 1636 <property name="Size">2</property>
1637 <property name="LayoutStyle">End</property> 1637 <property name="LayoutStyle">End</property>
1638 <child> 1638 <child>
1639 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="buttonCancel"> 1639 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnCancel">
1640 <property name="MemberName" /> 1640 <property name="MemberName" />
1641 <property name="CanDefault">True</property> 1641 <property name="CanDefault">True</property>
1642 <property name="CanFocus">True</property> 1642 <property name="CanFocus">True</property>
1643 <property name="UseStock">True</property> 1643 <property name="UseStock">True</property>
1644 <property name="Type">StockItem</property> 1644 <property name="Type">StockItem</property>
1651 <property name="Expand">False</property> 1651 <property name="Expand">False</property>
1652 <property name="Fill">False</property> 1652 <property name="Fill">False</property>
1653 </packing> 1653 </packing>
1654 </child> 1654 </child>
1655 <child> 1655 <child>
1656 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="buttonOk"> 1656 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnOkay">
1657 <property name="MemberName" /> 1657 <property name="MemberName" />
1658 <property name="CanDefault">True</property> 1658 <property name="CanDefault">True</property>
1659 <property name="CanFocus">True</property> 1659 <property name="CanFocus">True</property>
1660 <property name="UseStock">True</property> 1660 <property name="UseStock">True</property>
1661 <property name="Type">StockItem</property> 1661 <property name="Type">StockItem</property>
1833 <child> 1833 <child>
1834 <widget class="Gtk.RadioButton" id="rbEquipAll"> 1834 <widget class="Gtk.RadioButton" id="rbEquipAll">
1835 <property name="MemberName" /> 1835 <property name="MemberName" />
1836 <property name="CanFocus">True</property> 1836 <property name="CanFocus">True</property>
1837 <property name="Label" translatable="yes" /> 1837 <property name="Label" translatable="yes" />
1838 <property name="Active">True</property>
1838 <property name="DrawIndicator">True</property> 1839 <property name="DrawIndicator">True</property>
1839 <property name="HasLabel">True</property> 1840 <property name="HasLabel">True</property>
1840 <property name="UseUnderline">True</property> 1841 <property name="UseUnderline">True</property>
1841 <property name="Group">group1</property> 1842 <property name="Group">group1</property>
1842 </widget> 1843 </widget>
1927 <property name="YFill">True</property> 1928 <property name="YFill">True</property>
1928 <property name="YShrink">False</property> 1929 <property name="YShrink">False</property>
1929 </packing> 1930 </packing>
1930 </child> 1931 </child>
1931 <child> 1932 <child>
1932 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipAmount"> 1933 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblAmount">
1933 <property name="MemberName" /> 1934 <property name="MemberName" />
1934 <property name="LabelProp" translatable="yes">amount:</property> 1935 <property name="LabelProp" translatable="yes">amount:</property>
1935 </widget> 1936 </widget>
1936 <packing> 1937 <packing>
1937 <property name="TopAttach">1</property> 1938 <property name="TopAttach">1</property>
1946 <property name="YFill">True</property> 1947 <property name="YFill">True</property>
1947 <property name="YShrink">False</property> 1948 <property name="YShrink">False</property>
1948 </packing> 1949 </packing>
1949 </child> 1950 </child>
1950 <child> 1951 <child>
1951 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblEquipment"> 1952 <widget class="IBBoard.GtkSharp.Translatable.TranslatableLabel" id="lblItem">
1952 <property name="MemberName" /> 1953 <property name="MemberName" />
1953 <property name="LabelProp" translatable="yes">equipment</property> 1954 <property name="LabelProp" translatable="yes">equipment</property>
1954 </widget> 1955 </widget>
1955 <packing> 1956 <packing>
1956 <property name="AutoSize">True</property> 1957 <property name="AutoSize">True</property>
1980 <property name="Spacing">10</property> 1981 <property name="Spacing">10</property>
1981 <property name="BorderWidth">5</property> 1982 <property name="BorderWidth">5</property>
1982 <property name="Size">2</property> 1983 <property name="Size">2</property>
1983 <property name="LayoutStyle">End</property> 1984 <property name="LayoutStyle">End</property>
1984 <child> 1985 <child>
1985 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="buttonCancel"> 1986 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnCancel">
1986 <property name="MemberName" /> 1987 <property name="MemberName" />
1987 <property name="CanDefault">True</property> 1988 <property name="CanDefault">True</property>
1988 <property name="CanFocus">True</property> 1989 <property name="CanFocus">True</property>
1989 <property name="UseStock">True</property> 1990 <property name="UseStock">True</property>
1990 <property name="Type">StockItem</property> 1991 <property name="Type">StockItem</property>
1997 <property name="Expand">False</property> 1998 <property name="Expand">False</property>
1998 <property name="Fill">False</property> 1999 <property name="Fill">False</property>
1999 </packing> 2000 </packing>
2000 </child> 2001 </child>
2001 <child> 2002 <child>
2002 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="buttonOk"> 2003 <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnOkay">
2003 <property name="MemberName" /> 2004 <property name="MemberName" />
2004 <property name="CanDefault">True</property> 2005 <property name="CanDefault">True</property>
2005 <property name="CanFocus">True</property> 2006 <property name="CanFocus">True</property>
2006 <property name="UseStock">True</property> 2007 <property name="UseStock">True</property>
2007 <property name="Type">StockItem</property> 2008 <property name="Type">StockItem</property>