Package: po4a
Version: 0.33.3-1
Severity: normal
When including multiple input files to po4a-gettextize using the text module,
paragraphs are getting merged across files: The resulting PO-file is unusable
for use with other po4a tools.
Here's an example:
--- start file "a" ---
abc
123
--- end file "a" ---
--- start file "b" ---
def
456
--- end file "b" ---
$ po4a-gettextize -f text -m a -m b -p - | tail -n 15
# type: Plain text
#: a:2
msgid "abc"
msgstr ""
# type: Plain text
#: b:2
msgid "123 def"
msgstr ""
# type: Plain text
#: b:3
msgid "456"
msgstr ""
I wonder if this is related to the output from po4a-normalize missing a final
newline - but adding $self->pushline("\n"); at the end of sub parse "solves"
that (if it was ever a problem) but the merging remains.
- Jonas
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages po4a depends on:
ii gettext 0.17-2 GNU Internationalization utilities
ii libsgmls-perl 1.03ii-32 Perl modules for processing SGML p
ii perl 5.10.0-10 Larry Wall's Practical Extraction
ii perl-modules 5.10.0-10 Core Perl modules
ii sp 1.3.4-1.2.1-47 James Clark's SGML parsing tools
Versions of packages po4a recommends:
ii liblocale-gettext-perl 1.05-4 Using libc functions for internati
ii libterm-readkey-perl 2.30-4 A perl module for simple terminal
ii libtext-wrapi18n-perl 0.06-6 internationalized substitute of Te
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]