[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3847) Bad code indentation in translated manuals

Nicola Benaglia (JIRA) jira-events at lists.jboss.org
Tue Dec 16 11:11:55 EST 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-3847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12442877#action_12442877 ] 

Nicola Benaglia commented on JBSEAM-3847:
-----------------------------------------

Hi,
I copied just this excerpt of code in fr-FR Events.po (line 120, it's the only one line translated).

"<![CDATA[<pages>\n
    <page view-id=\"/hello.jsp\" action=\"#{helloWorld.sayHello}\"/>\n
</pages>]]>"

Now I am going to commit it and we'll see the generated manual when jboss system is going to build it.

N

> 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