Package: po4a
Version: 0.58.1
Severity: normal

Hi!

When there is a closing parenthesis at the end of line, po4a parses it
and injects two spaces in the msgid text. I've noticed this when
reviewing the generated «.po» files from both troff and POD source.

Here's a test case:

,--- test.pod ---
=head1 NAME

test - some test

=head1 DESCRIPTION

Some B<text>(5)
some other (parenthetical text)
which produce (only when at the end of line) double spacing,
in the generated (.po)
file.
`---

,--- sh ---
$ po4a-gettextize -f pod -m test.pod
[…]
#. type: textblock
#: test.pod:7
msgid ""
"Some B<text>(5)  some other (parenthetical text)  which produce (only when "
"at the end of line) double spacing, in the generated (.po)  file."
msgstr ""
`---

Of course one problem that fixing this is that it will imply probably
tons of fuzzying, which might even flip-flop depending on the po4a
version used, so perhaps an explicit option would be required here to
control the behavior, not sure. :/

Thanks,
Guillem

Reply via email to