From 9710e7adcf45dc3e1afe67bbc7b7c6e46c8fd67c Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Thu, 25 Feb 2010 04:47:52 +0000 Subject: [PATCH] Fixed the problem with ngettext on line 1462. svn: r14476 --- src/plugins/tool/Check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/tool/Check.py b/src/plugins/tool/Check.py index e6f62f77e..47520de87 100644 --- a/src/plugins/tool/Check.py +++ b/src/plugins/tool/Check.py @@ -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: