Revert "9899: tweak adjustement where one could switch locations for both parents"

This reverts commit 0633930667.
This commit is contained in:
système 2017-01-14 10:22:37 +01:00
parent 8841d13a7e
commit 4f96497e64
2 changed files with 2 additions and 2 deletions

View File

@ -411,7 +411,7 @@ def parents_labels(db, family, glocale):
if father.gender == 0: if father.gender == 0:
rel_father = rel_mother rel_father = rel_mother
if mother.gender == 1: if mother.gender == 1:
rel_mother = _('Father') rel_mother = rel_father
else: else:
rc = get_relationship_calculator(True, glocale) rc = get_relationship_calculator(True, glocale)
rel_father = rc.get_one_relationship(db, mother, father) rel_father = rc.get_one_relationship(db, mother, father)

View File

@ -703,7 +703,7 @@ def parents_labels(db, family):
if father.gender == 0: if father.gender == 0:
rel_father = rel_mother rel_father = rel_mother
if mother.gender == 1: if mother.gender == 1:
rel_mother = _('Father') rel_mother = rel_father
else: else:
rc = RelationshipCalculator() rc = RelationshipCalculator()
rel_father = rc.get_one_relationship(db, mother, father) rel_father = rc.get_one_relationship(db, mother, father)