From a672292d5d2e68adf62d79c9d5d8d53d652e9d40 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 12 Aug 2005 19:36:21 +0000 Subject: [PATCH] * src/plugins/NavWebPage.py (display_ind_events,display_spouse): Use translated event names. svn: r5070 --- gramps2/ChangeLog | 2 ++ gramps2/src/plugins/NavWebPage.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 1a08e1523..de9e1a400 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -3,6 +3,8 @@ * src/plugins/Check.py (check_events): Add checks for family events; Replace garbage event_list with empty list for both types. + * src/plugins/NavWebPage.py (display_ind_events,display_spouse): + Use translated event names. 2005-08-12 Jiri Pejchal * src/po/cs.po: Updated Czech translation. diff --git a/gramps2/src/plugins/NavWebPage.py b/gramps2/src/plugins/NavWebPage.py index f67463e8c..5a863aee7 100644 --- a/gramps2/src/plugins/NavWebPage.py +++ b/gramps2/src/plugins/NavWebPage.py @@ -1387,7 +1387,7 @@ class IndividualPage(BasePage): for event_id in self.person.get_event_list(): event = self.db.get_event_from_handle(event_id) - of.write('%s\n' % event.get_name()) + of.write('%s\n' % _(event.get_name())) of.write('\n') of.write(self.format_event(event)) of.write('\n') @@ -1533,7 +1533,7 @@ class IndividualPage(BasePage): event = self.db.get_event_from_handle(event_id) of.write(' \n') - of.write('%s\n' % event.get_name()) + of.write('%s\n' % _(event.get_name())) of.write('\n') of.write(self.format_event(event)) of.write('\n\n')