fix gettext usage

svn: r4388
This commit is contained in:
Eero Tamminen 2005-04-20 19:38:54 +00:00
parent dab1b6c8a7
commit 390a84bd2f
3 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,6 @@
2005-04-20 Eero Tamminen <eerot@sf>
* 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 <don@gramps-project.org>

View File

@ -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")

View File

@ -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")