Male-female bug, 725016

svn: r1470
This commit is contained in:
Alex Roitman 2003-04-21 15:42:41 +00:00
parent 739f28999a
commit 0020c66147

View File

@ -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") % {