make sure relationship calculator's relationships are in the UI language
svn: r22633
This commit is contained in:
parent
2c879c794c
commit
4d0f6160d5
@ -273,7 +273,6 @@ class Calendar(Report):
|
|||||||
db.get_number_of_people())
|
db.get_number_of_people())
|
||||||
people = self.filter.apply(self.database, people,
|
people = self.filter.apply(self.database, people,
|
||||||
self._user.step_progress)
|
self._user.step_progress)
|
||||||
rel_calc = get_relationship_calculator()
|
|
||||||
self._user.end_progress()
|
self._user.end_progress()
|
||||||
|
|
||||||
self._user.begin_progress(_('Calendar Report'),
|
self._user.begin_progress(_('Calendar Report'),
|
||||||
|
@ -61,7 +61,7 @@ class AllRelReport():
|
|||||||
self.person = person
|
self.person = person
|
||||||
self.sdb = SimpleAccess(database)
|
self.sdb = SimpleAccess(database)
|
||||||
self.sdoc = SimpleDoc(document)
|
self.sdoc = SimpleDoc(document)
|
||||||
self.rel_class = get_relationship_calculator()
|
self.rel_class = get_relationship_calculator(glocale)
|
||||||
|
|
||||||
self.msg_list = []
|
self.msg_list = []
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ def run(database, document, person):
|
|||||||
sdb = SimpleAccess(database)
|
sdb = SimpleAccess(database)
|
||||||
sdoc = SimpleDoc(document)
|
sdoc = SimpleDoc(document)
|
||||||
stab = QuickTable(sdb)
|
stab = QuickTable(sdb)
|
||||||
rel_class = get_relationship_calculator()
|
rel_class = get_relationship_calculator(glocale)
|
||||||
|
|
||||||
# display the title
|
# display the title
|
||||||
# feature request 2356: avoid genitive form
|
# feature request 2356: avoid genitive form
|
||||||
|
Loading…
Reference in New Issue
Block a user