Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
diff gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmAboutCredits.cs @ 96:b4416ca69153
Fixes #309: Add initial preference dialog with language support
* Hook up events so that everything translates itself when languages change
Re #308: Make GTK# UI translatable
* Update English and French translations (using Google Translate)
* Begin to standardise on WinForms names for widgets for maximum reusability of translation files
* Make some preference and credit buttons translatable
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 02 Jan 2011 15:12:31 +0000 |
parents | 26e4525b49cf |
children | 135491fd1830 |
line wrap: on
line diff
--- a/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmAboutCredits.cs Sat Jan 01 20:55:07 2011 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmAboutCredits.cs Sun Jan 02 15:12:31 2011 +0000 @@ -11,7 +11,7 @@ private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblDevelopers; private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblTestersCommon; private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblTestersGtk; - private global::Gtk.Button bttnClose; + private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnClose; protected virtual void Build() { @@ -129,7 +129,7 @@ w9.BorderWidth = ((uint)(5)); w9.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild - this.bttnClose = new global::Gtk.Button(); + this.bttnClose = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); this.bttnClose.CanDefault = true; this.bttnClose.CanFocus = true; this.bttnClose.Name = "bttnClose";