* src/plugins/rel_nl.py: new half sibling types
* src/plugins/rel_it.py: new half sibling types * src/Relationship.py: change the sibling type to distinguish side of relation. Correct bug in sibling type determination. 2007-11-23 Benny Malengier <benny.malengier@gramps-project.org> svn: r9390
This commit is contained in:
@@ -484,7 +484,9 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
|
||||
rel_str = 'la cognata'
|
||||
else:
|
||||
rel_str = 'il cognato/a'
|
||||
elif sib_type == self.HALF_SIB or sib_type == self.STEP_SIB:
|
||||
elif sib_type == self.HALF_SIB_FATHER \
|
||||
or sib_type == self.HALF_SIB_MOTHER \
|
||||
or sib_type == self.STEP_SIB:
|
||||
#Italian has no difference between half and step sibling!
|
||||
if not inlaw:
|
||||
if gender_b == gen.lib.Person.MALE:
|
||||
|
||||
@@ -514,7 +514,8 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
|
||||
"""
|
||||
if sib_type == self.NORM_SIB or sib_type == self.UNKNOWN_SIB:
|
||||
typestr = ''
|
||||
elif sib_type == self.HALF_SIB:
|
||||
elif sib_type == self.HALF_SIB_FATHER \
|
||||
or sib_type == self.HALF_SIB_MOTHER:
|
||||
typestr = self.HALF
|
||||
elif sib_type == self.STEP_SIB:
|
||||
typestr = self.STEP
|
||||
|
||||
Reference in New Issue
Block a user