From 38290f7c578017c97eb640a5dc1cc2b470fc53eb Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 25 Feb 2010 11:29:26 +0000 Subject: [PATCH] Fixed gettext formulation error svn: r14478 --- src/Relationship.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Relationship.py b/src/Relationship.py index 26107960f..e429d6b0e 100644 --- a/src/Relationship.py +++ b/src/Relationship.py @@ -923,9 +923,10 @@ class RelationshipCalculator(object): rel1 == rel2[:len(rel1)]: #loop, keep one message in storage! self.__loopDetected = True - self.__msg += [_("Relationship loop detected:") + \ - _("Person %(person)s connects to himself via %(relation)s") ] % { - 'person' : person.get_primary_name().get_name(), 'relation' : rel2[len(rel1):] } + self.__msg += [_("Relationship loop detected:") + " " + + _("Person %(person)s connects to himself via %(relation)s") % + {'person' : person.get_primary_name().get_name(), + 'relation' : rel2[len(rel1):] }] return elif store: pmap[person.handle] = [[rel_str], [rel_fam]]