Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
annotate FrmAbout.cs @ 83:678e9a0392fc
Re #308: Make GTK# UI translatable
* Translate category buttons
* Translate HTML export
* Translate removing units
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 29 Dec 2010 16:10:21 +0000 |
parents | 9c9af2ce8c43 |
children | e40d892a2298 |
rev | line source |
---|---|
77 | 1 // This file (FrmAbout.cs) is a part of the IBBoard.WarFoundry.GUI.GTK project and is copyright 2010 IBBoard |
2 // | |
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 | |
5 using System; | |
6 using Gtk; | |
80
9c9af2ce8c43
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
7 using IBBoard.GtkSharp.Translatable; |
77 | 8 |
9 namespace IBBoard.WarFoundry.GUI.GTK | |
10 { | |
80
9c9af2ce8c43
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
11 public partial class FrmAbout : TranslatableDialog |
77 | 12 { |
13 private static FrmAbout frm; | |
14 | |
15 public static FrmAbout GetForm() | |
16 { | |
17 if (frm == null) | |
18 { | |
19 frm = new FrmAbout(); | |
20 } | |
21 | |
22 return frm; | |
23 } | |
24 | |
25 private FrmAbout() | |
26 { | |
27 this.Build(); | |
80
9c9af2ce8c43
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
28 ControlTranslator.TranslateWidget(this); |
77 | 29 } |
30 | |
31 protected virtual void OkayClicked(object sender, System.EventArgs e) | |
32 { | |
33 Respond(ResponseType.Ok); | |
34 } | |
35 } | |
36 } | |
37 |