Package: po4a Version: 0.41-1 Severity: normal While working on the German man page translation for po4a, I noticed that C<> is not translated correctly. Take, e.g.,
#. type: textblock #: lib/Locale/Po4a/Sgml.pm:144 msgid "" "The problem is that I have to \"protect\" the conditional inclusions (i.e. " "the C<E<lt>! [ %foo [> and C<]]E<gt>> stuff) from nsgmls. Otherwise nsgmls " "eats them, and I don't know how to restore them in the final document. To " "prevent that, I rewrite them to C<{PO4A-beg-foo}> and C<{PO4A-end}>." msgstr "" "Das Problem liegt darin, dass ich die bedingte Einbindung (d.h. das Zeug " "C<E<lt>! [ %foo [> und C<]]E<gt>>) vor Nsgmls »schützen« muss. Andernfalls " "futtert Nsgmls das auf und ich weiß nicht, wie ich das im letztendlichen " "Dokument wieder herstellen kann. Um das zu vermeiden, schreibe ich sie in " "C<{PO4A-beg-foo}> und C<{PO4A-end}> um." The version as shown by man is as follows: Das Problem liegt darin, dass ich die bedingte Einbindung (d.h. das Zeug "<! [ %foo [" und "]]>") vor Nsgmls »schützen« muss. Andernfalls futtert Nsgmls das auf und ich weiß nicht, wie ich das im letztendlichen Dokument wieder herstellen kann. Um das zu vermeiden, schreibe ich sie in "{PO4A-beg-foo}" und "{PO4A-end}" um. The first (manual) quote around "protect" is manually translated and looks fine (i.e. »«). The strings with C<>, however, retain their characters as is (which are neither quotes in English nor in German). A side issue (though not part of this bug): What are the rules for manual quotes vs. C<>? -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.0.4sneo.01-grsec (SMP w/6 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages po4a depends on: ii gettext 0.18.1.1-5 ii libsgmls-perl 1.03ii-32 ii perl 5.12.4-6 ii perl-modules 5.12.4-6 ii sp 1.3.4-1.2.1-47.1 Versions of packages po4a recommends: ii liblocale-gettext-perl 1.05-7 ii libterm-readkey-perl 2.30-4+b1 ii libtext-wrapi18n-perl 0.06-7 po4a suggests no packages. -- no debconf information -- Dr. Helge Kreutzmann deb...@helgefjell.de Dipl.-Phys. http://www.helgefjell.de/debian.php 64bit GNU powered gpg signed mail preferred Help keep free software "libre": http://www.ffii.de/
signature.asc
Description: Digital signature