Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2.11.1.0
-
Component/s: gui
-
Labels:
-
Environment:any
Description
MessageManager.formatMessage(template, params)
uses java.text.MessageFormat.format(template, params) to create a formatted string, inserting the objects in the params array into occurrences of {0}, {1}, etc in the template string.
Single quote characters in the template string should be represented in the template as two consecutive single quote characters.
https://docs.oracle.com/javase/8/docs/api/java/text/MessageFormat.html
Fix by ensuring any message with a {0} in it has single quote characters repeated.
uses java.text.MessageFormat.format(template, params) to create a formatted string, inserting the objects in the params array into occurrences of {0}, {1}, etc in the template string.
Single quote characters in the template string should be represented in the template as two consecutive single quote characters.
https://docs.oracle.com/javase/8/docs/api/java/text/MessageFormat.html
Fix by ensuring any message with a {0} in it has single quote characters repeated.