- public const string EmailAddressAttribute_Invalid = "EmailAddressAttribute_Invalid";
- public const string EnumDataTypeAttribute_TypeCannotBeNull = "EnumDataTypeAttribute_TypeCannotBeNull";
- public const string EnumDataTypeAttribute_TypeNeedsToBeAnEnum = "EnumDataTypeAttribute_TypeNeedsToBeAnEnum";
- public const string FileExtensionsAttribute_Invalid = "FileExtensionsAttribute_Invalid";
- public const string LocalizableString_LocalizationFailed = "Cannot retrieve property '{0}' because localization failed. Type '{1}' is not public or does not contain a public static string property with the name '{2}'.";
- public const string MaxLengthAttribute_InvalidMaxLength = "MaxLengthAttribute_InvalidMaxLength";
- public const string MaxLengthAttribute_ValidationError = "MaxLengthAttribute_ValidationError";
- public const string MetadataTypeAttribute_TypeCannotBeNull = "MetadataTypeAttribute_TypeCannotBeNull";
- public const string MinLengthAttribute_InvalidMinLength = "MinLengthAttribute_InvalidMinLength";
- public const string MinLengthAttribute_ValidationError = "MinLengthAttribute_ValidationError";
- public const string PhoneAttribute_Invalid = "PhoneAttribute_Invalid";
- public const string RangeAttribute_ArbitraryTypeNotIComparable = "RangeAttribute_ArbitraryTypeNotIComparable";
- public const string RangeAttribute_MinGreaterThanMax = "RangeAttribute_MinGreaterThanMax";
- public const string RangeAttribute_Must_Set_Min_And_Max = "RangeAttribute_Must_Set_Min_And_Max";
- public const string RangeAttribute_Must_Set_Operand_Type = "RangeAttribute_Must_Set_Operand_Type";
+ public const string EmailAddressAttribute_Invalid = "The {0} field is not a valid e-mail address.";
+ public const string EnumDataTypeAttribute_TypeCannotBeNull = "The type provided for EnumDataTypeAttribute cannot be null.";
+ public const string EnumDataTypeAttribute_TypeNeedsToBeAnEnum = "The type '{0}' needs to represent an enumeration type.";
+ public const string FileExtensionsAttribute_Invalid = "The {0} field only accepts files with the following extensions: {1}";
+ public const string LocalizableString_LocalizationFailed = "Cannot retrieve property '{0}' because localization failed. Type '{1}' is not public or does not contain a public static string property with the name '{2}'.";
+ public const string MaxLengthAttribute_InvalidMaxLength = "MaxLengthAttribute must have a Length value that is greater than zero. Use MaxLength() without parameters to indicate that the string or array can have the maximum allowable length.";
+ public const string MaxLengthAttribute_ValidationError = "The field {0} must be a string or array type with a maximum length of '{1}'.";
+ public const string MetadataTypeAttribute_TypeCannotBeNull = "MetadataClassType cannot be null.";
+ public const string MinLengthAttribute_InvalidMinLength = "MinLengthAttribute must have a Length value that is zero or greater.";
+ public const string MinLengthAttribute_ValidationError = "The field {0} must be a string or array type with a minimum length of '{1}'.";
+ public const string PhoneAttribute_Invalid = "The {0} field is not a valid phone number.";
+ public const string RangeAttribute_ArbitraryTypeNotIComparable = "The type {0} must implement {1}.";
+ public const string RangeAttribute_MinGreaterThanMax = "The maximum value '{0}' must be greater than or equal to the minimum value '{1}'.";
+ public const string RangeAttribute_Must_Set_Min_And_Max = "The minimum and maximum values must be set.";
+ public const string RangeAttribute_Must_Set_Operand_Type = "The OperandType must be set when strings are used for minimum and maximum values.";