[hibernate-issues] [Hibernate-JIRA] Updated: (HV-36) DefaultValidatorMessages_ja.properties

WATANABE Takashi (JIRA) noreply at atlassian.com
Thu Jul 26 01:39:52 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HV-36?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

WATANABE Takashi updated HV-36:
-------------------------------

    Attachment: 20070725_2305.patch.txt

As far as I know, JAN(Japan(ese) Article Number) is a kind
of EAN. So the algorithm perfectly matches JAN. JAN uses
the number system "49"(or "45").
 49 MMMMM PPPPP C
 45 MMMMM PPPPP C
 45 MMMMMMM PPP C (for newcomers because of the resource shortage)
 49 MMMM P C
 45 MMMM P C
 M: Manufacturer code / P: Product code / C: Check digit
http://en.wikipedia.org/wiki/List_of_GS1_country_codes

JAN is also a barcode standard specified by JIS-X-0501
(JIS: Japanese Industrial Standards), and used for almost all
products distributed in retail stores in Japan.
(Sorry, I have never read JIS X 0501)

Unfortunately, EAN is not well-known in Japan, but JAN is
rather famous, and I decided to just translate EAN to JAN.

Of course, you can use EAN instead of JAN if you'd like.

BTW, the Japanese call JAN "JAN code".
(I don't know why the word "code" is necessary)

> DefaultValidatorMessages_ja.properties
> --------------------------------------
>
>                 Key: HV-36
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-36
>             Project: Hibernate Validator
>          Issue Type: Patch
>            Reporter: WATANABE Takashi
>            Priority: Trivial
>             Fix For: 3.0.1
>
>         Attachments: 20070705_2145.patch.txt, 20070705_2145.sample.DefaultValidatorMessages_ja.png, 20070725_2305.patch.txt
>
>
> http://anonsvn.jboss.org/repos/hibernate/trunk/HibernateExt/validator/src/java/org/hibernate/validator/resources/DefaultValidatorMessages.properties
> I'm not a professional translator, and turned to translators 
> of the JJBug(Japan JBoss User Group; www.jbug.jp).
>  http://lists.sourceforge.jp/mailman/archives/japan-jbug-translators/2007-July/thread.html
> Mr. Kimura gave me some good advice there, and (I believe) 
> I managed to translate it into Japanese that is not only 
> straightforward, but also respectful of the original text. 
> I assumed the messages of assertFalse, assertTrue, notNull, 
> notEmpty, and pattern were meant for programmers rather than 
> end users because of the existence of words such as "assertion", 
> "null", and "regex(and match)". 
> I hope that's useful.

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