* various: Change Person.male, Person.female, and Person.unkwown

to Person.MALE, Person.FEMALE and Person.UNKNOWN

* gramps.spec.in: bring up to date, support Fedora Core and Mandrake
* src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin


svn: r4008
This commit is contained in:
Don Allingham
2005-02-01 03:46:29 +00:00
parent 4d88b51b7b
commit 6463227a6e
47 changed files with 1861 additions and 482 deletions

View File

@@ -105,9 +105,9 @@ class RelCalc:
else:
bdate = ""
name = p.get_primary_name()
if p.get_gender() == RelLib.Person.male:
if p.get_gender() == RelLib.Person.MALE:
gender = _("male")
elif p.get_gender() == RelLib.Person.female:
elif p.get_gender() == RelLib.Person.FEMALE:
gender = _("female")
else:
gender = _("unknown")