diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index b76e00352..8a0eea1c6 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,6 @@ 2005-04-20 Eero Tamminen + * src/plugins/DetAncestralReport.py: fix gettext usage + * src/plugins/DetDescendantReport.py: fix gettext usage * src/plugins/ChangeNames.py: Fix typo 2005-04-20 Don Allingham diff --git a/gramps2/src/plugins/DetAncestralReport.py b/gramps2/src/plugins/DetAncestralReport.py index f611dfe34..fff900fa9 100644 --- a/gramps2/src/plugins/DetAncestralReport.py +++ b/gramps2/src/plugins/DetAncestralReport.py @@ -240,7 +240,7 @@ class DetAncestorReport(Report.Report): if person.get_note() != "" and self.includeNotes: self.doc.start_paragraph("DAR-NoteHeader") self.doc.start_bold() - self.doc.write_text(_("Notes for %(name)s" % { 'name': name } )) + self.doc.write_text(_("Notes for %(name)s") % { 'name': name } ) self.doc.end_bold() self.doc.end_paragraph() self.doc.write_note(person.get_note(),person.get_note_format(),"DAR-Entry") diff --git a/gramps2/src/plugins/DetDescendantReport.py b/gramps2/src/plugins/DetDescendantReport.py index 3bb9a2499..9845aa7a7 100644 --- a/gramps2/src/plugins/DetDescendantReport.py +++ b/gramps2/src/plugins/DetDescendantReport.py @@ -261,7 +261,7 @@ class DetDescendantReport(Report.Report): if person.get_note() and self.includeNotes: self.doc.start_paragraph("DDR-NoteHeader") self.doc.start_bold() - self.doc.write_text(_("Notes for %s" % name)) + self.doc.write_text(_("Notes for %s") % name) self.doc.end_bold() self.doc.end_paragraph() self.doc.write_note(person.get_note(),person.get_note_format(),"DDR-Entry")