diff FrmAbout.cs @ 80:9c9af2ce8c43

Re #308: Make GTK# UI translatable * Make About box translatable (dialog title) and add translation
author IBBoard <dev@ibboard.co.uk>
date Tue, 28 Dec 2010 14:32:38 +0000
parents 68804784bf6f
children e40d892a2298
line wrap: on
line diff
--- a/FrmAbout.cs	Mon Dec 27 20:56:31 2010 +0000
+++ b/FrmAbout.cs	Tue Dec 28 14:32:38 2010 +0000
@@ -4,10 +4,11 @@
 
 using System;
 using Gtk;
+using IBBoard.GtkSharp.Translatable;
 
 namespace IBBoard.WarFoundry.GUI.GTK
 {
-	public partial class FrmAbout : Gtk.Dialog
+	public partial class FrmAbout : TranslatableDialog
 	{
 		private static FrmAbout frm;
 
@@ -24,6 +25,7 @@
 		private FrmAbout()
 		{
 			this.Build();
+			ControlTranslator.TranslateWidget(this);
 		}
 
 		protected virtual void OkayClicked(object sender, System.EventArgs e)