]> Frank Brehm's Git Trees - pixelpark/puppetmaster-webhooks.git/commitdiff
Minor changes to xtract-xlate-msgs.sh and *.pot and *.po files.
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 3 Jan 2019 11:00:08 +0000 (12:00 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 3 Jan 2019 11:00:08 +0000 (12:00 +0100)
locale/de_DE/LC_MESSAGES/puppetmaster_webhooks.po
locale/en_US/LC_MESSAGES/puppetmaster_webhooks.po
locale/puppetmaster_webhooks.pot
xtract-xlate-msgs.sh

index 7ac55755142f1e51b0a7e112e981ae22ecb8e9ad..f7f4fe9d2fc97d41df11bfa9dd4881bae55b8519 100644 (file)
@@ -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 <frank.brehm@pixelpark.com>\n"
 "Language: de_DE\n"
index f2eaab96f9a2a89716c7accfa9e0cd09428c35f6..20c552cbcedc00eaedfe4d048a3a55e52563a034 100644 (file)
@@ -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 <EMAIL@ADDRESS>, 2019.
+# Frank Brehm <frank.brehm@pixelpark.com>, 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 <EMAIL@ADDRESS>\n"
 "Language: en_US\n"
index fd18cb6f3748daf7b15d55cd1727110aa44afbce..097975557aa3cfe9802ca357e789e4940203bae5 100644 (file)
@@ -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 <EMAIL@ADDRESS>, 2019.
+# Frank Brehm <frank.brehm@pixelpark.com>, 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 <EMAIL@ADDRESS>\n"
+"Last-Translator: FULL NAME <frank.brehm@pixelpark.com>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=utf-8\n"
index d07a2a2091ae7438088b68c7f45e655be3b7fd60..b08b106059d34113f93c0b1f32fd7ed41d577fce 100755 (executable)
@@ -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/<EMAIL@ADDRESS>/<${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}" \