Fixed inaccurate comment

--HG--
branch : 1.x
This commit is contained in:
bertrandleroy
2011-09-28 18:12:10 -07:00
parent adb503f040
commit 03b0305525

View File

@@ -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;