From 3edb3a88bc820c636ece22d64c19abd5a1f13cdb Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Sun, 13 Dec 2009 14:07:24 +0000 Subject: [PATCH] Fixed one wrong gettext call and deleted one unnecessary statement. svn: r13782 --- src/plugins/webreport/NarrativeWeb.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 6a7a8979e..6e69168ed 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -2340,7 +2340,6 @@ class EventListPage(BasePage): # separate events by their type and then thier event handles for (evt_type, datalist) in sort_event_types(db, event_types, event_handle_list): - evt_type = _("%(eventtype)s") % {'eventtype' : evt_type} first_event = True # sort the datalist by gramps id, date, and event handle @@ -5350,7 +5349,7 @@ class NavWebReport(Report): index = 0 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 EventPage(self, self.title, event_handle)