# HG changeset patch # User IBBoard # Date 1295208081 0 # Node ID 23b1c3bdc525e91004411614fc4a949b36986c41 # Parent 8777e4f64d8e8770f54cf30dda1601a72e2634a6 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 diff -r 8777e4f64d8e -r 23b1c3bdc525 gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.cs --- 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(""); + this.UIManager.AddUiFromString(""); 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); diff -r 8777e4f64d8e -r 23b1c3bdc525 gtk-gui/gui.stetic --- a/gtk-gui/gui.stetic Sun Jan 16 19:50:48 2011 +0000 +++ b/gtk-gui/gui.stetic Sun Jan 16 20:01:21 2011 +0000 @@ -152,7 +152,7 @@ Export army as... gtk-convert - + Action Basic HTML Basic HTML @@ -182,7 +182,7 @@ - + diff -r 8777e4f64d8e -r 23b1c3bdc525 translations/fr.translation --- a/translations/fr.translation Sun Jan 16 19:50:48 2011 +0000 +++ b/translations/fr.translation Sun Jan 16 20:01:21 2011 +0000 @@ -109,7 +109,7 @@ {1} {0} {0}, {1} {0} peut être sélectionné seulement si l'objet suivant est sélectionné : {1} - + Préférences Langue Langue: @@ -131,4 +131,8 @@ WarFoundry ne peut pas ouvrir le fichier. Veillez vérifier le log pour plus d'informations Échec de la ouvrir du fichier Sauvegarder +Export army +Cancel +Export +HTML pages (*.html)