[JIRA] Created: (CAL-16) Expand API to allow default messages to be provided

Expand API to allow default messages to be provided --------------------------------------------------- Key: CAL-16 URL: http://jira.qos.ch/browse/CAL-16 Project: CAL10N Issue Type: Improvement Reporter: Kevin Stembridge Assignee: Ceki Gulcu Priority: Minor Currently, application code would have to handle the case where a message is not found and a default should be used instead. You could add methods to the IMessageConveyor interface to allow a default to be provided. e.g. IMessageConveyor.getMessageWithFallback(E key, String fallback, Object... args); -- 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

[ http://jira.qos.ch/browse/CAL-16?page=com.atlassian.jira.plugin.system.issue... ] Ceki Gulcu resolved CAL-16. --------------------------- Resolution: Won't Fix Kevin, thank you for this report. The core service provided by CAL10N is the verification of messages keys. Passing default values in code would go against the purpose of that core service. As such, I am marking this report as WONT FIX.
Expand API to allow default messages to be provided ---------------------------------------------------
Key: CAL-16 URL: http://jira.qos.ch/browse/CAL-16 Project: CAL10N Issue Type: Improvement Reporter: Kevin Stembridge Assignee: Ceki Gulcu Priority: Minor
Currently, application code would have to handle the case where a message is not found and a default should be used instead. You could add methods to the IMessageConveyor interface to allow a default to be provided. e.g. IMessageConveyor.getMessageWithFallback(E key, String fallback, Object... args);
-- 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
participants (2)
-
Ceki Gulcu (JIRA)
-
Kevin Stembridge (JIRA)