diff gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.cs @ 100:23b1c3bdc525

Re #308: Make GTK# UI translatable * Add more missing translations (English versions) to French translation file * Change name of "Basic HTML export" to match WinForms translation
author IBBoard <dev@ibboard.co.uk>
date Sun, 16 Jan 2011 20:01:21 +0000
parents 8777e4f64d8e
children 42d2aa87dfa7
line wrap: on
line diff
--- a/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.cs	Sun Jan 16 19:50:48 2011 +0000
+++ b/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.cs	Sun Jan 16 20:01:21 2011 +0000
@@ -27,7 +27,7 @@
 		private global::Gtk.Action goDown;
 		private global::Gtk.Action add;
 		private global::Gtk.Action miExportArmyAs;
-		private global::Gtk.Action miExportAsBasicHtml;
+		private global::Gtk.Action miExportArmyAsBasicHTML;
 		private global::Gtk.Action miPreferences;
 		private global::Gtk.VBox vbox1;
 		private global::Gtk.MenuBar menubar1;
@@ -112,9 +112,9 @@
 			this.miExportArmyAs.Sensitive = false;
 			this.miExportArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString("Export army as...");
 			w1.Add(this.miExportArmyAs, null);
-			this.miExportAsBasicHtml = new global::Gtk.Action("miExportAsBasicHtml", global::Mono.Unix.Catalog.GetString("Basic HTML"), null, null);
-			this.miExportAsBasicHtml.ShortLabel = global::Mono.Unix.Catalog.GetString("Basic HTML");
-			w1.Add(this.miExportAsBasicHtml, null);
+			this.miExportArmyAsBasicHTML = new global::Gtk.Action("miExportArmyAsBasicHTML", global::Mono.Unix.Catalog.GetString("Basic HTML"), null, null);
+			this.miExportArmyAsBasicHTML.ShortLabel = global::Mono.Unix.Catalog.GetString("Basic HTML");
+			w1.Add(this.miExportArmyAsBasicHTML, null);
 			this.miPreferences = new global::Gtk.Action("miPreferences", global::Mono.Unix.Catalog.GetString("preferences"), null, "gtk-preferences");
 			this.miPreferences.ShortLabel = global::Mono.Unix.Catalog.GetString("preferences");
 			w1.Add(this.miPreferences, null);
@@ -127,7 +127,7 @@
 			this.vbox1 = new global::Gtk.VBox();
 			this.vbox1.Name = "vbox1";
 			// Container child vbox1.Gtk.Box+BoxChild
-			this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='menuFile' action='menuFile'><menuitem name='miNewArmy' action='miNewArmy'/><menuitem name='miOpenArmy' action='miOpenArmy'/><menuitem name='miSaveArmy' action='miSaveArmy'/><menuitem name='miSaveArmyAs' action='miSaveArmyAs'/><menu name='miExportArmyAs' action='miExportArmyAs'><menuitem name='miExportAsBasicHtml' action='miExportAsBasicHtml'/></menu><menuitem name='miCloseArmy' action='miCloseArmy'/><separator/><menuitem name='miReloadFiles' action='miReloadFiles'/><separator/><menuitem name='miExit' action='miExit'/></menu><menu name='menuEdit' action='menuEdit'><menuitem name='miUndo' action='miUndo'/><menuitem name='miRedo' action='miRedo'/><separator/><menuitem name='miPreferences' action='miPreferences'/></menu><menu name='menuHelp' action='menuHelp'><menuitem name='miAbout' action='miAbout'/></menu></menubar></ui>");
+			this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='menuFile' action='menuFile'><menuitem name='miNewArmy' action='miNewArmy'/><menuitem name='miOpenArmy' action='miOpenArmy'/><menuitem name='miSaveArmy' action='miSaveArmy'/><menuitem name='miSaveArmyAs' action='miSaveArmyAs'/><menu name='miExportArmyAs' action='miExportArmyAs'><menuitem name='miExportArmyAsBasicHTML' action='miExportArmyAsBasicHTML'/></menu><menuitem name='miCloseArmy' action='miCloseArmy'/><separator/><menuitem name='miReloadFiles' action='miReloadFiles'/><separator/><menuitem name='miExit' action='miExit'/></menu><menu name='menuEdit' action='menuEdit'><menuitem name='miUndo' action='miUndo'/><menuitem name='miRedo' action='miRedo'/><separator/><menuitem name='miPreferences' action='miPreferences'/></menu><menu name='menuHelp' action='menuHelp'><menuitem name='miAbout' action='miAbout'/></menu></menubar></ui>");
 			this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
 			this.menubar1.Name = "menubar1";
 			this.vbox1.Add(this.menubar1);
@@ -209,7 +209,7 @@
 			this.bttnSaveArmy.Activated += new global::System.EventHandler(this.saveTBButtonActivated);
 			this.bttnUndo.Activated += new global::System.EventHandler(this.undoTBButtonActivated);
 			this.bttnRedo.Activated += new global::System.EventHandler(this.redoTBButtonActivated);
-			this.miExportAsBasicHtml.Activated += new global::System.EventHandler(this.OnMiExportAsBasicHtmlActivated);
+			this.miExportArmyAsBasicHTML.Activated += new global::System.EventHandler(this.OnMiExportAsBasicHtmlActivated);
 			this.miPreferences.Activated += new global::System.EventHandler(this.miPreferencesClicked);
 			this.treeUnits.RowActivated += new global::Gtk.RowActivatedHandler(this.ArmyRowActivated);
 			this.treeUnits.PopupMenu += new global::Gtk.PopupMenuHandler(this.OnTreeUnitsPopupMenu);