bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: xgettext and the comments at the top of the .pot file


From: Phil Edwards
Subject: Re: xgettext and the comments at the top of the .pot file
Date: Mon, 12 May 2003 14:28:05 -0400
User-agent: Mutt/1.5.3i

On Mon, May 12, 2003 at 07:17:28PM +0200, Bruno Haible wrote:
> Phil Edwards wrote:
> 
> > When using a command such as
> >
> >    xgettext --default-domain=foo --join-existing -o .../foo.pot  ...
> >
> > is there any way to tell xgettext to /not/ regenerate the comments at the
> > top of the foo.pot file?
> 
> Yes. It's the --omit-header option.

That has the effect of removing it entirely; not what we want.  The existing
comment block is fine, but xgettext seems to either change it or remove it
depending on options.  There's no "leave it alone" behavior that I can find.


> > package maintainers would get sick of rewriting this text each time a new
> > string literal is extracted.
> 
> The header of the POT file is meant as a template that is filled out
> by the translator, either by running "msginit" or manually. See the
> gettext manual, section "Creating a New PO File". The package
> maintainers don't need to fiddle with it.

Except that xgettext keeps thowing out the information that translators
aren't supposed to touch, like the pieces that go in place of "SOME
DESCRIPTIVE TITLE", "FIRST AUTHOR", "Project-Id-Version:", and so on.


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams




reply via email to

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