uportal-war/src/main/resources/properties/i18n/Messages*.properties
have many single quotes when most keys are used through MessageFormat and need 
double quotes.

Example: use.alternate.appearance=Use 'Alternate' Appearance (Theme Dependent)
display "Use Alternate Appearance (Theme Dependent)"

Many keys are used with:
- <spring:message code="xxx" ...> together with "alwaysUseMessageFormat"
- upMsg:getMessage('xxx', $USER_LANG)

I would agree with "should we use MessageFormat for all messages, for consistent 
syntax"
(http://stackoverflow.com/questions/495776/should-i-use-java-text-messageformat-for-localised-messages-without-placeholders)
Or maybe have MessageFormat messages in a specific file, non-MessageFormat in 
another file?


On this subject, i also found: 
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4293229

--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.


--
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Reply via email to