From 05b3ea3fb7d13602c84362f7c841f6d469c801ec Mon Sep 17 00:00:00 2001 From: TJ Saunders Date: Sun, 8 Oct 2017 22:17:47 -0700 Subject: [PATCH] Use the --package command-line option when generating the `.pot` file, too. --- locale/Makefile.in | 2 +- locale/en_US.po | 6 +++--- locale/proftpd.pot | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/locale/Makefile.in b/locale/Makefile.in index cf17df2845..77fd78737d 100644 --- a/locale/Makefile.in +++ b/locale/Makefile.in @@ -43,7 +43,7 @@ Makefile: Makefile.in ../config.status $(PACKAGE).pot: .PHONY $(RM) $(PACKAGE).pot - $(XGETTEXT) -L C --keyword=_ --flag=_:1:pass-c-format --keyword=N_ --flag=N_:1:pass-c-format --no-wrap --copyright-holder="$(COPYRIGHT_HOLDER)" --msgid-bugs-address="$(CONTACT_ADDRESS)" --sort-by-file -f $(FILES) -o $(PACKAGE).pot + $(XGETTEXT) -L C --keyword=_ --flag=_:1:pass-c-format --keyword=N_ --flag=N_:1:pass-c-format --no-wrap --package-name=$(PACKAGE) --copyright-holder="$(COPYRIGHT_HOLDER)" --msgid-bugs-address="$(CONTACT_ADDRESS)" --sort-by-file -f $(FILES) -o $(PACKAGE).pot locale: $(LANGS) diff --git a/locale/en_US.po b/locale/en_US.po index 2b64842fb7..0613923c5e 100644 --- a/locale/en_US.po +++ b/locale/en_US.po @@ -1,14 +1,14 @@ # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR The ProFTPD Project -# This file is distributed under the same license as the PACKAGE package. +# This file is distributed under the same license as the proftpd package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: proftpd\n" "Report-Msgid-Bugs-To: core@proftpd.org\n" -"POT-Creation-Date: 2017-10-08 22:04-0700\n" +"POT-Creation-Date: 2017-10-08 22:15-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/locale/proftpd.pot b/locale/proftpd.pot index 2b64842fb7..0613923c5e 100644 --- a/locale/proftpd.pot +++ b/locale/proftpd.pot @@ -1,14 +1,14 @@ # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR The ProFTPD Project -# This file is distributed under the same license as the PACKAGE package. +# This file is distributed under the same license as the proftpd package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: proftpd\n" "Report-Msgid-Bugs-To: core@proftpd.org\n" -"POT-Creation-Date: 2017-10-08 22:04-0700\n" +"POT-Creation-Date: 2017-10-08 22:15-0700\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"