From dff1de483acf4421d27f2a7291c437689baeec42 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 3 Jan 2019 12:00:08 +0100 Subject: [PATCH] Minor changes to xtract-xlate-msgs.sh and *.pot and *.po files. --- locale/de_DE/LC_MESSAGES/puppetmaster_webhooks.po | 2 +- locale/en_US/LC_MESSAGES/puppetmaster_webhooks.po | 4 ++-- locale/puppetmaster_webhooks.pot | 6 +++--- xtract-xlate-msgs.sh | 2 ++ 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/locale/de_DE/LC_MESSAGES/puppetmaster_webhooks.po b/locale/de_DE/LC_MESSAGES/puppetmaster_webhooks.po index 7ac5575..f7f4fe9 100644 --- a/locale/de_DE/LC_MESSAGES/puppetmaster_webhooks.po +++ b/locale/de_DE/LC_MESSAGES/puppetmaster_webhooks.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: puppetmaster_webhooks 1.3.1\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2019-01-03 11:47+0100\n" +"POT-Creation-Date: 2019-01-03 11:58+0100\n" "PO-Revision-Date: 2019-01-02 11:25+0100\n" "Last-Translator: Frank Brehm \n" "Language: de_DE\n" diff --git a/locale/en_US/LC_MESSAGES/puppetmaster_webhooks.po b/locale/en_US/LC_MESSAGES/puppetmaster_webhooks.po index f2eaab9..20c552c 100644 --- a/locale/en_US/LC_MESSAGES/puppetmaster_webhooks.po +++ b/locale/en_US/LC_MESSAGES/puppetmaster_webhooks.po @@ -1,13 +1,13 @@ # English (United States) translations for puppetmaster_webhooks. # Copyright (C) 2019 Frank Brehm, Pixelpark GmbH, Berlin # This file is distributed under the same license as the puppetmaster_webhooks project. -# FIRST AUTHOR , 2019. +# Frank Brehm , 2019. # msgid "" msgstr "" "Project-Id-Version: puppetmaster_webhooks 1.3.1\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2019-01-03 11:47+0100\n" +"POT-Creation-Date: 2019-01-03 11:58+0100\n" "PO-Revision-Date: 2018-12-28 09:57+0100\n" "Last-Translator: FULL NAME \n" "Language: en_US\n" diff --git a/locale/puppetmaster_webhooks.pot b/locale/puppetmaster_webhooks.pot index fd18cb6..0979755 100644 --- a/locale/puppetmaster_webhooks.pot +++ b/locale/puppetmaster_webhooks.pot @@ -1,16 +1,16 @@ # Translations template for puppetmaster_webhooks. # Copyright (C) 2019 Frank Brehm, Pixelpark GmbH, Berlin # This file is distributed under the same license as the puppetmaster_webhooks project. -# FIRST AUTHOR , 2019. +# Frank Brehm , 2019. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: puppetmaster_webhooks 1.4.4\n" "Report-Msgid-Bugs-To: frank.brehm@pixelpark.com\n" -"POT-Creation-Date: 2019-01-03 11:47+0100\n" +"POT-Creation-Date: 2019-01-03 11:58+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" diff --git a/xtract-xlate-msgs.sh b/xtract-xlate-msgs.sh index d07a2a2..b08b106 100755 --- a/xtract-xlate-msgs.sh +++ b/xtract-xlate-msgs.sh @@ -30,6 +30,8 @@ pybabel extract *.py lib \ --project="${locale_domain}" \ --version="${pkg_version}" +sed -i -e "s/FIRST AUTHOR/Frank Brehm/g" -e "s//<${my_address}>/g" "${pot_file}" + for lang in de_DE en_US ; do if [[ ! -f "${locale_dir}/${lang}/LC_MESSAGES/${locale_domain}.po" ]] ; then pybabel init --domain "${locale_domain}" \ -- 2.39.5