This patch fixes the errors caused by the creation of test.po in make
test_lang under /install/po

It seem make test ahs regressed though because as a whole it fails
later on with various errors.

So this patch strictly fixes only bug #401.


Simo Sorce * Red Hat, Inc * New York
>From a0f6766f101d12acced350e38073932954512d78 Mon Sep 17 00:00:00 2001
From: Simo Sorce <>
Date: Fri, 12 Nov 2010 12:01:40 -0500
Subject: [PATCH] Fix test.po errors in make test

 install/po/ |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/install/po/ b/install/po/
index 1be7525a33fe556850ce7d6406700a853cf50f79..11d84a73cdc517109c85d1f659884cb3cce04517 100644
--- a/install/po/
+++ b/install/po/
@@ -182,6 +182,7 @@ test_lang:
 	rm -rf test.po test_locale
 	$(MSGINIT) --no-translator -i $(DOMAIN).pot -l en_US -o test.po
 	$(SED) -i -r -e 's/^msgstr[ \t]+"(.*)"[ \t]*$$/msgstr "\xe2\x86\x92\1\xe2\x86\x90"/' test.po
+	$(SED) -i -r -e 's/^msgstr[ \t]+"(.*)(\\n)(.)"[ \t]*$$/msgstr "\1\xe2\x86\x90\2"/' test.po
 	$(MKDIR_P) test_locale/en_US/LC_MESSAGES
 	$(MSGFMT) -o test_locale/en_US/LC_MESSAGES/ test.po

Freeipa-devel mailing list

Reply via email to