2007-10-08 Don Allingham <don@gramps-project.org>

* various: gen.lib integration. probably touches almost every file

	* various: gen.utils integration


svn: r9101
This commit is contained in:
Don Allingham
2007-10-08 16:41:39 +00:00
parent 8038bc0dca
commit d58641415d
245 changed files with 2315 additions and 2355 deletions

View File

@@ -30,7 +30,7 @@
#
#-------------------------------------------------------------------------
import RelLib
import gen.lib
import Relationship
import types
from gettext import gettext as _
@@ -125,7 +125,7 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
result.append('sønne')
else:
result.append('datter')
if person.get_gender() == RelLib.Person.MALE:
if person.get_gender() == gen.lib.Person.MALE:
result.append('søn')
else:
result.append('datter')
@@ -148,12 +148,12 @@ class RelationshipCalculator(Relationship.RelationshipCalculator):
result.append('sønne')
else:
result.append('datter')
if person.get_gender() == RelLib.Person.MALE:
if person.get_gender() == gen.lib.Person.MALE:
result.append('søn')
else:
result.append('datter')
else:
if person.get_gender() == RelLib.Person.MALE:
if person.get_gender() == gen.lib.Person.MALE:
result.append('bror')
else:
result.append('søster')