[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: Thu, 27 Aug 2015 12:16:10 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Francesco Poli <address@hidden> writes:

> I would definitely prefer to see xgettext changed, rather than having
> to do sed or awk tricks to post-process its output.
> So, to me, (4) is the least preferred option.

Sorry, I am not convinced.  Again, I am reluctant to add a new option to
xgettext for a niche feature, without good reason.  Do you have any
practical reason for that?

My reasons for preferring (4) to (3) are:

- we could give more control to users, for example, inserting arbitrary
  text other than copyright notice

- we are already using sed in po/Makefile.in.in, as in address@hidden rules

- having multiple --copyright-foo options doesn't seem to play nicely
  with the feature supplying COPYRIGHT_HOLDER from autoconf (bug 764483)

- that fits better in the Unix philosophy, which suggests to accomplish
  larger tasks by combining small tools

Daiki Ueno

reply via email to

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