sakai
sakai copied to clipboard
SAK-47776 Erreur de lecture de [dateAsString] sur le type [org.sakaiproject.tool.summarycalendar.ui.Day]
https://sakaiproject.atlassian.net/browse/SAK-47776
We need the replaceAll
Seen here: https://www.tabnine.com/code/java/methods/java.text.MessageFormat/applyPattern
/**
* Translate a text string based on our i18n files.
* @since 3.1
*/
public static String i18n(ResourceBundle messages, String key, Object... messageArguments) {
MessageFormat formatter = new MessageFormat("");
formatter.applyPattern(messages.getString(key).replaceAll("'", "''"));
return formatter.format(messageArguments);