4326: 'descendant' instead of 'descendent'
svn: r16551
This commit is contained in:
parent
859f75ead8
commit
aea7959eb0
@ -704,7 +704,7 @@ class ProbablyAlive(object):
|
||||
val = d.get_year() - years
|
||||
d.set_year(val)
|
||||
return (d, d.copy_offset_ymd(self.MAX_AGE_PROB_ALIVE),
|
||||
_("descendent birth date"),
|
||||
_("descendant birth date"),
|
||||
child)
|
||||
child_death_ref = child.get_death_ref()
|
||||
if child_death_ref:
|
||||
@ -713,7 +713,7 @@ class ProbablyAlive(object):
|
||||
if dobj.get_start_date() != gen.lib.Date.EMPTY:
|
||||
return (dobj.copy_offset_ymd(- self.AVG_GENERATION_GAP),
|
||||
dobj.copy_offset_ymd(- self.AVG_GENERATION_GAP + self.MAX_AGE_PROB_ALIVE),
|
||||
_("descendent death date"),
|
||||
_("descendant death date"),
|
||||
child)
|
||||
date1, date2, explain, other = descendants_too_old (child, years + self.AVG_GENERATION_GAP)
|
||||
if date1 and date2:
|
||||
@ -729,7 +729,7 @@ class ProbablyAlive(object):
|
||||
val = d.get_year() - years
|
||||
d.set_year(val)
|
||||
return (d, d.copy_offset_ymd(self.MAX_AGE_PROB_ALIVE),
|
||||
_("descendent birth-related date"),
|
||||
_("descendant birth-related date"),
|
||||
child)
|
||||
|
||||
elif ev and ev.type.is_death_fallback():
|
||||
@ -737,7 +737,7 @@ class ProbablyAlive(object):
|
||||
if dobj.get_start_date() != gen.lib.Date.EMPTY:
|
||||
return (dobj.copy_offset_ymd(- self.AVG_GENERATION_GAP),
|
||||
dobj.copy_offset_ymd(- self.AVG_GENERATION_GAP + self.MAX_AGE_PROB_ALIVE),
|
||||
_("descendent death-related date"),
|
||||
_("descendant death-related date"),
|
||||
child)
|
||||
|
||||
return (None, None, "", None)
|
||||
|
Loading…
Reference in New Issue
Block a user