[hibernate-issues] [Hibernate-JIRA] Commented: (HV-151) The mongolian validation message translation patch.

Hardy Ferentschik (JIRA) noreply at atlassian.com
Thu Dec 10 09:37:10 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34917#action_34917 ] 

Hardy Ferentschik commented on HV-151:
--------------------------------------

Any chance you could provide a patch for the current 4.x code base? That I could include immediately:

{code}
javax.validation.constraints.AssertFalse.message=must be false
javax.validation.constraints.AssertTrue.message=must be true
javax.validation.constraints.DecimalMax.message=must be less than or equal to {value}
javax.validation.constraints.DecimalMin.message=must be greater than or equal to {value}
javax.validation.constraints.Digits.message=numeric value out of bounds (<{integer} digits>.<{fraction} digits> expected)
javax.validation.constraints.Future.message=must be in the future
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.Null.message=must be null
javax.validation.constraints.Past.message=must be in the past
javax.validation.constraints.Pattern.message=must match "{regexp}"
javax.validation.constraints.Size.message=size must be between {min} and {max}
org.hibernate.validator.constraints.Email.message=not a well-formed email address
org.hibernate.validator.constraints.Length.message=length must be between {min} and {max}
org.hibernate.validator.constraints.NotEmpty.message=may not be empty
org.hibernate.validator.constraints.Range.message=must be between {min} and {max}
{code}

> The mongolian validation message translation patch.
> ---------------------------------------------------
>
>                 Key: HV-151
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-151
>             Project: Hibernate Validator
>          Issue Type: Patch
>          Components: engine
>    Affects Versions: 3.1.0.GA
>         Environment: Windows Vista Home Premium 32bit
>            Reporter: Batbayar Bazarragchaa
>             Fix For: 4.1.0
>
>         Attachments: DefaultValidatorMessages_mn_MN.properties
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> Hello hibernate team.
> I'd like to include Mongolian language translation of validation message.
> I've translated the messages and converted to unicode characters code. Also tested with following code:
> ClassValidator(obj.getClass(), ResourceBundle.getBundle("org.hibernate.validator.resources.DefaultValidatorMessages", new Locale("mn", "MN")));

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list