[
https://jira.jboss.org/jira/browse/JBSEAM-3847?page=com.atlassian.jira.pl...
]
Nicola Benaglia commented on JBSEAM-3847:
-----------------------------------------
<programlisting role="XML"
<![CDATA[<pages>
<page
view-id="/hello.jsp" action="#{helloWorld.sayHello}">
<param name="firstName" />
<param name="lastName" />
</page>
</pages
]]></programlisting>
Bad code indentation in translated manuals
------------------------------------------
Key: JBSEAM-3847
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3847
Project: Seam
Issue Type: Bug
Components: Documentation Translation
Environment: Ubuntu 8.04
Sun JDK 1.6.0.07
Reporter: Nicola Benaglia
Priority: Trivial
Translating into italian I copy all the code without translation.
The translated manual has a lot of such copied code not well-indented.
Example:
-------------------------------------------------------------------------
<pages>
<page view-id="/hello.jsp" action="#{helloWorld.sayHello}"/>
</pages
>
---------------------------(note the last > at new line)----------
Sometime the indentation is okay.
Looking at the PO file I see that it's OKAY when:
"<![CDATA[<pages>\n"
" <page view-id=\"/hello.jsp\"
action=\"#{helloWorld.sayHello}\"/>\n"
"</pages>\n"
"]]>"
And it's WRONG when:
"<![CDATA[<pages>\n"
" <page view-id=\"/hello.jsp\"
action=\"#{helloWorld.sayHello}\"/>\n"
"</pages>]]>"
i.e. it depends on ]]>, which must be at a new line.
Bye,
Nico
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira