diff gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs @ 7:58961ff391d4

Closes #30 - Convert to .csproj * Convert GTK# GUI to .csproj and remove .mdp Also: * Remove rogue Dialog class * Commit a number of generated GUI changes that MonoDevelop made and won't un-make
author IBBoard <dev@ibboard.co.uk>
date Tue, 17 Feb 2009 16:41:55 +0000
parents cfc7683e73f9
children c687bbe901f8
line wrap: on
line diff
--- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs	Mon Jan 26 20:16:07 2009 +0000
+++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs	Tue Feb 17 16:41:55 2009 +0000
@@ -1,7 +1,7 @@
 // ------------------------------------------------------------------------------
 //  <autogenerated>
 //      This code was generated by a tool.
-//      Mono Runtime Version: 2.0.50727.1433
+//      
 // 
 //      Changes to this file may cause incorrect behavior and will be lost if 
 //      the code is regenerated.
@@ -78,58 +78,58 @@
             // Widget IBBoard.WarFoundry.GTK.FrmMainWindow
             this.UIManager = new Gtk.UIManager();
             Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default");
-            this.menuFile = new Gtk.Action("menuFile", "File", null, null);
-            this.menuFile.ShortLabel = "File";
+            this.menuFile = new Gtk.Action("menuFile", Mono.Unix.Catalog.GetString("File"), null, null);
+            this.menuFile.ShortLabel = Mono.Unix.Catalog.GetString("File");
             w1.Add(this.menuFile, null);
-            this.miCreateArmy = new Gtk.Action("miCreateArmy", "Create army", null, null);
+            this.miCreateArmy = new Gtk.Action("miCreateArmy", Mono.Unix.Catalog.GetString("Create army"), null, null);
             this.miCreateArmy.Sensitive = false;
-            this.miCreateArmy.ShortLabel = "Create army";
+            this.miCreateArmy.ShortLabel = Mono.Unix.Catalog.GetString("Create army");
             w1.Add(this.miCreateArmy, null);
-            this.miOpenArmy = new Gtk.Action("miOpenArmy", "Open army", null, null);
+            this.miOpenArmy = new Gtk.Action("miOpenArmy", Mono.Unix.Catalog.GetString("Open army"), null, null);
             this.miOpenArmy.Sensitive = false;
-            this.miOpenArmy.ShortLabel = "Open army";
+            this.miOpenArmy.ShortLabel = Mono.Unix.Catalog.GetString("Open army");
             w1.Add(this.miOpenArmy, null);
-            this.miSaveArmy = new Gtk.Action("miSaveArmy", "Save army", null, null);
+            this.miSaveArmy = new Gtk.Action("miSaveArmy", Mono.Unix.Catalog.GetString("Save army"), null, null);
             this.miSaveArmy.Sensitive = false;
-            this.miSaveArmy.ShortLabel = "Save army";
+            this.miSaveArmy.ShortLabel = Mono.Unix.Catalog.GetString("Save army");
             w1.Add(this.miSaveArmy, null);
-            this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", "Save army as", null, null);
+            this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", Mono.Unix.Catalog.GetString("Save army as"), null, null);
             this.miSaveArmyAs.Sensitive = false;
-            this.miSaveArmyAs.ShortLabel = "Save army as";
+            this.miSaveArmyAs.ShortLabel = Mono.Unix.Catalog.GetString("Save army as");
             w1.Add(this.miSaveArmyAs, null);
-            this.miCloseArmy = new Gtk.Action("miCloseArmy", "Close army", null, null);
+            this.miCloseArmy = new Gtk.Action("miCloseArmy", Mono.Unix.Catalog.GetString("Close army"), null, null);
             this.miCloseArmy.Sensitive = false;
-            this.miCloseArmy.ShortLabel = "Close army";
+            this.miCloseArmy.ShortLabel = Mono.Unix.Catalog.GetString("Close army");
             w1.Add(this.miCloseArmy, null);
-            this.miChangeGameSystem = new Gtk.Action("miChangeGameSystem", "Change game system", null, null);
-            this.miChangeGameSystem.ShortLabel = "Change game system";
+            this.miChangeGameSystem = new Gtk.Action("miChangeGameSystem", Mono.Unix.Catalog.GetString("Change game system"), null, null);
+            this.miChangeGameSystem.ShortLabel = Mono.Unix.Catalog.GetString("Change game system");
             w1.Add(this.miChangeGameSystem, null);
-            this.miReloadFiles = new Gtk.Action("miReloadFiles", "Reload files", null, null);
+            this.miReloadFiles = new Gtk.Action("miReloadFiles", Mono.Unix.Catalog.GetString("Reload files"), null, null);
             this.miReloadFiles.Sensitive = false;
-            this.miReloadFiles.ShortLabel = "Reload files";
+            this.miReloadFiles.ShortLabel = Mono.Unix.Catalog.GetString("Reload files");
             w1.Add(this.miReloadFiles, null);
-            this.miExit = new Gtk.Action("miExit", "Exit", null, null);
-            this.miExit.ShortLabel = "Exit";
+            this.miExit = new Gtk.Action("miExit", Mono.Unix.Catalog.GetString("Exit"), null, null);
+            this.miExit.ShortLabel = Mono.Unix.Catalog.GetString("Exit");
             w1.Add(this.miExit, null);
-            this.menuEdit = new Gtk.Action("menuEdit", "Edit", null, null);
-            this.menuEdit.ShortLabel = "Edit";
+            this.menuEdit = new Gtk.Action("menuEdit", Mono.Unix.Catalog.GetString("Edit"), null, null);
+            this.menuEdit.ShortLabel = Mono.Unix.Catalog.GetString("Edit");
             w1.Add(this.menuEdit, null);
-            this.miUndo = new Gtk.Action("miUndo", "Undo", null, null);
+            this.miUndo = new Gtk.Action("miUndo", Mono.Unix.Catalog.GetString("Undo"), null, null);
             this.miUndo.Sensitive = false;
-            this.miUndo.ShortLabel = "Undo";
+            this.miUndo.ShortLabel = Mono.Unix.Catalog.GetString("Undo");
             w1.Add(this.miUndo, null);
-            this.miRedo = new Gtk.Action("miRedo", "Redo", null, null);
+            this.miRedo = new Gtk.Action("miRedo", Mono.Unix.Catalog.GetString("Redo"), null, null);
             this.miRedo.Sensitive = false;
-            this.miRedo.ShortLabel = "Redo";
+            this.miRedo.ShortLabel = Mono.Unix.Catalog.GetString("Redo");
             w1.Add(this.miRedo, null);
-            this.menuHelp = new Gtk.Action("menuHelp", "Help", null, null);
-            this.menuHelp.ShortLabel = "Help";
+            this.menuHelp = new Gtk.Action("menuHelp", Mono.Unix.Catalog.GetString("Help"), null, null);
+            this.menuHelp.ShortLabel = Mono.Unix.Catalog.GetString("Help");
             w1.Add(this.menuHelp, null);
-            this.miAbout = new Gtk.Action("miAbout", "About", null, null);
-            this.miAbout.ShortLabel = "About";
+            this.miAbout = new Gtk.Action("miAbout", Mono.Unix.Catalog.GetString("About"), null, null);
+            this.miAbout.ShortLabel = Mono.Unix.Catalog.GetString("About");
             w1.Add(this.miAbout, null);
-            this.miDebugInformation = new Gtk.Action("miDebugInformation", "Debug Information", null, null);
-            this.miDebugInformation.ShortLabel = "Debug Information";
+            this.miDebugInformation = new Gtk.Action("miDebugInformation", Mono.Unix.Catalog.GetString("Debug Information"), null, null);
+            this.miDebugInformation.ShortLabel = Mono.Unix.Catalog.GetString("Debug Information");
             w1.Add(this.miDebugInformation, null);
             this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new");
             this.newArmyButton.Sensitive = false;
@@ -153,7 +153,7 @@
             this.UIManager.InsertActionGroup(w1, 0);
             this.AddAccelGroup(this.UIManager.AccelGroup);
             this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow";
-            this.Title = "MainWindow";
+            this.Title = Mono.Unix.Catalog.GetString("MainWindow");
             this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico");
             // Container child IBBoard.WarFoundry.GTK.FrmMainWindow.Gtk.Container+ContainerChild
             this.vbox1 = new Gtk.VBox();