[Monodevelop-patches-list] r1971 - in trunk/MonoDevelop/Core/src/Main/Base: . Gui/Components

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sun Sep 26 16:07:38 EDT 2004


Author: tberman
Date: 2004-09-26 16:07:38 -0400 (Sun, 26 Sep 2004)
New Revision: 1971

Modified:
   trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
   trunk/MonoDevelop/Core/src/Main/Base/Gui/Components/SdMenu.cs
Log:
fix stupid i18n issue (hopefully)


Modified: trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/ChangeLog	2004-09-26 14:18:52 UTC (rev 1970)
+++ trunk/MonoDevelop/Core/src/Main/Base/ChangeLog	2004-09-26 20:07:38 UTC (rev 1971)
@@ -1,3 +1,7 @@
+2004-09-26  Todd Berman  <tberman at off.net>
+
+	* Gui/Components/SdMenu.cs: this should fix i18n for menus
+
 2004-09-25  Peter Johanson  <latexer at gentoo.org>
 
 	* Gui/Components/SdMenuCheckBox.cs: Workaround released gtk# 1.0.2

Modified: trunk/MonoDevelop/Core/src/Main/Base/Gui/Components/SdMenu.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/Gui/Components/SdMenu.cs	2004-09-26 14:18:52 UTC (rev 1970)
+++ trunk/MonoDevelop/Core/src/Main/Base/Gui/Components/SdMenu.cs	2004-09-26 20:07:38 UTC (rev 1971)
@@ -13,6 +13,7 @@
 using System.Drawing.Imaging;
 
 using MonoDevelop.Core.Services;
+using MonoDevelop.Services;
 using MonoDevelop.Core.AddIns.Conditions;
 using MonoDevelop.Core.AddIns.Codons;
 
@@ -42,9 +43,7 @@
 			this.subMenu             = new Gtk.Menu ();
 			this.Submenu             = subMenu;
 
-			
-			
-			localizedText = text;
+			localizedText = GettextCatalog.GetString (text);
 
 			Gtk.AccelLabel label = new Gtk.AccelLabel (localizedText);
 			label.Xalign = 0;




More information about the Monodevelop-patches-list mailing list