* src/plugins/NavWebPage.py (display_ind_events,display_spouse):
Use translated event names. svn: r5070
This commit is contained in:
parent
c453822cc5
commit
a672292d5d
@ -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.
|
||||
|
@ -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> </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')
|
||||
|
Loading…
Reference in New Issue
Block a user