Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/gui.stetic @ 81:3ff8e10de45a
Re #308: Make GTK# UI translatable
* Make menu item/action names match WinForms for consistency
* Add "_" to translations for keyboard shortcuts in menus
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 28 Dec 2010 19:58:00 +0000 |
parents | 9c9af2ce8c43 |
children | fb16ca1cb52b |
comparison
equal
deleted
inserted
replaced
80:9c9af2ce8c43 | 81:3ff8e10de45a |
---|---|
13 <action id="menuFile"> | 13 <action id="menuFile"> |
14 <property name="Type">Action</property> | 14 <property name="Type">Action</property> |
15 <property name="Label" translatable="yes">File</property> | 15 <property name="Label" translatable="yes">File</property> |
16 <property name="ShortLabel" translatable="yes">File</property> | 16 <property name="ShortLabel" translatable="yes">File</property> |
17 </action> | 17 </action> |
18 <action id="miCreateArmy"> | 18 <action id="miNewArmy"> |
19 <property name="Type">Action</property> | 19 <property name="Type">Action</property> |
20 <property name="Label" translatable="yes">Create army</property> | 20 <property name="Label" translatable="yes">Create army</property> |
21 <property name="ShortLabel" translatable="yes">Create army</property> | 21 <property name="ShortLabel" translatable="yes">Create army</property> |
22 <property name="StockId">gtk-new</property> | 22 <property name="StockId">gtk-new</property> |
23 <signal name="Activated" handler="OnCreateArmyActivated" /> | 23 <signal name="Activated" handler="OnCreateArmyActivated" /> |
143 <action id="add"> | 143 <action id="add"> |
144 <property name="Type">Action</property> | 144 <property name="Type">Action</property> |
145 <property name="Label" translatable="yes" /> | 145 <property name="Label" translatable="yes" /> |
146 <property name="StockId">gtk-add</property> | 146 <property name="StockId">gtk-add</property> |
147 </action> | 147 </action> |
148 <action id="miExportArmy"> | 148 <action id="miExportArmyAs"> |
149 <property name="Type">Action</property> | 149 <property name="Type">Action</property> |
150 <property name="Label" translatable="yes">Export army as...</property> | 150 <property name="Label" translatable="yes">Export army as...</property> |
151 <property name="Sensitive">False</property> | 151 <property name="Sensitive">False</property> |
152 <property name="ShortLabel" translatable="yes">Export army</property> | 152 <property name="ShortLabel" translatable="yes">Export army</property> |
153 <property name="StockId">gtk-convert</property> | 153 <property name="StockId">gtk-convert</property> |
168 <child> | 168 <child> |
169 <widget class="Gtk.MenuBar" id="menubar1"> | 169 <widget class="Gtk.MenuBar" id="menubar1"> |
170 <property name="MemberName" /> | 170 <property name="MemberName" /> |
171 <node name="menubar1" type="Menubar"> | 171 <node name="menubar1" type="Menubar"> |
172 <node type="Menu" action="menuFile"> | 172 <node type="Menu" action="menuFile"> |
173 <node type="Menuitem" action="miCreateArmy" /> | 173 <node type="Menuitem" action="miNewArmy" /> |
174 <node type="Menuitem" action="miOpenArmy" /> | 174 <node type="Menuitem" action="miOpenArmy" /> |
175 <node type="Menuitem" action="miSaveArmy" /> | 175 <node type="Menuitem" action="miSaveArmy" /> |
176 <node type="Menuitem" action="miSaveArmyAs" /> | 176 <node type="Menuitem" action="miSaveArmyAs" /> |
177 <node type="Menu" action="miExportArmy"> | 177 <node type="Menu" action="miExportArmyAs"> |
178 <node type="Menuitem" action="miExportAsBasicHtml" /> | 178 <node type="Menuitem" action="miExportAsBasicHtml" /> |
179 </node> | 179 </node> |
180 <node type="Menuitem" action="miCloseArmy" /> | 180 <node type="Menuitem" action="miCloseArmy" /> |
181 <node type="Separator" /> | 181 <node type="Separator" /> |
182 <node type="Menuitem" action="refreshAction" /> | 182 <node type="Menuitem" action="refreshAction" /> |