Minor correction

svn: r1446
This commit is contained in:
Alex Roitman 2003-04-14 03:07:06 +00:00
parent e32e9ff777
commit 50f50f5ee6

View File

@ -188,7 +188,7 @@ def on_apply_clicked(obj):
father = family.getFather() father = family.getFather()
if mother!=None and father!=None: if mother!=None and father!=None:
if mother.getGender() == father.getGender(): if mother.getGender() == father.getGender():
warn = error + _("Homosexual marriage %s family %s.\n") % (idstr, family.getId()) warn = warn + _("Homosexual marriage %s family %s.\n") % (idstr, family.getId())
if family.getFather() == person and person.getGender() == RelLib.Person.female: if family.getFather() == person and person.getGender() == RelLib.Person.female:
error = error + _("Female husband %s family %s.\n") % (idstr, family.getId()) error = error + _("Female husband %s family %s.\n") % (idstr, family.getId())
if family.getMother() == person and person.getGender() == RelLib.Person.male: if family.getMother() == person and person.getGender() == RelLib.Person.male: