[Top][All Lists]

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

Re: [bug-gettext] Bug#682580: xgettext: fails to properly replace some p

From: Daiki Ueno
Subject: Re: [bug-gettext] Bug#682580: xgettext: fails to properly replace some placeholders in output .pot (PACKAGE, YEAR, C. HOLDER) (fwd)
Date: Wed, 15 Jul 2015 07:03:51 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Francesco Poli <address@hidden> writes:

> On Tue, 14 Jul 2015 10:48:20 +0900 Daiki Ueno wrote:
>> > I noticed that xgettext does not properly replace all the relevant
>> > placeholders in the output .pot file, when told to do so through
>> > command-line options.
>> I doubt if it is meaningful to have a real copyright notice in an
>> auto-generated template file.
> Well, the auto-generated .pot file is auto-generated by extracting many
> strings from a number of copyrighted source code files.
> I think that, in most cases, this implies that the .pot file is
> copyrighted and has the same copyright owners and copyright years as
> the source files.
> As a consequence, I think it makes definitely sense for it to carry
> real copyright notices (the same that cover the source files, in most
> cases).

Yes.  However, xgettext is not intended for generating a real header
entry, but for generating a template of a header entry.

If one really wants to carry a real copyright notice in a POT file, she
could easily do that from without xgettext, e.g., in the toplevel

        echo "# Copyright (C) ..." >> $(distdir)/po/hello.pot

Daiki Ueno

reply via email to

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