4326: 'descendant' instead of 'descendent'

svn: r16551
This commit is contained in:
Jérôme Rapinat 2011-02-03 09:04:07 +00:00
parent 859f75ead8
commit aea7959eb0

View File

@ -704,7 +704,7 @@ class ProbablyAlive(object):
val = d.get_year() - years val = d.get_year() - years
d.set_year(val) d.set_year(val)
return (d, d.copy_offset_ymd(self.MAX_AGE_PROB_ALIVE), return (d, d.copy_offset_ymd(self.MAX_AGE_PROB_ALIVE),
_("descendent birth date"), _("descendant birth date"),
child) child)
child_death_ref = child.get_death_ref() child_death_ref = child.get_death_ref()
if child_death_ref: if child_death_ref:
@ -713,7 +713,7 @@ class ProbablyAlive(object):
if dobj.get_start_date() != gen.lib.Date.EMPTY: if dobj.get_start_date() != gen.lib.Date.EMPTY:
return (dobj.copy_offset_ymd(- self.AVG_GENERATION_GAP), return (dobj.copy_offset_ymd(- self.AVG_GENERATION_GAP),
dobj.copy_offset_ymd(- self.AVG_GENERATION_GAP + self.MAX_AGE_PROB_ALIVE), dobj.copy_offset_ymd(- self.AVG_GENERATION_GAP + self.MAX_AGE_PROB_ALIVE),
_("descendent death date"), _("descendant death date"),
child) child)
date1, date2, explain, other = descendants_too_old (child, years + self.AVG_GENERATION_GAP) date1, date2, explain, other = descendants_too_old (child, years + self.AVG_GENERATION_GAP)
if date1 and date2: if date1 and date2:
@ -729,7 +729,7 @@ class ProbablyAlive(object):
val = d.get_year() - years val = d.get_year() - years
d.set_year(val) d.set_year(val)
return (d, d.copy_offset_ymd(self.MAX_AGE_PROB_ALIVE), return (d, d.copy_offset_ymd(self.MAX_AGE_PROB_ALIVE),
_("descendent birth-related date"), _("descendant birth-related date"),
child) child)
elif ev and ev.type.is_death_fallback(): elif ev and ev.type.is_death_fallback():
@ -737,7 +737,7 @@ class ProbablyAlive(object):
if dobj.get_start_date() != gen.lib.Date.EMPTY: if dobj.get_start_date() != gen.lib.Date.EMPTY:
return (dobj.copy_offset_ymd(- self.AVG_GENERATION_GAP), return (dobj.copy_offset_ymd(- self.AVG_GENERATION_GAP),
dobj.copy_offset_ymd(- self.AVG_GENERATION_GAP + self.MAX_AGE_PROB_ALIVE), dobj.copy_offset_ymd(- self.AVG_GENERATION_GAP + self.MAX_AGE_PROB_ALIVE),
_("descendent death-related date"), _("descendant death-related date"),
child) child)
return (None, None, "", None) return (None, None, "", None)