From: Bruno Haible Date: Sun, 28 Apr 2019 17:42:43 +0000 (+0200) Subject: In the POT files, talk about the "GNU gettext package". X-Git-Tag: v0.20~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=859429669a9e8ef60831294fadd8ed972e482222;p=thirdparty%2Fgettext.git In the POT files, talk about the "GNU gettext package". Reported by Benno Schulenberg . * gettext-runtime/po/Makevars (XGETTEXT_OPTIONS): Add --package-name option. * gettext-tools/po/Makevars (XGETTEXT_OPTIONS): Likewise. * gettext-tools/examples/po/Makefile.am (XGETTEXT_OPTIONS): New variable. --- diff --git a/gettext-runtime/po/Makevars b/gettext-runtime/po/Makevars index 3dc103af2..1ea6b49ca 100644 --- a/gettext-runtime/po/Makevars +++ b/gettext-runtime/po/Makevars @@ -1,6 +1,6 @@ # Makefile variables for PO directory in any package using GNU gettext. # -# Copyright (C) 2003-2017 Free Software Foundation, Inc. +# Copyright (C) 2003-2019 Free Software Foundation, Inc. # This file, Makevars, is free software; the Free Software Foundation # gives unlimited permission to use, copy, distribute, and modify it. @@ -13,6 +13,7 @@ top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = \ + --package-name='GNU gettext' \ --keyword=_ --flag=_:1:pass-c-format \ --keyword=N_ --flag=N_:1:pass-c-format \ --flag=error:3:c-format --flag=error_at_line:5:c-format diff --git a/gettext-tools/examples/po/Makefile.am b/gettext-tools/examples/po/Makefile.am index a91a2a76e..04eaff88b 100644 --- a/gettext-tools/examples/po/Makefile.am +++ b/gettext-tools/examples/po/Makefile.am @@ -98,6 +98,10 @@ SMALLPOTS = \ # This is a synthetic domain name. DOMAIN = gettext-examples +# These options get passed to xgettext. +XGETTEXT_OPTIONS = \ + --package-name='GNU gettext' + # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's diff --git a/gettext-tools/po/Makevars b/gettext-tools/po/Makevars index 155d6bc72..c26aa7f5a 100644 --- a/gettext-tools/po/Makevars +++ b/gettext-tools/po/Makevars @@ -1,6 +1,6 @@ # Makefile variables for PO directory in any package using GNU gettext. # -# Copyright (C) 2003-2017 Free Software Foundation, Inc. +# Copyright (C) 2003-2019 Free Software Foundation, Inc. # This file, Makevars, is free software; the Free Software Foundation # gives unlimited permission to use, copy, distribute, and modify it. @@ -13,6 +13,7 @@ top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = \ + --package-name='GNU gettext' \ --keyword=_ --flag=_:1:pass-c-format \ --keyword=N_ --flag=N_:1:pass-c-format \ --flag=error:3:c-format --flag=error_at_line:5:c-format \