Fixed the problem with ngettext on line 1462.
svn: r14476
This commit is contained in:
parent
d719751914
commit
9710e7adcf
@ -1458,8 +1458,8 @@ class CheckIntegrity(object):
|
|||||||
|
|
||||||
self.text = cStringIO.StringIO()
|
self.text = cStringIO.StringIO()
|
||||||
if blink > 0:
|
if blink > 0:
|
||||||
self.text.write(ngettext("%d broken child/family link was fixed\n", \
|
self.text.write(ngettext("%(quantity)d broken child/family link was fixed\n", \
|
||||||
"%d broken child-family links were found\n", blink) % blink )
|
"%(quantity)d broken child-family links were found\n", blink) % { 'quantity' : blink } )
|
||||||
for (person_handle, family_handle) in self.broken_links:
|
for (person_handle, family_handle) in self.broken_links:
|
||||||
person = self.db.get_person_from_handle(person_handle)
|
person = self.db.get_person_from_handle(person_handle)
|
||||||
if person:
|
if person:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user