
[ http://jira.qos.ch/browse/CAL-13?page=com.atlassian.jira.plugin.system.issue... ] Gilles commented on CAL-13: --------------------------- I've found the origin of the problem: "java.text.MessageFormat" disallows single quotes (as they are used to quote an opening curly bracket). To output a single quote, one must represent it as two successive single quotes in the pattern string. The CAL10N documentation could warn about this "problem" (that will make the localization data files will be a bit ugly), although it does it already, indirectly: ---CUT--- The default IMessageConveyor implementation, namely MessageConveyor, uses the standard Java convention for parameter substitution as defined by the java.text.MessageFormat class. ---CUT---
Single quote causes bad parsing -------------------------------
Key: CAL-13 URL: http://jira.qos.ch/browse/CAL-13 Project: CAL10N Issue Type: Bug Reporter: Gilles Assignee: Ceki Gulcu
When in a "properties" file containing the localized message patterns, there is a single quote in a pattern, it doesn't appear in the output and prevents the conversion of the curly-braced variables that follow it.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira