Default report directory added, better translations

svn: r196
This commit is contained in:
Don Allingham 2001-06-28 15:27:34 +00:00
parent 09e647e4cf
commit 3a09bdae63

View File

@ -177,9 +177,9 @@ class IndividualPage:
self.doc.start_table("one","IndTable") self.doc.start_table("one","IndTable")
self.write_normal_row([ "%s:" % _("Name"), name]) self.write_normal_row([ "%s:" % _("Name"), name])
if self.person.getGender() == Person.male: if self.person.getGender() == Person.male:
self.write_normal_row([ "%s:" % _("Gender"), "Male"]) self.write_normal_row([ "%s:" % _("Gender"), _("Male")])
else: else:
self.write_normal_row([ "%s:" % _("Gender"), "Female"]) self.write_normal_row([ "%s:" % _("Gender"), _("Female")])
family = self.person.getMainFamily() family = self.person.getMainFamily()
if family: if family:
@ -228,7 +228,7 @@ class IndividualPage:
event_list = [ self.person.getBirth(), self.person.getDeath() ] event_list = [ self.person.getBirth(), self.person.getDeath() ]
event_list = event_list + self.person.getEventList() event_list = event_list + self.person.getEventList()
for event in event_list: for event in event_list:
name = event.getName() name = _(event.getName())
date = event.getDate() date = event.getDate()
place = event.getPlace() place = event.getPlace()
description = event.getDescription() description = event.getDescription()