4326: typos (by PaulFranklin); backport
svn: r16575
This commit is contained in:
parent
170d7e4cdb
commit
a12f166b09
@ -665,7 +665,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:
|
||||
@ -674,7 +674,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:
|
||||
@ -690,7 +690,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():
|
||||
@ -698,7 +698,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)
|
||||
|
@ -95,8 +95,8 @@ class ChildEmbedList(EmbeddedList):
|
||||
'del' : _('Remove the child from the family'),
|
||||
'edit' : _('Edit the child reference'),
|
||||
'share' : _('Add an existing person as a child of the family'),
|
||||
'up' : _('Move the child up in the childrens list'),
|
||||
'down' : _('Move the child down in the childrens list'),
|
||||
'up' : _('Move the child up in the children list'),
|
||||
'down' : _('Move the child down in the children list'),
|
||||
}
|
||||
|
||||
_column_names = [
|
||||
|
Loading…
Reference in New Issue
Block a user