From fea6a2c9e3274210871a8c5c069ee57923f3e007 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Thu, 5 Jan 2012 17:50:47 +0000 Subject: [PATCH] bug #5485 (introduced at rev 18118, for f.r. #5149) svn: r18704 --- src/plugins/textreport/BirthdayReport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/textreport/BirthdayReport.py b/src/plugins/textreport/BirthdayReport.py index 2eb4f786a..fbd023d3d 100644 --- a/src/plugins/textreport/BirthdayReport.py +++ b/src/plugins/textreport/BirthdayReport.py @@ -169,7 +169,8 @@ class CalendarReport(Report): if self.relationships: name = self.center_person.get_primary_name() self.doc.start_paragraph('BIR-Text3style') - self.doc.write_text(_("Relationships shown are to %s") % _nd.display_name(name)) + self.doc.write_text(_("Relationships shown are to %s") % + self._name_display.display_name(name)) self.doc.end_paragraph() self._user.begin_progress(_('Birthday and Anniversary Report'), _('Formatting months...'), 12)