[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3847) Bad code indentation in translated manuals
Nicola Benaglia (JIRA)
jira-events at lists.jboss.org
Tue Dec 16 07:40:54 EST 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-3847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicola Benaglia updated JBSEAM-3847:
------------------------------------
Description:
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
was:
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)----------
Some time 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
> 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
More information about the seam-issues
mailing list