From 42f014efeb0b6e511eaa6fc3631ecb058820105c Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Mon, 22 Apr 2013 18:17:24 +0000 Subject: [PATCH] reenable translated report title svn: r22073 --- gramps/plugins/textreport/ancestorreport.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gramps/plugins/textreport/ancestorreport.py b/gramps/plugins/textreport/ancestorreport.py index 2be2542ef..3c90fdeb1 100644 --- a/gramps/plugins/textreport/ancestorreport.py +++ b/gramps/plugins/textreport/ancestorreport.py @@ -112,15 +112,15 @@ class AncestorReport(Report): if name_format != 0: self._name_display.set_default_format(name_format) - title_name = self._name_display.display_formal(self.center_person) - title_format = menu.get_option_by_name('title_format').get_value() - self.title = title_format % title_name - lang = menu.get_option_by_name('trans').get_value() locale = self.set_locale(lang) self.__narrator = Narrator(self.database, use_fulldate=True, locale=locale) + title_name = self._name_display.display_formal(self.center_person) + title_format = menu.get_option_by_name('title_format').get_value() + self.title = self._(title_format) % title_name + def apply_filter(self, person_handle, index, generation=1): """ Recursive function to walk back all parents of the current person.