Mercurial > repos > IBBoard.GtkSharp
changeset 25:f71693260828
Re #47: Add translatable GTK# widgets
* Add TranslatableLabel class
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 29 Dec 2010 16:57:25 +0000 |
parents | 3da8cf449717 |
children | 63919afde887 |
files | IBBoard.GtkSharp.csproj Translatable/TranslatableLabel.cs |
diffstat | 2 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/IBBoard.GtkSharp.csproj Wed Dec 29 16:47:46 2010 +0000 +++ b/IBBoard.GtkSharp.csproj Wed Dec 29 16:57:25 2010 +0000 @@ -38,6 +38,7 @@ <Compile Include="Translatable\TranslatableWindow.cs" /> <Compile Include="Lang\ITranslatableWithActions.cs" /> <Compile Include="Translatable\TranslatableWindowWithActions.cs" /> + <Compile Include="Translatable\TranslatableLabel.cs" /> </ItemGroup> <ItemGroup> <None Include="COPYING.GPL" />
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Translatable/TranslatableLabel.cs Wed Dec 29 16:57:25 2010 +0000 @@ -0,0 +1,17 @@ +// This file (TranslatableLabel.cs) is a part of the IBBoard.GtkSharp project and is copyright 2010 IBBoard +// +// // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. + +using System; +using Gtk; +using IBBoard.Lang; + +namespace IBBoard.GtkSharp.Translatable +{ + [System.ComponentModel.ToolboxItem("Translatable Label")] + public class TranslatableLabel : Label, ITranslatable + { + //Do nothing special + } +} +