Le 8 décembre 2010 21:19, Simon Paillard a écrit : > Package: po4a > Severity: wishlist > > As mentionned by helix below, that would be great that po4a supports using > Docbook xml comments as po/pot comments. > > On Wed, Dec 08, 2010 at 02:14:48PM +0100, helix84 wrote: >> On Wed, Dec 8, 2010 at 13:20, Osamu Aoki <os...@debian.org> wrote: >> > You are right. It now generates only: >> > >> > #. type: Attribute 'lang' of: <article> >> > #. type: Attribute 'lang' of: <article> >> > #: entries.dbk:4 >> > >> > So what is needed is parser to record comments and output routine to >> > generate following and reset such record to null. >> > >> > XML INPUT: >> > <!-- foo --> >> > <comment>baz</comment> >> > <para>bar</para> >> > >> > PO OUTPUT: >> > #. SGML_comment: foo >> > #. DocBok_comment: baz >> > msgid "bar" >> > msgstr "" >> > >> > That will be nice :-) >> >> Yes, that's how it should work. The code that outputs the current code >> in package po4a is in >> lib/Locale/Po4a/Xml.pm >> under >> sub found_string { >> >> Unfortunately, I don't speak Perl very much, so adding this feature is >> not very simple for me. > > Wishlist against po4a.
Hello, This cannot be done easily, but on the other hand, one can write: <para><!-- foo -->bar</para> Denis -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org