Re: [Freeipa-devel] [PATCH] 0012 Fix #401 test.po creation fails in make test

2010-11-15 Thread Simo Sorce
On Mon, 15 Nov 2010 13:04:54 +0100
Jakub Hrozek  wrote:

> On Fri, Nov 12, 2010 at 12:06:06PM -0500, Simo Sorce wrote:
> > 
> > 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.
> > 
> 
> This patch gets rid of error messages like:
> test.po:2636: `msgid' and `msgstr' entries do not both end with '\n'
> 
> 
> -> ACK

Pushed to master

Simo.

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel


Re: [Freeipa-devel] [PATCH] 0012 Fix #401 test.po creation fails in make test

2010-11-15 Thread Jakub Hrozek
On Fri, Nov 12, 2010 at 12:06:06PM -0500, Simo Sorce wrote:
> 
> 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.
> 

This patch gets rid of error messages like:
test.po:2636: `msgid' and `msgstr' entries do not both end with '\n'


-> ACK

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel


[Freeipa-devel] [PATCH] 0012 Fix #401 test.po creation fails in make test

2010-11-12 Thread Simo Sorce

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.

-- 
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

Fixes: https://fedorahosted.org/freeipa/ticket/401
---
 install/po/Makefile.in |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/install/po/Makefile.in b/install/po/Makefile.in
index 1be7525a33fe556850ce7d6406700a853cf50f79..11d84a73cdc517109c85d1f659884cb3cce04517 100644
--- a/install/po/Makefile.in
+++ b/install/po/Makefile.in
@@ -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/ipa.mo test.po
 
-- 
1.7.3.2

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel