[Apt-listbugs-commits] [apt-listbugs] 01/05: use rmsgmerge and wrap .pot and .po files

Francesco Poli frx-guest at moszumanska.debian.org
Wed Nov 1 10:59:11 UTC 2017


This is an automated email from the git hooks/post-receive script.

frx-guest pushed a commit to branch master
in repository apt-listbugs.

commit 1c17cbc8889df1d7e7082f480c86b6085bf7c32b
Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Date:   Sat Oct 28 23:06:05 2017 +0200

    use rmsgmerge and wrap .pot and .po files
---
 Makefile         | 4 ++--
 debian/changelog | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 947c84d..74e579b 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ apt-listbugs.1: bin/apt-listbugs
 .PHONY: update-po
 update-po: po/apt-listbugs.pot
 	for po in $(LINGUAS); do \
-	  msgmerge --no-wrap -U po/$$po.po po/apt-listbugs.pot; \
+	  rmsgmerge --wrap -U po/$$po.po po/apt-listbugs.pot; \
 	done
 	for po in $(LINGUAS); do \
 	  msgfmt --statistics -v -c po/$$po.po -o /dev/null; \
@@ -31,7 +31,7 @@ update-po: po/apt-listbugs.pot
 
 po/apt-listbugs.pot: bin/apt-listbugs lib/aptlistbugs/logic.rb \
                      lib/aptlistbugs/aptcleanup lib/aptlistbugs/migratepins
-	rxgettext --add-comments=TRANSLATORS --no-wrap \
+	rxgettext --add-comments=TRANSLATORS --wrap \
 	          --copyright-holder="Masato Taruishi et al." \
 	          --copyright-year=2002-$(YEAR) \
 	          --package-name=apt-listbugs --package-version=$(VERSION) \
diff --git a/debian/changelog b/debian/changelog
index 654428a..3504b4c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,10 @@ apt-listbugs (0.1.24) UNRELEASED; urgency=medium
   * bumped Standards-Version to 4.1.0: no changes needed
   * improved the man page and the online help, thanks to the constructive
     criticism by Vincent Lefevre
+  * improved internationalization
+     - always wrap the output during .pot file generation
+     - switched to rmsgmerge for .po file generation
+     - always wrap the output during .po file generation
 
  -- Francesco Poli (wintermute) <invernomuto at paranoici.org>  Mon, 13 Mar 2017 22:19:08 +0100
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/apt-listbugs/apt-listbugs.git



More information about the Apt-listbugs-commits mailing list