Fixed another three problems with string formatting using {}.
svn: r14616
This commit is contained in:
parent
244b8621fc
commit
b2b889e39c
@ -1472,8 +1472,8 @@ class CheckIntegrity(object):
|
|||||||
except:
|
except:
|
||||||
pn = _("Unknown")
|
pn = _("Unknown")
|
||||||
self.text.write('\t')
|
self.text.write('\t')
|
||||||
self.text.write(_("%(person)s was removed from the family of %(family)s\n")) % {
|
self.text.write(_("%(person)s was removed from the family of %(family)s\n") % {
|
||||||
'person' : cn, 'family' : pn }
|
'person' : cn, 'family' : pn } )
|
||||||
|
|
||||||
if plink > 0:
|
if plink > 0:
|
||||||
self.text.write(ngettext("%(quantity)d broken spouse/family link was fixed\n",
|
self.text.write(ngettext("%(quantity)d broken spouse/family link was fixed\n",
|
||||||
@ -1491,8 +1491,8 @@ class CheckIntegrity(object):
|
|||||||
else:
|
else:
|
||||||
pn = family_handle
|
pn = family_handle
|
||||||
self.text.write('\t')
|
self.text.write('\t')
|
||||||
self.text.write(_("%(person)s was restored to the family of %(family)s\n")) % {
|
self.text.write(_("%(person)s was restored to the family of %(family)s\n") % {
|
||||||
'person' : cn, 'family' : pn }
|
'person' : cn, 'family' : pn } )
|
||||||
|
|
||||||
if slink > 0:
|
if slink > 0:
|
||||||
self.text.write(ngettext("%(quantity)d duplicate spouse/family link was found\n", \
|
self.text.write(ngettext("%(quantity)d duplicate spouse/family link was found\n", \
|
||||||
@ -1509,8 +1509,8 @@ class CheckIntegrity(object):
|
|||||||
else:
|
else:
|
||||||
pn = _("None")
|
pn = _("None")
|
||||||
self.text.write('\t')
|
self.text.write('\t')
|
||||||
self.text.write(_("%(person)s was restored to the family of %(family)s\n")) % {
|
self.text.write(_("%(person)s was restored to the family of %(family)s\n") % {
|
||||||
'person' : cn, 'family' : pn }
|
'person' : cn, 'family' : pn } )
|
||||||
|
|
||||||
if efam == 1:
|
if efam == 1:
|
||||||
self.text.write(_("%d family with no parents or children found, removed.\n"))
|
self.text.write(_("%d family with no parents or children found, removed.\n"))
|
||||||
|
Loading…
Reference in New Issue
Block a user