Bugs item #312773, was changed at 2010-10-19 09:36 by Renato Botelho
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=410622&aid=31...
Status: Open
Priority: 3
Submitted By: Renato Botelho (rbgarga-guest)
Assigned to: Nobody (None)
Summary: CDATA end sequence is added to .po
Category: Xml.pm
Group: None
Resolution: None
Initial Comment:
When I have a xml file containing a CDATA block like this
<![CDATA[
Example
]]>
and generate a .po using po4a-gettextize it adds msgid like this:
msgid ""
"Example"
"]]"
It's a bit wrong because if translator forget to add ]] to translated message you
broke translated xml file.
----------------------------------------------------------------------
Comment By: Renato Botelho (rbgarga-guest)
Date: 2010-10-19 10:45
Message:
Worked perfectly, thank you
----------------------------------------------------------------------
Comment By: Denis Barbier (barbier-guest)
Date: 2010-10-19 09:59
Message:
Hello,
You are right, but since nobody spotted it before, I am afraid that it has not been well
tested and you may find other bugs. A patch is attached.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=410622&aid=31...