From adb503f040796d7bfb48eab3932ac00d693f2a85 Mon Sep 17 00:00:00 2001 From: bertrandleroy Date: Wed, 28 Sep 2011 18:03:28 -0700 Subject: [PATCH 1/4] Missing localizer call (http://orchard.codeplex.com/workitem/18134) --HG-- branch : 1.x --- .../Modules/Orchard.Comments/Views/Admin/Index.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.cshtml b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.cshtml index 74dd7f968..1c198ee97 100644 --- a/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.cshtml @@ -97,7 +97,7 @@ @T("Approve")@T(" | ") } else { - @("Unapprove")@T(" | ") + @T("Unapprove")@T(" | ") } @T("Edit")@T(" | ") @T("Delete") From 03b030552592603d69f19c893a62a3772cfe4f3b Mon Sep 17 00:00:00 2001 From: bertrandleroy Date: Wed, 28 Sep 2011 18:12:10 -0700 Subject: [PATCH 2/4] Fixed inaccurate comment --HG-- branch : 1.x --- .../Mvc/DataAnnotations/LocalizedModelValidatorProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard/Mvc/DataAnnotations/LocalizedModelValidatorProvider.cs b/src/Orchard/Mvc/DataAnnotations/LocalizedModelValidatorProvider.cs index 5975da82e..4ee178a13 100644 --- a/src/Orchard/Mvc/DataAnnotations/LocalizedModelValidatorProvider.cs +++ b/src/Orchard/Mvc/DataAnnotations/LocalizedModelValidatorProvider.cs @@ -27,7 +27,7 @@ namespace Orchard.Mvc.DataAnnotations { // overriden messages have their localization in the scope of the class they are applied to var tContainer = LocalizationUtilities.Resolve(context, metadata.ContainerType.FullName); - // default translations use the attribute's scope, e.g., System.ComponentModel.DataAnnotations.RequiredAttribute + // default translations use the attribute's scope, e.g., Orchard.Mvc.DataAnnotations.LocalizedRequiredAttribute var tProvider = LocalizationUtilities.Resolve(context, attribute.GetType().FullName); var validationAttribute = attribute as ValidationAttribute; From 1db4f36c91a2a4efa4aae7349de6fe1f1bfb9884 Mon Sep 17 00:00:00 2001 From: bertrandleroy Date: Wed, 28 Sep 2011 19:19:44 -0700 Subject: [PATCH 3/4] Missing localizer (http://orchard.codeplex.com/workitem/18133) --HG-- branch : 1.x --- .../Modules/Orchard.Comments/Views/CommentMetadata.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Modules/Orchard.Comments/Views/CommentMetadata.cshtml b/src/Orchard.Web/Modules/Orchard.Comments/Views/CommentMetadata.cshtml index 3fa1082f1..72cc6afa8 100644 --- a/src/Orchard.Web/Modules/Orchard.Comments/Views/CommentMetadata.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Comments/Views/CommentMetadata.cshtml @@ -9,4 +9,4 @@ var comment = (Orchard.Comments.Models.CommentPart)Model.ContentPart; } -said \ No newline at end of file +@T("said") \ No newline at end of file From 137616ec83d7f9ae057e5d885725adc7e929ffb4 Mon Sep 17 00:00:00 2001 From: bertrandleroy Date: Wed, 28 Sep 2011 19:59:20 -0700 Subject: [PATCH 4/4] Missing localizer (http://orchard.codeplex.com/workitem/18080) --HG-- branch : 1.x --- src/Orchard.Web/Core/Shapes/Views/User.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Orchard.Web/Core/Shapes/Views/User.cshtml b/src/Orchard.Web/Core/Shapes/Views/User.cshtml index 65fdbc644..8819882ad 100644 --- a/src/Orchard.Web/Core/Shapes/Views/User.cshtml +++ b/src/Orchard.Web/Core/Shapes/Views/User.cshtml @@ -7,7 +7,7 @@ } else {