Author: mhabersack
Date: 2007-03-14 08:57:18 -0500 (Wed, 14 Mar 2007)
New Revision: 74255
Modified:
trunk/mcs/class/System.Web/System.Web.Compilation/AppResourcesCompiler.cs
trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
Log:
2007-03-14 Marek Habersack <[EMAIL PROTECTED]>
* AppResourcesCompiler.cs: Fix a bug with global resources file
grouping where no translated resources were processed due to base
name mismatch.
Modified:
trunk/mcs/class/System.Web/System.Web.Compilation/AppResourcesCompiler.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/AppResourcesCompiler.cs
2007-03-14 13:13:22 UTC (rev 74254)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/AppResourcesCompiler.cs
2007-03-14 13:57:18 UTC (rev 74255)
@@ -334,10 +334,11 @@
foreach (List<string> al in groups) {
s = al [0];
tmp = Path.GetFileNameWithoutExtension (s);
+ if (tmp.StartsWith ("Resources."))
+ tmp = tmp.Substring (10);
foreach (AppResourceFileInfo arfi in files) {
if (arfi.Seen)
continue;
-
s = arfi.Info.FullName;
if (s == null)
continue;
Modified: trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2007-03-14
13:13:22 UTC (rev 74254)
+++ trunk/mcs/class/System.Web/System.Web.Compilation/ChangeLog 2007-03-14
13:57:18 UTC (rev 74255)
@@ -1,5 +1,9 @@
2007-03-14 Marek Habersack <[EMAIL PROTECTED]>
+ * AppResourcesCompiler.cs: Fix a bug with global resources file
+ grouping where no translated resources were processed due to base
+ name mismatch.
+
* TemplateControlCompiler.cs: hadle situations when there exist a
control in the page with id matching the name of a field/property
in the parent class. In this case we use 'protected new' to
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches