From 824df0bf5a874c5b4d01eeaed1a10df45729183c Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 12 Nov 2004 13:09:41 +0000 Subject: [PATCH] 2004-11-12 Tim Waugh * src/plugins/Ancestors.py (person_name): Handle surname prefix (patch from Julio Sanchez). svn: r3724 --- ChangeLog | 4 ++++ src/plugins/Ancestors.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2b73ca2f9..a0fd76f26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-11-12 Tim Waugh + * src/plugins/Ancestors.py (person_name): Handle surname prefix (patch + from Julio Sanchez). + 2004-11-11 Alex Roitman * src/DateDisplay.py: Add Russian displayer. diff --git a/src/plugins/Ancestors.py b/src/plugins/Ancestors.py index 91c7e3ab2..58511eaf7 100644 --- a/src/plugins/Ancestors.py +++ b/src/plugins/Ancestors.py @@ -665,6 +665,10 @@ class ComprehensiveAncestorsReport (Report.Report): nick = nick[:-1] name += ' ("%s")' % nick + spfx = primary.getSurnamePrefix () + if spfx: + name += ' ' + spfx + if last.replace ('?', '') == '': if first_replaced == '': name += _(' (unknown)')