Lars Gullik Bjønnes wrote:

> It seems then that your lyx.pot is not generated correctly.
> I have no idea why.

Ok, redhat 7.3 gettext (gettext-0.11.1-2.i386.rpm) is broken:

touch lyx.po && \
/usr/bin/xgettext --join-existing --default-domain=lyx --directory=.. \
  --escape --add-comments --keyword=_ --keyword=N_ \
  --keyword=qt_ --files-from=./POTFILES.in

/usr/bin/xgettext: error while opening "lyx.po" for reading: No such file or
directory

It seems that the --join-existing option doesn't work very well.

In my defense, I have to say that the message was hard to see, in the middle
of gettext complains about non-ASCII characters. And lyx.pot was indeed
regenerated, but the files from POTFILES.in weren't merged in.

I've upgraded gettext (had to use redhat 8.0 gettext-0.11.4-3.src.rpm) and
the problem has gone away.


Thanks to all, 
        Alfredo


Reply via email to