[
http://jira.jboss.com/jira/browse/DNA-27?page=comments#action_12410425 ]
Johnny Verhaeg commented on DNA-27:
-----------------------------------
Re-designed I18n to store text and instance-specific problems within instances. Corrected
some synchronization- and exception-related bugs. Changed terminology related to
localization. Supplied many more tests, including for other locales.
I18n framework should not throw exceptions for duplicate or missing
messages
----------------------------------------------------------------------------
Key: DNA-27
URL:
http://jira.jboss.com/jira/browse/DNA-27
Project: DNA
Issue Type: Task
Components: Common
Reporter: Randall Hauch
Assigned To: Johnny Verhaeg
Priority: Minor
Fix For: 0.1
Currently, the I18n framework checks for duplicate or missing messages in the property
files. This check is very nice to have, but throwing an exception often causes problems
in many different tests. Given that some of these tests may wrap the exception thrown by
the I18n class, some of these failures can be very difficult to track down.
It would be better to have each I18n class (e.g., "CoreI18n") record the
problems, and to create a test case for each of these classes. The test case can verify
that there are no problems. Then, if there is a problem in a properties file, the test
will fail while other tests (that don't necessarily care so much about missing or
duplicate messages) won't.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira