From 1995a7068c884e2a8d716c88e79f654c53d65454 Mon Sep 17 00:00:00 2001 From: Jgon6 <1jgon6@mail.com> Date: Mon, 5 Mar 2018 20:53:33 -0500 Subject: [PATCH] Birthday report dead indicator now user defineable Fixed the birthday report so the dead icon is able to be set within the options window --- gramps/plugins/textreport/birthdayreport.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gramps/plugins/textreport/birthdayreport.py b/gramps/plugins/textreport/birthdayreport.py index 848c47b31..6f1c2df64 100644 --- a/gramps/plugins/textreport/birthdayreport.py +++ b/gramps/plugins/textreport/birthdayreport.py @@ -99,6 +99,7 @@ class BirthdayReport(Report): self.text1 = mgobn('text1') self.text2 = mgobn('text2') self.text3 = mgobn('text3') + self.deadtxt = mgobn('deadtxt') self.filter_option = menu.get_option_by_name('filter') self.filter = self.filter_option.get_filter() pid = mgobn('pid') @@ -319,7 +320,7 @@ class BirthdayReport(Report): comment = " --- %s" % relation deadtxt = "" if (not alive): - deadtxt = _DEADTXT + deadtxt = self.deadtxt if nyears == 0: text = self._('%(person)s, birth%(relation)s') % { 'person' : short_name, @@ -382,9 +383,9 @@ class BirthdayReport(Report): deadtxt1 = "" deadtxt2 = "" if (not alive1): - deadtxt1 = _DEADTXT + deadtxt1 = self.deadtxt if (not alive2): - deadtxt2 = _DEADTXT + deadtxt2 = self.deadtxt if nyears == 0: text = self._("%(spouse)s and\n %(person)s, wedding") % { 'spouse' : spouse_name,