[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, 31 Aug 2015 08:21:29 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Francesco Poli <address@hidden> writes:
> • I post-process the .pot template generated by xgettext and insert
> the correct copyright notices: this can be done by hand (boring and
> error prone!) or automatically, for instance, with some sed or awk
> trick
I don't think it is boring nor error prone -- it just means to
concatenate two files. As long as you use autotools, it would be
automatically done by po/Makefile.in.in installed by autopoint.
So, my question was, why it is not sufficient for your use-case? Is
there any practical reason you have to call xgettext individually,
e.g. your build system doesn't support post-processing for some reason?
> At this point I am really puzzled. The --copyright-holder option is
> currently inadequate to make sure the .pot template file has the
> correct copyright notices in place.
The current behavior of --copyright-holder is useful for some use-cases,
e.g., FSF-copyrighted packages (like coreutils, gettext), where
translations are also attributed to the same copyright holder. In that
case, it is natural to leave the responsibility to rewrite YEAR to the
translators.
Regards,
--
Daiki Ueno
- Re: [bug-gettext] Bug#682580: xgettext: fails to properly replace some placeholders in output .pot (PACKAGE, YEAR, C. HOLDER) (fwd), Daiki Ueno, 2015/08/21
- Re: [bug-gettext] Bug#682580: xgettext: fails to properly replace some placeholders in output .pot (PACKAGE, YEAR, C. HOLDER) (fwd), Santiago Vila, 2015/08/21
- Re: [bug-gettext] Bug#682580: xgettext: fails to properly replace some placeholders in output .pot (PACKAGE, YEAR, C. HOLDER) (fwd), Francesco Poli, 2015/08/21
- Re: [bug-gettext] Bug#682580: xgettext: fails to properly replace some placeholders in output .pot (PACKAGE, YEAR, C. HOLDER) (fwd), Daiki Ueno, 2015/08/24
- Re: [bug-gettext] Bug#682580: xgettext: fails to properly replace some placeholders in output .pot (PACKAGE, YEAR, C. HOLDER) (fwd), Francesco Poli, 2015/08/24
- Re: [bug-gettext] Bug#682580: xgettext: fails to properly replace some placeholders in output .pot (PACKAGE, YEAR, C. HOLDER) (fwd), Daiki Ueno, 2015/08/24
- Re: [bug-gettext] Bug#682580: xgettext: fails to properly replace some placeholders in output .pot (PACKAGE, YEAR, C. HOLDER) (fwd), Francesco Poli, 2015/08/26
- Re: [bug-gettext] Bug#682580: xgettext: fails to properly replace some placeholders in output .pot (PACKAGE, YEAR, C. HOLDER) (fwd), Daiki Ueno, 2015/08/26
- Re: [bug-gettext] Bug#682580: xgettext: fails to properly replace some placeholders in output .pot (PACKAGE, YEAR, C. HOLDER) (fwd), Francesco Poli, 2015/08/30
- Re: [bug-gettext] Bug#682580: xgettext: fails to properly replace some placeholders in output .pot (PACKAGE, YEAR, C. HOLDER) (fwd),
Daiki Ueno <=