Fixed the problem with ngettext on line 1462.

svn: r14476
This commit is contained in:
Rob G. Healey 2010-02-25 04:47:52 +00:00
parent d719751914
commit 9710e7adcf

View File

@ -1458,8 +1458,8 @@ class CheckIntegrity(object):
self.text = cStringIO.StringIO()
if blink > 0:
self.text.write(ngettext("%d broken child/family link was fixed\n", \
"%d broken child-family links were found\n", blink) % blink )
self.text.write(ngettext("%(quantity)d broken child/family link was fixed\n", \
"%(quantity)d broken child-family links were found\n", blink) % { 'quantity' : blink } )
for (person_handle, family_handle) in self.broken_links:
person = self.db.get_person_from_handle(person_handle)
if person: