Sun 20 Apr 2008 10:38:47 AM UTC, comment #2:
> If you have other requirements than that, please state them.
I would like to replace the copyright notice by a different
formulation, putting more emphasise on the fact that the file
is a generated file. In general, I do not think that one (or
in this case two) copyright templates fit everybody.
> 3) No one ever suggested editing the POT file header by hand.
The manual does. It tells me to use any text editor and
specifically recommends emacs. This requires my interaction
and cannot be easily automated. That's what I meant with "by
hand". I do want automation, though, because I expect to run
xgettext once for each new release of the software, and the
values to be filled in are always the same.
I realize that I could use sed or something alike. But doing
so makes me rely on the header format never to change (much),
so I do not consider it robust.
(My version of the manual is 0.16.1)
> 2) In the subject you say you want to configure the header.
> Then you want to turn off the header? Makes no sense.
Sorry for having been so terse. Turning the header off
completely was meant as a quick solution. In this case, I
would have provided a replacement header using cat, so
the header would only have been left out from xgettext's
point of view, not completely.
Of course it would be better to be able to configure each
field in the header by a separate command-line option.
(Where I consider the copyright notice as a whole to be
one field, see above.)
Best regards,
Mark Weyer
|