Fixed one wrong gettext call and deleted one unnecessary statement.

svn: r13782
This commit is contained in:
Peter Landgren 2009-12-13 14:07:24 +00:00
parent 4793422042
commit 3edb3a88bc

View File

@ -2340,7 +2340,6 @@ class EventListPage(BasePage):
# separate events by their type and then thier event handles # separate events by their type and then thier event handles
for (evt_type, datalist) in sort_event_types(db, event_types, event_handle_list): for (evt_type, datalist) in sort_event_types(db, event_types, event_handle_list):
evt_type = _("%(eventtype)s") % {'eventtype' : evt_type}
first_event = True first_event = True
# sort the datalist by gramps id, date, and event handle # sort the datalist by gramps id, date, and event handle
@ -5350,7 +5349,7 @@ class NavWebReport(Report):
index = 0 index = 0
for event_handle in event_handle_list: for event_handle in event_handle_list:
self.progress.set_header(_("Creating event page %02d of %02d" % (index + 1, len(event_handle_list)))) self.progress.set_header(_("Creating event page %02d of %02d") % (index + 1, len(event_handle_list)))
# create individual event pages # create individual event pages
EventPage(self, self.title, event_handle) EventPage(self, self.title, event_handle)