3071: Set different abbreviations for life events in all non-detailed reports

svn: r14361
This commit is contained in:
Doug Blank 2010-02-14 02:01:07 +00:00
parent ca02f9b775
commit e2947972b3

View File

@ -1150,14 +1150,16 @@ class RelationshipView(NavigationView):
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,
'deathdate' : ddate
}
elif bdate:
value = _("short for born|b. %s") % (bdate)
value = _("%s %s") % (birth.type.get_abbreviation(), bdate)
elif ddate:
value = _("short for dead|d. %s") % (ddate)
value = _("%s %s") % (death.type.get_abbreviation(), ddate)
else:
value = ""
return value