make sure relationship calculator's relationships are in the UI language

svn: r22633
This commit is contained in:
Paul Franklin 2013-06-30 17:52:12 +00:00
parent 2c879c794c
commit 4d0f6160d5
3 changed files with 2 additions and 3 deletions

View File

@ -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'),

View File

@ -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 = []

View File

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