demexp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Demexp-dev] ocaml-gettext fails on multiple #: lines


From: David MENTRE
Subject: [Demexp-dev] ocaml-gettext fails on multiple #: lines
Date: Sat, 14 Jan 2006 22:46:10 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Hello Sylvain,

I'm making progress in my use of ocaml-gettext and gettext. ;)

While playing with xgettext on Glade file, it seems that ocaml-gettext
fails when parsing the following kind of output (generated by xgettext): 

 #: gtk2-clnt/demexp_gladeui.glade:742 gtk2-clnt/demexp_gladeui.glade:1471
 #: gtk2-clnt/demexp_gladeui.glade:1681
 msgid "Add response"
 msgstr ""

Here is the error message:

 ocaml-gettext --action merge         \
   --merge-pot po/demexp.pot po/fr.po
 Error while processing parsing of PO file: "parse error" at line 92 character 
2.
 An error occurs while processing.


Removing the second #: or merging it in the first one lets ocaml-gettext
continue.

By the way, the error message is misleading, the error is in the POT
file and not a PO one. Maybe giving the file name could be useful.

Any idea on what is going wrong?

Yours,
d.
-- 
pub  1024D/A3AD7A2A 2004-10-03 David MENTRE <address@hidden>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A





reply via email to

[Prev in Thread] Current Thread [Next in Thread]