4326: typos (by PaulFranklin); backport

svn: r16575
This commit is contained in:
Jérôme Rapinat 2011-02-05 09:00:43 +00:00
parent 170d7e4cdb
commit a12f166b09
2 changed files with 6 additions and 6 deletions

View File

@ -665,7 +665,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:
@ -674,7 +674,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:
@ -690,7 +690,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():
@ -698,7 +698,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)

View File

@ -95,8 +95,8 @@ class ChildEmbedList(EmbeddedList):
'del' : _('Remove the child from the family'), 'del' : _('Remove the child from the family'),
'edit' : _('Edit the child reference'), 'edit' : _('Edit the child reference'),
'share' : _('Add an existing person as a child of the family'), 'share' : _('Add an existing person as a child of the family'),
'up' : _('Move the child up in the childrens list'), 'up' : _('Move the child up in the children list'),
'down' : _('Move the child down in the childrens list'), 'down' : _('Move the child down in the children list'),
} }
_column_names = [ _column_names = [