This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation messages property file.
This is to conform to Hibernate Validator's expected file name.
- Loading branch information
Carlos Munoz
committed
Jun 11, 2013
1 parent
c9883ad
commit b2bf79b
Showing
6 changed files
with
21 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
zanata-war/src/main/resources/ValidationMessages.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
javax.validation.constraints.AssertFalse.message=validation failed | ||
javax.validation.constraints.AssertTrue.message=validation failed | ||
javax.validation.constraints.Future.message=must be a future date | ||
javax.validation.constraints.Length.message=length must be between {min} and {max} | ||
javax.validation.constraints.Max.message=must be less than or equal to {value} | ||
javax.validation.constraints.Min.message=must be greater than or equal to {value} | ||
javax.validation.constraints.NotNull.message=may not be null | ||
javax.validation.constraints.Past.message=must be a past date | ||
javax.validation.constraints.Pattern.message=must match "{regex}" | ||
javax.validation.constraints.Range.message=must be between {min} and {max} | ||
javax.validation.constraints.Size.message=size must be between {min} and {max} | ||
javax.validation.constraints.Email.message=must be a well-formed email address | ||
javax.validation.constraints.Slug.message=must start and end with letter or number, and contain only letters, numbers, underscores and hyphens. | ||
javax.validation.constraints.Url.message=must be a valid URL | ||
#javax.validation.constraints.UrlNoSlash.message=must be a valid URL (without final slash) | ||
javax.validation.constraints.NotDuplicateEmail.message=duplicate email | ||
javax.validation.constraints.EmailList.message=invalid email or incorrect comma placement |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters