From e2947972b3dea7203ac166426d10c8b3ca140135 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sun, 14 Feb 2010 02:01:07 +0000 Subject: [PATCH] 3071: Set different abbreviations for life events in all non-detailed reports svn: r14361 --- src/plugins/view/relview.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/plugins/view/relview.py b/src/plugins/view/relview.py index a5f66a7c5..bf55908da 100644 --- a/src/plugins/view/relview.py +++ b/src/plugins/view/relview.py @@ -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