Debug print statements deleted.
svn: r11895
This commit is contained in:
parent
00d0a3c63d
commit
c5d18aa935
@ -248,14 +248,12 @@ class PedigreeGramplet(Gramplet):
|
||||
self.link(_("Generation 1"), 'PersonList', handles,
|
||||
tooltip=_("Double-click to see people in generation"))
|
||||
percent = '%.2f%s' % ( 100, percent_sign)
|
||||
print percent_sign, percent
|
||||
self.append_text(_(" has 1 of 1 individual (%(percent)s complete)\n") % {'percent': percent})
|
||||
else:
|
||||
all.extend(handles)
|
||||
self.link(_("Generation %d") % g, 'PersonList', handles,
|
||||
tooltip=_("Double-click to see people in generation %d") % g)
|
||||
percent = '%.2f%s' % ( float(count)/2**(g-1) * 100, percent_sign)
|
||||
print "plural", percent_sign, percent
|
||||
self.append_text(ngettext(
|
||||
" has %(count_person)d of %(max_count_person)d individuals (%(percent)s complete)\n",
|
||||
" has %(count_person)d of %(max_count_person)d individuals (%(percent)s complete)\n",
|
||||
|
Loading…
Reference in New Issue
Block a user