[jboss-jira] [JBoss JIRA] (AS7-4735) Missing parameter index in Japanese message resource files
James Perkins (JIRA)
jira-events at lists.jboss.org
Thu May 17 16:06:20 EDT 2012
[ https://issues.jboss.org/browse/AS7-4735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins resolved AS7-4735.
--------------------------------
Fix Version/s: 7.1.3.Final (EAP)
7.2.0.Alpha1
Resolution: Done
Pulled Zanata translations again and changes were merged. https://github.com/jbossas/jboss-as/commit/f55e762bc2260e83772e8d41e2441efcef8101b9 for 7.2.0.Alpha1 and https://github.com/jbossas/jboss-as/commit/9d3beda3bb20bf1c52848220125989c834b3d958 for 7.1.3.Final (EAP)
> Missing parameter index in Japanese message resource files
> ----------------------------------------------------------
>
> Key: AS7-4735
> URL: https://issues.jboss.org/browse/AS7-4735
> Project: Application Server 7
> Issue Type: Bug
> Affects Versions: 7.1.2.Final (EAP)
> Reporter: Takayoshi Kimura
> Assignee: James Perkins
> Fix For: 7.1.3.Final (EAP), 7.2.0.Alpha1
>
>
> {quote}
> commit 27b56ae78a60f42139d615b289efa32c21aecc69
> Author: James Perkins <jperkins at redhat.com>
> Date: 2012-04-30 12:59:48 -0700
> Added translations properties files.
> {quote}
> In this commit, Japanese message resource properties are added, but most of them don't specify parameter index properly. We need to rework on these properties files.
> For example,
> English: "%s is %d"
> Japanese: "%d は %s" (Wrong format, this causes parameter format error)
> Japanese: "%2$d は %1$s" (Correct format)
> In Japanese environment, users cannot read log because it's filled up with bunch of format errors and incorrect logs.
> Stack trace from "serverStopped" log:
> {quote}
> 15:26:28,100 ERROR [stderr] java.util.logging.ErrorManager: 5: Formatting error
> 15:26:28,100 ERROR [stderr] java.util.IllegalFormatConversionException: d != java.lang.String
> 15:26:28,101 ERROR [stderr] at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:3999)
> (snip)
> 15:26:28,106 ERROR [stderr] at org.jboss.logging.Logger.logf(Logger.java:2112)
> 15:26:28,107 ERROR [stderr] at org.jboss.as.server.ServerLogger_$logger.serverStopped(ServerLogger_$logger.java:114)
> 15:26:28,107 ERROR [stderr] at org.jboss.as.server.ApplicationServerService.stop(ApplicationServerService.java:182)
> {quote}
--
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