* src/plugins/rel_es.py: Correct levels.
svn: r3638
This commit is contained in:
parent
5dca1c8f2a
commit
eb6fd70753
@ -1,3 +1,6 @@
|
||||
2004-10-17 Julio Sanchez <julio.sanchez@gmail.com>
|
||||
* src/plugins/rel_es.py: Correct levels.
|
||||
|
||||
2004-10-16 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/ReadGedcom.py: allow default when selecting override, add
|
||||
the place properly on import
|
||||
|
@ -204,18 +204,18 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
|
||||
def get_aunt(self,level):
|
||||
if level<len(_sister_level):
|
||||
return _sister_level[level]
|
||||
elif (level-1)<len(_level_name_female):
|
||||
return "%s tía abuela" % (_level_name_female[level-1])
|
||||
elif (level-2)<len(_level_name_female):
|
||||
return "%s tía abuela" % (_level_name_female[level-2])
|
||||
else:
|
||||
return "%d-ésima tía abuela" % (level-1)
|
||||
return "%d-ésima tía abuela" % (level-2)
|
||||
|
||||
def get_uncle(self,level):
|
||||
if level<len(_brother_level):
|
||||
return _brother_level[level]
|
||||
elif (level-1)<len(_level_name_male_a):
|
||||
return "%s tío abuelo" % (_level_name_male_a[level-1])
|
||||
elif (level-2)<len(_level_name_male_a):
|
||||
return "%s tío abuelo" % (_level_name_male_a[level-2])
|
||||
else:
|
||||
return "%d-ésimo tío abuelo" % (level-1)
|
||||
return "%d-ésimo tío abuelo" % (level-2)
|
||||
|
||||
def get_nephew(self,level):
|
||||
if level<len(_nephew_level):
|
||||
|
Loading…
Reference in New Issue
Block a user