2003-07-17 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py: Handle unknown genders and missing first names. svn: r1900
This commit is contained in:
parent
91faf01add
commit
e913f0a32b
@ -1,5 +1,6 @@
|
||||
2003-07-17 Tim Waugh <twaugh@redhat.com>
|
||||
* src/plugins/Ancestors.py: Include grandchildren's birth dates in
|
||||
* src/plugins/Ancestors.py: Handle unknown genders and missing
|
||||
first names. Include grandchildren's birth dates in
|
||||
abbreviated form. Include other names in the notes. Include
|
||||
birth/marriage/death descriptions. Change report name. Include
|
||||
addresses. Better generation headings. Include nickname.
|
||||
|
@ -504,13 +504,17 @@ class ComprehensiveAncestorsReport (Report.Report):
|
||||
t = name.getTitle ()
|
||||
if t:
|
||||
return t
|
||||
if person.getGender () == RelLib.Person.female:
|
||||
|
||||
gender = person.getGender ()
|
||||
if gender == RelLib.Person.female:
|
||||
if name.getType () == 'Married Name':
|
||||
return 'Mrs.'
|
||||
|
||||
return 'Miss'
|
||||
|
||||
return 'Mr.'
|
||||
elif gender == RelLib.Person.male:
|
||||
return 'Mr.'
|
||||
else:
|
||||
return '(gender unknown)'
|
||||
|
||||
def cite_sources (self, sourcereflist):
|
||||
citation = ""
|
||||
|
Loading…
Reference in New Issue
Block a user