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

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

Re: Bug#147618: gettext: comment generation should be complete (fwd)


From: Bruno Haible
Subject: Re: Bug#147618: gettext: comment generation should be complete (fwd)
Date: Fri, 7 Jun 2002 14:51:17 +0200 (CEST)

Mark Eichin wrote:

> The --copyright-holder=STRING option sets the copyright name in the
> foo.pot header comments; it doesn't set the year, perhaps that could
> be automatically set to the current year [as POT-Creation-Date is...]
>
> Likewise if there isn't a complete merging mechanism, having options
> to fill in the tokens that are now "PACKAGE", "SOME DESCRIPTIVE
> TITLE", "YEAR", "PACKAGE VERSION", "CHARSET", and possibly "FIRST
> AUTHOR" from the xgettext commandline (or some template file) would be
> helpful.

These are set when the translator starts a new .po file. When she uses
msginit for this purpose, as described in the gettext documentation,
all the fields will be filled automatically. Otherwise, depending on
the translation editor, some of the fields may need to be filled in
by hand.

In any case, these fields are supposed to be edited by the translator.
The template therefore contains only the placeholders.

> So, IMHO, the only field suitable to be set in the template would
> be "PACKAGE", if any...

Yes. But since the VERSION on the same line is modifiable by the translator,
let's simply treat PACKAGE the same way.

Bruno



reply via email to

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