[Monodevelop-patches-list] r1894 - in trunk/MonoDevelop/Core/src: Libraries/MonoDevelop.Core/Services Main/Base Main/Base/Internal/Codons/MenuItems

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon Jul 5 02:21:09 EDT 2004


Author: tberman
Date: 2004-07-05 02:21:09 -0400 (Mon, 05 Jul 2004)
New Revision: 1894

Modified:
   trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Core/Services/
   trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
   trunk/MonoDevelop/Core/src/Main/Base/Internal/Codons/MenuItems/MenuItemCodon.cs
Log:
fix the i18n of menuitems with a submenu, and mark GettextCatalog.cs as ignored



Property changes on: trunk/MonoDevelop/Core/src/Libraries/MonoDevelop.Core/Services
___________________________________________________________________
Name: svn:ignore
   + GettextCatalog.cs


Modified: trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/ChangeLog	2004-07-05 05:30:43 UTC (rev 1893)
+++ trunk/MonoDevelop/Core/src/Main/Base/ChangeLog	2004-07-05 06:21:09 UTC (rev 1894)
@@ -1,3 +1,8 @@
+2004-07-05  Todd Berman  <tberman at off.net>
+
+	* Internal/Codons/MenuItems/MenuItemCodon.cs: allow menuitems with
+	a submenu to be translated properly.
+
 2004-07-04  John Luke  <jluke at cfl.rr.com>
 
 	* Gui/Dialogs/OptionPanels/ProjectOptions/DeployFileOptions.cs:

Modified: trunk/MonoDevelop/Core/src/Main/Base/Internal/Codons/MenuItems/MenuItemCodon.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/Internal/Codons/MenuItems/MenuItemCodon.cs	2004-07-05 05:30:43 UTC (rev 1893)
+++ trunk/MonoDevelop/Core/src/Main/Base/Internal/Codons/MenuItems/MenuItemCodon.cs	2004-07-05 06:21:09 UTC (rev 1894)
@@ -124,6 +124,7 @@
 				}
 			}
 			if (newItem == null) {
+				Label = GettextCatalog.GetString (Label);
 				SdMenu newMenu = new SdMenu(conditions, owner, Label);
 				if (subItems != null && subItems.Count > 0) {
 					foreach (object item in subItems) {




More information about the Monodevelop-patches-list mailing list