Changed some formatted strings to named variables for 'make distcheck' to work properly.
svn: r14483
This commit is contained in:
@@ -95,9 +95,8 @@ def run_fam(database, document, family):
|
||||
|
||||
# display the results
|
||||
|
||||
sdoc.title(_("Sorted events of family\n %s - %s") %
|
||||
(sdb.name(sdb.father(family)),
|
||||
sdb.name(sdb.mother(family))))
|
||||
sdoc.title(_("Sorted events of family\n %(father)s - %(mother)s")) % {
|
||||
'father' : sdb.name(sdb.father(family)), 'mother' : sdb.name(sdb.mother(family)) }
|
||||
sdoc.paragraph("")
|
||||
|
||||
stab.columns(_("Family Member"), _("Event Type"),
|
||||
|
@@ -77,8 +77,8 @@ class AllRelReport():
|
||||
p1 = self.sdb.name(self.person)
|
||||
if self.person.handle == self.home_person.handle :
|
||||
self.sdoc.paragraph(_FMT_VOID % (
|
||||
_("%s and %s are the same person.") % ( p1, p2))
|
||||
)
|
||||
_("%(person)s and %(active_person)s are the same person."))) % {
|
||||
'person' : p1, 'active_person' : p2 }
|
||||
return
|
||||
|
||||
#check if not a family too:
|
||||
@@ -203,7 +203,8 @@ class AllRelReport():
|
||||
"""
|
||||
p2 = self.sdb.name(self.home_person)
|
||||
p1 = self.sdb.name(self.person)
|
||||
self.sdoc.title(_("Relationships of %s to %s") % (p1 ,p2))
|
||||
self.sdoc.title(_("Relationships of %(person)s to %(active_person)s")) % {
|
||||
'person' : p1 ,'active_person' : p2 }
|
||||
self.sdoc.paragraph("")
|
||||
|
||||
def print_details_header(self, relations, pers1, pers2,
|
||||
|
Reference in New Issue
Block a user