[Pkg-isocodes-devel] [iso-codes] 01/04: Ensure correct Language: header in generated .po files

Tobias Quathamer toddy at moszumanska.debian.org
Sun Jan 3 14:28:46 UTC 2016


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

toddy pushed a commit to branch master
in repository iso-codes.

commit 8b9482b0fdda7e0096a41bc0cb3ad3d93bd3d393
Author: Dr. Tobias Quathamer <toddy at debian.org>
Date:   Sun Jan 3 14:55:12 2016 +0100

    Ensure correct Language: header in generated .po files
---
 rules.make | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/rules.make b/rules.make
index b0577e4..02a6f85 100644
--- a/rules.make
+++ b/rules.make
@@ -25,8 +25,14 @@ update-po:
 		sed -i -e 's/^\"Project-Id-Version: iso.*/\"Project-Id-Version: $(DOMAIN)\\n\"/' $$pofile; \
 	done
 	rm -f tmpfile
-	if [ -f sr.po ] ; then $(RECODE_SR_LATIN) < sr.po > sr at latin.po ; fi
-	if [ -f tt at iqtelif.po ] ; then $(MSGFILTER) --keep-header sed -f $(top_srcdir)/recode-tt-cyrillic.sed < tt at iqtelif.po > tt.po ; fi
+	if [ -f sr.po ]; then \
+		$(RECODE_SR_LATIN) < sr.po > sr at latin.po; \
+		sed -i -e 's/^\"Language: sr\\n\"/\"Language: sr at latin\\n\"/' sr at latin.po; \
+	fi
+	if [ -f tt at iqtelif.po ]; then \
+		$(MSGFILTER) --keep-header sed -f $(top_srcdir)/recode-tt-cyrillic.sed < tt at iqtelif.po > tt.po; \
+		sed -i -e 's/^\"Language: tt at iqtelif\\n\"/\"Language: tt\\n\"/' tt.po; \
+	fi
 
 localedir = $(datadir)/locale
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-isocodes/iso-codes.git



More information about the Pkg-isocodes-devel mailing list