# HG changeset patch # User IBBoard # Date 1268168442 0 # Node ID 7274f305eb498236512efabaa0e16c23aeb6c875 # Parent d052bc59cb220a40ee947b68f0ad01ace344fb37 Fixes #28: Create translatable toolbar items for new toolbars * Create translatable toolstrip button and split toolstrip button (we already had old-school toolbar buttons and needed toolstrip buttons) diff -r d052bc59cb22 -r 7274f305eb49 IBBoard.Windows.Forms.csproj --- a/IBBoard.Windows.Forms.csproj Sun Mar 07 20:52:18 2010 +0000 +++ b/IBBoard.Windows.Forms.csproj Tue Mar 09 21:00:42 2010 +0000 @@ -98,9 +98,15 @@ Component + + Component + Component + + Component + Code diff -r d052bc59cb22 -r 7274f305eb49 Windows/Forms/IBBToolStripButton.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Windows/Forms/IBBToolStripButton.cs Tue Mar 09 21:00:42 2010 +0000 @@ -0,0 +1,22 @@ +// This file (IBBToolStripButton.cs) is a part of the IBBoard.Windows.Forms library and is copyright 2009 IBBoard. +// +// The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license. + +using System; +using System.Collections; +using System.ComponentModel; +using System.Drawing; +using System.Data; +using System.Windows.Forms; +using IBBoard.Lang; + +namespace IBBoard.Windows.Forms +{ + /// + /// A translatable ToolStripButton using IBBoard's ITranslatable interface. + /// + public class IBBToolStripButton : System.Windows.Forms.ToolStripButton, ITranslatable + { + //Marker interface for translations + } +} diff -r d052bc59cb22 -r 7274f305eb49 Windows/Forms/IBBToolStripSplitButton.cs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Windows/Forms/IBBToolStripSplitButton.cs Tue Mar 09 21:00:42 2010 +0000 @@ -0,0 +1,17 @@ +// This file (IBBToolStripSplitButton.cs) is a part of the IBBoard.Windows.Forms library and is copyright 2009 IBBoard. +// +// The file and the library/program it is in are licensed under the GNU LGPL license, either version 3 of the License or (at your option) any later version. Please see COPYING.LGPL for more information and the full license. + +using System.Windows.Forms; +using IBBoard.Lang; + +namespace IBBoard.Windows.Forms +{ + /// + /// A translatable ToolStripButton using IBBoard's ITranslatable interface. + /// + public class IBBToolStripSplitButton : ToolStripSplitButton, ITranslatable + { + //Marker interface for translations + } +}