However, xgettext silently ignores the diff/patch input file, creating an empty
output file. Renaming the input file with a .php extension doesn't help. It
seems that xgettext actually checks the syntax of the input file and refuses to
work on diff/patch files. Is this an intended behaviour or a bug?
So far, the only way I found is to trick xgettext appending a bogus "<?php" line
to the beginning of the patch, and removing any "?>" in it; but I guess if
there is a more orthodox way to do it...
Cri
--
GPG/PGP Key-Id 0x943A5F0E - http://www.linux.it/~cri/cri.asc