comparison Widgets/TransformXmlWidget.cs @ 132:cff58ea990c4

Fixes #361: Add XML export UI to GTK# * Use translatable widgets * Add English translations
author IBBoard <dev@ibboard.co.uk>
date Sat, 08 Oct 2011 20:33:37 +0100
parents 786a3afb9240
children 9808adf2d566
comparison
equal deleted inserted replaced
131:0d8004d6a4e5 132:cff58ea990c4
3 // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. 3 // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license.
4 using System; 4 using System;
5 using System.IO; 5 using System.IO;
6 using System.Collections.Generic; 6 using System.Collections.Generic;
7 using IBBoard.GtkSharp; 7 using IBBoard.GtkSharp;
8 using IBBoard.GtkSharp.Translatable;
8 9
9 namespace IBBoard.WarFoundry.GUI.GTK 10 namespace IBBoard.WarFoundry.GUI.GTK
10 { 11 {
11 [System.ComponentModel.ToolboxItem(true)] 12 [System.ComponentModel.ToolboxItem(true)]
12 public partial class TransformXmlWidget : Gtk.Bin 13 public partial class TransformXmlWidget : Gtk.Bin
15 16
16 public TransformXmlWidget() 17 public TransformXmlWidget()
17 { 18 {
18 this.Build(); 19 this.Build();
19 FillXsltList(); 20 FillXsltList();
21 ControlTranslator.TranslateWidget(this);
20 } 22 }
21 23
22 private void FillXsltList() 24 private void FillXsltList()
23 { 25 {
24 DirectoryInfo dir = new DirectoryInfo(System.IO.Path.Combine(Constants.ExecutablePath, "xsl")); 26 DirectoryInfo dir = new DirectoryInfo(System.IO.Path.Combine(Constants.ExecutablePath, "xsl"));