Male-female bug, 725016
svn: r1470
This commit is contained in:
parent
739f28999a
commit
0020c66147
@ -227,7 +227,7 @@ def on_apply_clicked(obj):
|
|||||||
'male_name' : idstr, 'nfam' : nfam } )
|
'male_name' : idstr, 'nfam' : nfam } )
|
||||||
if person.getGender() == RelLib.Person.female:
|
if person.getGender() == RelLib.Person.female:
|
||||||
warn.write( _("Married often: %(female_name)s married %(nfam)d times.\n") % {
|
warn.write( _("Married often: %(female_name)s married %(nfam)d times.\n") % {
|
||||||
'male_name' : idstr, 'nfam' : nfam } )
|
'female_name' : idstr, 'nfam' : nfam } )
|
||||||
if ageatdeath>oldunm and nfam == 0:
|
if ageatdeath>oldunm and nfam == 0:
|
||||||
if person.getGender() == RelLib.Person.male:
|
if person.getGender() == RelLib.Person.male:
|
||||||
warn.write( _("Old and unmarried: %(male_name)s died unmarried, at the age of %(ageatdeath)d years.\n") % {
|
warn.write( _("Old and unmarried: %(male_name)s died unmarried, at the age of %(ageatdeath)d years.\n") % {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user