Package: gettext
Version: 0.16.1-1
Severity: wishlist

Hi,

I noticed that xgettext does not generate a POT file if it does not
find translatable messages. This is wrong, it should at least create a
POT file with a header. I asked it to create this file but xgettext does
not what I say!

That's why I looked long time in a Makefile to find an error of xgettext
invocation. I first assumed it cannot write into files containing
hyphens and changed the output file name. No success! After this I ran
it manually and assumed it just doesn't display all errors and
terminates. That was also not true. The problem was that a patch was not
yet applied which adds necessary gettext calls to the source.

If I had seen a nearly empty POT file there would be no need for me to
guess what could be wrong!

The current behaviour is also not very script friendly (in case the
source tree is unknown and may contain no translatable data), since one
has to write xgettext -o file.POT; if ! test -e file.POT; then ...; fi

Jens


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to