3071: Set different abbreviations for life events in all non-detailed reports
svn: r14361
This commit is contained in:
parent
ca02f9b775
commit
e2947972b3
@ -1150,14 +1150,16 @@ class RelationshipView(NavigationView):
|
|||||||
ddate = ""
|
ddate = ""
|
||||||
|
|
||||||
if bdate and ddate:
|
if bdate and ddate:
|
||||||
value = _("b. %(birthdate)s, d. %(deathdate)s") % {
|
value = _("%(birthabbrev)s %(birthdate)s, %(deathabbrev)s %(deathdate)s") % {
|
||||||
|
'birthabbrev': birth.type.get_abbreviation(),
|
||||||
|
'deathabbrev': death.type.get_abbreviation(),
|
||||||
'birthdate' : bdate,
|
'birthdate' : bdate,
|
||||||
'deathdate' : ddate
|
'deathdate' : ddate
|
||||||
}
|
}
|
||||||
elif bdate:
|
elif bdate:
|
||||||
value = _("short for born|b. %s") % (bdate)
|
value = _("%s %s") % (birth.type.get_abbreviation(), bdate)
|
||||||
elif ddate:
|
elif ddate:
|
||||||
value = _("short for dead|d. %s") % (ddate)
|
value = _("%s %s") % (death.type.get_abbreviation(), ddate)
|
||||||
else:
|
else:
|
||||||
value = ""
|
value = ""
|
||||||
return value
|
return value
|
||||||
|
Loading…
Reference in New Issue
Block a user