Fix error in plural cousins (same generation) relationship string generation
svn: r20342
This commit is contained in:
parent
eee0f0283a
commit
aaa0b1966e
@ -600,7 +600,7 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
|
|||||||
# These are cousins in the same generation
|
# These are cousins in the same generation
|
||||||
if Ga == 2:
|
if Ga == 2:
|
||||||
rel_str = "primos hermanos"
|
rel_str = "primos hermanos"
|
||||||
elif level < len(_level_name_plural):
|
elif (Ga-1) < len(_level_name_plural):
|
||||||
rel_str = "primos %s" % (_level_name_plural[Ga-1])
|
rel_str = "primos %s" % (_level_name_plural[Ga-1])
|
||||||
else:
|
else:
|
||||||
rel_str = "primos %d-ésimos" % (Ga-1)
|
rel_str = "primos %d-ésimos" % (Ga-1)
|
||||||
|
Loading…
Reference in New Issue
Block a user