Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
view gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmAbout.cs @ 82:fb16ca1cb52b
Re #308: Make GTK# UI translatable
* Match button names to WinForms for consistency
* Translate army column title
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 28 Dec 2010 20:20:16 +0000 |
parents | 9c9af2ce8c43 |
children | e40d892a2298 |
line wrap: on
line source
// This file has been generated by the GUI designer. Do not modify. namespace IBBoard.WarFoundry.GUI.GTK { public partial class FrmAbout { private global::Gtk.Image image1; private global::Gtk.Label label1; private global::Gtk.Label label4; private global::Gtk.Label label2; private global::Gtk.Label label3; private global::Gtk.Button buttonOk; protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget IBBoard.WarFoundry.GUI.GTK.FrmAbout this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmAbout"; this.Title = global::Mono.Unix.Catalog.GetString("About WF"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAbout.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.image1 = new global::Gtk.Image(); this.image1.Name = "image1"; this.image1.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("IBBoard.WarFoundry.GUI.GTK.App-lrg.png"); w1.Add(this.image1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.image1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<span font_size=\"x-large\" weight=\"bold\">WarFoundry v0.1 Beta 1</span>"); this.label1.UseMarkup = true; w1.Add(this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.label1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("WarFoundry is an open-source army creation tool that lets you create rosters for multiple game systems."); this.label4.Wrap = true; this.label4.Justify = ((global::Gtk.Justification)(2)); w1.Add(this.label4); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.label4])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("© 2007-2010, IBBoard and others"); w1.Add(this.label2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.label2])); w5.Position = 3; w5.Expand = false; w5.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("<a href=\"http://warfoundry.co.uk\">http://warfoundry.co.uk</a>"); this.label3.UseMarkup = true; w1.Add(this.label3); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1[this.label3])); w6.Position = 4; w6.Expand = false; w6.Fill = false; // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAbout.ActionArea global::Gtk.HButtonBox w7 = this.ActionArea; w7.Name = "dialog1_ActionArea"; w7.Spacing = 10; w7.BorderWidth = ((uint)(5)); w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonOk])); w8.Expand = false; w8.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 305; this.DefaultHeight = 300; this.Show(); this.buttonOk.Activated += new global::System.EventHandler(this.OkayClicked); } } }