Barracuda: Localize problem with long text

"Andras Balogh" <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Hi,

I am trying to localize in my html template a text like "Product quantity
available".
Because the line is too long my HTML Editor (DW) breaks this text in 2
lines:
"                               <td>Product quantity
                                available."

Since in my properties file i have "Product quantity available" the localize
taskdef doesn't recognize
 this string as to be localized.
I have taken a look at Localize.java and i think that changes should be
made somewhere after line
597:  String txt = txtNode.getData();
Can somebody suggest a good method to get rid on unneccesary indentation and
newline?
The brut force approach would be to  make some character replacements.
My opinion is that the extra spaces(and newline) should be removed when
localizing because in html
in most of the cases more than one space(and newline) is usually ignored
when rendering.

Any comment is apreciated.

Let's catch some Barracuda in this new year!

Andras.








_______________________________________________
Barracuda mailing list
[email protected]
http://www.enhydra.org/mailman/listinfo.cgi/barracuda
FAQ - http://www.jguru.com/faq/Barracuda
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.