cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17127] - [PATCH] I18nTransformer support for multiple catalogues
Date Tue, 18 Feb 2003 09:40:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17127>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17127

[PATCH] I18nTransformer support for multiple catalogues





------- Additional Comments From bruno@outerthought.org  2003-02-18 09:40 -------
Found another probably 'unintended feature' in the current I18nTransformer: if
i18n:text was used inside i18n:translate but no parameters were specified, the
text was completely removed (no translation, no default value). This behaviour
is inconsistent with previous versions of the I18nTransformer.

There was an explicit test to see if there are any parameters:
if (indexedParams.size() > 0 && tr_text_recorder != null) {
but I think the code inside the if works as well in case there are no
parameters, thus I removed that test.

Attached a new patch for the I18nTransformer.java, this replaces the older patch.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message