[jboss-jira] [JBoss JIRA] (LOGTOOL-48) Validate translation messages to ensure order of parameters and type matching
James Perkins (JIRA)
jira-events at lists.jboss.org
Tue May 15 20:53:18 EDT 2012
[ https://issues.jboss.org/browse/LOGTOOL-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins resolved LOGTOOL-48.
----------------------------------
Resolution: Done
Pull request merged https://github.com/jboss-logging/jboss-logging-tools/commit/af0e70405da32cd338a734e2cec5cdfb5b78f6b1
> Validate translation messages to ensure order of parameters and type matching
> -----------------------------------------------------------------------------
>
> Key: LOGTOOL-48
> URL: https://issues.jboss.org/browse/LOGTOOL-48
> Project: Log Tool
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Reporter: James Perkins
> Assignee: James Perkins
> Fix For: 1.0.3.Final
>
>
> Need better error checking for the translation property files.
> For example,
> English: "%s is %d"
> Japanese: "%d は %s" (Wrong format, this causes parameter format error)
> Japanese: "%2$d は %1$s" (Correct format)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list