comparison gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewArmy.cs @ 85:bfb29a60b802

Re #308: Make GTK# UI translatable * Translate the bits of FrmNewArmy that can't be translated via cascade * Set up label names and translations for translating (need to get Stetic to use TranslatableLabel)
author IBBoard <dev@ibboard.co.uk>
date Wed, 29 Dec 2010 16:56:55 +0000
parents 68804784bf6f
children 9515b57ba752
comparison
equal deleted inserted replaced
84:9db2112b31d7 85:bfb29a60b802
7 private global::Gtk.Table table1; 7 private global::Gtk.Table table1;
8 private global::Gtk.ScrolledWindow GtkScrolledWindow; 8 private global::Gtk.ScrolledWindow GtkScrolledWindow;
9 private global::Gtk.TreeView lstRaces; 9 private global::Gtk.TreeView lstRaces;
10 private global::Gtk.HBox hbox2; 10 private global::Gtk.HBox hbox2;
11 private global::Gtk.SpinButton sbPointsValue; 11 private global::Gtk.SpinButton sbPointsValue;
12 private global::Gtk.Label label1; 12 private global::Gtk.Label lblArmyName;
13 private global::Gtk.Label label2; 13 private global::Gtk.Label lblArmySize;
14 private global::Gtk.Label label3; 14 private global::Gtk.Label lblGameSystem;
15 private global::Gtk.Label label4; 15 private global::Gtk.Label lblRace;
16 private global::Gtk.ComboBoxEntry systemCombo; 16 private global::Gtk.ComboBoxEntry systemCombo;
17 private global::Gtk.Entry txtArmyName; 17 private global::Gtk.Entry txtArmyName;
18 private global::Gtk.Button bttnCancel; 18 private global::Gtk.Button bttnCancel;
19 private global::Gtk.Button bttnCreate; 19 private global::Gtk.Button bttnCreate;
20 20
84 w5.LeftAttach = ((uint)(1)); 84 w5.LeftAttach = ((uint)(1));
85 w5.RightAttach = ((uint)(2)); 85 w5.RightAttach = ((uint)(2));
86 w5.XOptions = ((global::Gtk.AttachOptions)(4)); 86 w5.XOptions = ((global::Gtk.AttachOptions)(4));
87 w5.YOptions = ((global::Gtk.AttachOptions)(4)); 87 w5.YOptions = ((global::Gtk.AttachOptions)(4));
88 // Container child table1.Gtk.Table+TableChild 88 // Container child table1.Gtk.Table+TableChild
89 this.label1 = new global::Gtk.Label(); 89 this.lblArmyName = new global::Gtk.Label();
90 this.label1.Name = "label1"; 90 this.lblArmyName.Name = "lblArmyName";
91 this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Race"); 91 this.lblArmyName.LabelProp = global::Mono.Unix.Catalog.GetString("army name");
92 this.table1.Add(this.label1); 92 this.table1.Add(this.lblArmyName);
93 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.label1])); 93 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.lblArmyName]));
94 w6.TopAttach = ((uint)(1)); 94 w6.TopAttach = ((uint)(2));
95 w6.BottomAttach = ((uint)(2)); 95 w6.BottomAttach = ((uint)(3));
96 w6.XOptions = ((global::Gtk.AttachOptions)(4)); 96 w6.XOptions = ((global::Gtk.AttachOptions)(4));
97 w6.YOptions = ((global::Gtk.AttachOptions)(4)); 97 w6.YOptions = ((global::Gtk.AttachOptions)(4));
98 // Container child table1.Gtk.Table+TableChild 98 // Container child table1.Gtk.Table+TableChild
99 this.label2 = new global::Gtk.Label(); 99 this.lblArmySize = new global::Gtk.Label();
100 this.label2.Name = "label2"; 100 this.lblArmySize.Name = "lblArmySize";
101 this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Army name"); 101 this.lblArmySize.LabelProp = global::Mono.Unix.Catalog.GetString("points value");
102 this.table1.Add(this.label2); 102 this.table1.Add(this.lblArmySize);
103 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); 103 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.lblArmySize]));
104 w7.TopAttach = ((uint)(2)); 104 w7.TopAttach = ((uint)(3));
105 w7.BottomAttach = ((uint)(3)); 105 w7.BottomAttach = ((uint)(4));
106 w7.XOptions = ((global::Gtk.AttachOptions)(4)); 106 w7.XOptions = ((global::Gtk.AttachOptions)(4));
107 w7.YOptions = ((global::Gtk.AttachOptions)(4)); 107 w7.YOptions = ((global::Gtk.AttachOptions)(4));
108 // Container child table1.Gtk.Table+TableChild 108 // Container child table1.Gtk.Table+TableChild
109 this.label3 = new global::Gtk.Label(); 109 this.lblGameSystem = new global::Gtk.Label();
110 this.label3.Name = "label3"; 110 this.lblGameSystem.Name = "lblGameSystem";
111 this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Points value"); 111 this.lblGameSystem.LabelProp = global::Mono.Unix.Catalog.GetString("game system");
112 this.table1.Add(this.label3); 112 this.table1.Add(this.lblGameSystem);
113 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); 113 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.lblGameSystem]));
114 w8.TopAttach = ((uint)(3));
115 w8.BottomAttach = ((uint)(4));
116 w8.XOptions = ((global::Gtk.AttachOptions)(4)); 114 w8.XOptions = ((global::Gtk.AttachOptions)(4));
117 w8.YOptions = ((global::Gtk.AttachOptions)(4)); 115 w8.YOptions = ((global::Gtk.AttachOptions)(4));
118 // Container child table1.Gtk.Table+TableChild 116 // Container child table1.Gtk.Table+TableChild
119 this.label4 = new global::Gtk.Label(); 117 this.lblRace = new global::Gtk.Label();
120 this.label4.Name = "label4"; 118 this.lblRace.Name = "lblRace";
121 this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("game system"); 119 this.lblRace.LabelProp = global::Mono.Unix.Catalog.GetString("race");
122 this.table1.Add(this.label4); 120 this.table1.Add(this.lblRace);
123 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); 121 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.lblRace]));
122 w9.TopAttach = ((uint)(1));
123 w9.BottomAttach = ((uint)(2));
124 w9.XOptions = ((global::Gtk.AttachOptions)(4)); 124 w9.XOptions = ((global::Gtk.AttachOptions)(4));
125 w9.YOptions = ((global::Gtk.AttachOptions)(4)); 125 w9.YOptions = ((global::Gtk.AttachOptions)(4));
126 // Container child table1.Gtk.Table+TableChild 126 // Container child table1.Gtk.Table+TableChild
127 this.systemCombo = global::Gtk.ComboBoxEntry.NewText(); 127 this.systemCombo = global::Gtk.ComboBoxEntry.NewText();
128 this.systemCombo.Name = "systemCombo"; 128 this.systemCombo.Name = "systemCombo";