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 @@ @Html.ActionLink(T("Sign Out").ToString(), "LogOff", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = Context.Request.RawUrl }) - @Html.ActionLink("Dashboard", "Index", new { Area = "Dashboard", Controller = "Admin" }) + @Html.ActionLink(T("Dashboard").ToString(), "Index", new { Area = "Dashboard", Controller = "Admin" }) } else { @Html.ActionLink(T("Sign In").ToString(), "LogOn", new { Controller = "Account", Area = "Orchard.Users", ReturnUrl = (Request.QueryString["ReturnUrl"] ?? Request.RawUrl) }) 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") 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 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;