bug-gettext
[Top][All Lists]
Advanced

[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: Mon, 24 Aug 2015 18:05:17 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Francesco Poli <address@hidden> writes:

> Besides that, the patch seems to only address point (B) of my original
> bug report (multiple copyright holders), but not point (A) or point (C)
> (YEAR and PACKAGE placeholders). Or am I misreading the patch?

As (C) is trivial, I've pushed a fix:
http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=3a08add5

However, I have not yet decided how to fix (A).  A few options I have in
mind are:

1. add --copyright-year option

2. extend --copyright-holder option so it can have a full copyright
  notice, if the argument is in the form "Copyright (C) ...".

3. add a new option, say --add-copyright, which takes an argument in the
  form "YEAR COPYRIGHT_HOLDER".

4. don't change xgettext, but modify po/Makefile.in.in to insert
   copyright comments, using sed

I think (1) is not very useful, particularly when multiple copyright
holders are supplied, and (2) is a bit heuristic.

So, I prefer (3) or (4), as both of them could allow users to specify it
through po/Makevars, though (3) is a bit too specific.

Suggestions would be appreciated.

Regards,
-- 
Daiki Ueno



reply via email to

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