Add default descriptions for Hibernate Validator's constraints
Closes gh-151
This commit is contained in:
@@ -10,4 +10,16 @@ javax.validation.constraints.NotNull.description=Must not be null
|
||||
javax.validation.constraints.Null.description=Must be null
|
||||
javax.validation.constraints.Past.description=Must be in the past
|
||||
javax.validation.constraints.Pattern.description=Must match the regular expression '${regexp}'
|
||||
javax.validation.constraints.Size.description=Size must be between ${min} and ${max} inclusive
|
||||
javax.validation.constraints.Size.description=Size must be between ${min} and ${max} inclusive
|
||||
org.hibernate.validator.constraints.CreditCardNumber.description=Must be a well-formed credit card number
|
||||
org.hibernate.validator.constraints.EAN.description=Must be a well-formed ${type} number
|
||||
org.hibernate.validator.constraints.Email.description=Must be a well-formed email address
|
||||
org.hibernate.validator.constraints.Length.description=Length must be between ${min} and ${max} inclusive
|
||||
org.hibernate.validator.constraints.LuhnCheck.description=Must pass the Luhn Modulo 10 checksum algorithm
|
||||
org.hibernate.validator.constraints.Mod10Check.description=Must pass the Mod10 checksum algorithm
|
||||
org.hibernate.validator.constraints.Mod11Check.description=Must pass the Mod11 checksum algorithm
|
||||
org.hibernate.validator.constraints.NotBlank.description=Must not be blank
|
||||
org.hibernate.validator.constraints.NotEmpty.description=Must not be empty
|
||||
org.hibernate.validator.constraints.Range.description=Must be at least ${min} and at most ${max}
|
||||
org.hibernate.validator.constraints.SafeHtml.description=Must be safe HTML
|
||||
org.hibernate.validator.constraints.URL.description=Must be a well-formed URL
|
||||
Reference in New Issue
Block a user