From a5e0504f62f6872471de68574cf7b2b60a1f498f Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 28 Jun 2001 15:27:34 +0000 Subject: [PATCH] Default report directory added, better translations svn: r196 --- src/plugins/WebPage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/WebPage.py b/src/plugins/WebPage.py index e8573a544..86dd7b445 100644 --- a/src/plugins/WebPage.py +++ b/src/plugins/WebPage.py @@ -177,9 +177,9 @@ class IndividualPage: self.doc.start_table("one","IndTable") self.write_normal_row([ "%s:" % _("Name"), name]) if self.person.getGender() == Person.male: - self.write_normal_row([ "%s:" % _("Gender"), "Male"]) + self.write_normal_row([ "%s:" % _("Gender"), _("Male")]) else: - self.write_normal_row([ "%s:" % _("Gender"), "Female"]) + self.write_normal_row([ "%s:" % _("Gender"), _("Female")]) family = self.person.getMainFamily() if family: @@ -228,7 +228,7 @@ class IndividualPage: event_list = [ self.person.getBirth(), self.person.getDeath() ] event_list = event_list + self.person.getEventList() for event in event_list: - name = event.getName() + name = _(event.getName()) date = event.getDate() place = event.getPlace() description = event.getDescription()