[Po4a-devel]Trailing space when processing docbook file

Jordi Vilalta jvprat@wanadoo.es
Fri, 18 Mar 2005 23:32:27 +0100 (CET)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---1463811584-1897345159-1111185147=:30889
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

Hi,

On Thu, 17 Mar 2005, Jean-Michel POURE wrote:
> Le Jeudi 17 Mars 2005 14:55, Jean-Michel POURE a =E9crit :
>> When <para></para> docbook tags are parsed, it results in a "" (empty)
>> trailing msgid line in the .pot file.
>
> Dear Jordi,
>
> Do you consider this trailing line msgid "" as a bug
> or should I use a bash script to fix the .pot files ?

I think these files are right. Let's do a small test: I've created a po=20
file that contains this (and a po header):

# type: Plain text
msgid "bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla =
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla=
 "
msgstr ""

when I run msgcat with this file, it returns:

# type: Plain text
msgid ""
"bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bl=
a "
"bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla "
msgstr ""

msgcat is a gettext tool, so I must think it's a correct file formatting.=
=20
Then you should report it as a bug to the programs that doesn't handle it=
=20
right.

Regards,

Jordi Vilalta
---1463811584-1897345159-1111185147=:30889--