* src/plugins/NavWebPage.py (display_ind_events,display_spouse):

Use translated event names.


svn: r5070
This commit is contained in:
Alex Roitman 2005-08-12 19:36:21 +00:00
parent c453822cc5
commit a672292d5d
2 changed files with 4 additions and 2 deletions

View File

@ -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 <jiri.pejchal@gmail.com>
* src/po/cs.po: Updated Czech translation.

View File

@ -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('<tr><td class="field">%s</td>\n' % event.get_name())
of.write('<tr><td class="field">%s</td>\n' % _(event.get_name()))
of.write('<td class="data">\n')
of.write(self.format_event(event))
of.write('</td>\n')
@ -1533,7 +1533,7 @@ class IndividualPage(BasePage):
event = self.db.get_event_from_handle(event_id)
of.write('<tr><td>&nbsp;</td>\n')
of.write('<td class="field">%s</td>\n' % event.get_name())
of.write('<td class="field">%s</td>\n' % _(event.get_name()))
of.write('<td class="data">\n')
of.write(self.format_event(event))
of.write('</td>\n</tr>\n')