From 4d0f6160d51158f1f5a1e9840dbfbba398e35d0e Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sun, 30 Jun 2013 17:52:12 +0000 Subject: [PATCH] make sure relationship calculator's relationships are in the UI language svn: r22633 --- gramps/plugins/drawreport/calendarreport.py | 1 - gramps/plugins/quickview/all_relations.py | 2 +- gramps/plugins/quickview/siblings.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gramps/plugins/drawreport/calendarreport.py b/gramps/plugins/drawreport/calendarreport.py index 231c68189..3b0f486f9 100644 --- a/gramps/plugins/drawreport/calendarreport.py +++ b/gramps/plugins/drawreport/calendarreport.py @@ -273,7 +273,6 @@ class Calendar(Report): db.get_number_of_people()) people = self.filter.apply(self.database, people, self._user.step_progress) - rel_calc = get_relationship_calculator() self._user.end_progress() self._user.begin_progress(_('Calendar Report'), diff --git a/gramps/plugins/quickview/all_relations.py b/gramps/plugins/quickview/all_relations.py index 200c8a624..2c74f92e0 100644 --- a/gramps/plugins/quickview/all_relations.py +++ b/gramps/plugins/quickview/all_relations.py @@ -61,7 +61,7 @@ class AllRelReport(): self.person = person self.sdb = SimpleAccess(database) self.sdoc = SimpleDoc(document) - self.rel_class = get_relationship_calculator() + self.rel_class = get_relationship_calculator(glocale) self.msg_list = [] diff --git a/gramps/plugins/quickview/siblings.py b/gramps/plugins/quickview/siblings.py index 18dd46116..cd514eabc 100644 --- a/gramps/plugins/quickview/siblings.py +++ b/gramps/plugins/quickview/siblings.py @@ -41,7 +41,7 @@ def run(database, document, person): sdb = SimpleAccess(database) sdoc = SimpleDoc(document) stab = QuickTable(sdb) - rel_class = get_relationship_calculator() + rel_class = get_relationship_calculator(glocale) # display the title # feature request 2356: avoid genitive form