* src/plugins/IndivComplete.py: fixed child_relations translation

* src/const.py.in: fixed child_relations translation
* src/SelectChild.py: fixed child_relations translation
* src/TransTable.py: unicode conversion
* src/ChooseParents.py: fixed child_relations translation


svn: r2836
This commit is contained in:
Alex Roitman
2004-02-15 07:21:29 +00:00
parent f9d6c51a72
commit caaff3e282
5 changed files with 26 additions and 20 deletions

View File

@@ -202,7 +202,7 @@ class IndivComplete(Report.Report):
father = family.get_father_id()
if father:
fname = father.get_primary_name().get_regular_name()
frel = const.child_relations[frel]
frel = const.child_relations.find_value(frel)
self.write_p_entry(_('Father'),fname,frel)
else:
self.write_p_entry(_('Father'),'','')
@@ -210,7 +210,7 @@ class IndivComplete(Report.Report):
mother = family.get_mother_id()
if mother:
fname = mother.get_primary_name().get_regular_name()
frel = const.child_relations(frel)
frel = const.child_relations.find_value(frel)
self.write_p_entry(_('Mother'),fname,frel)
else:
self.write_p_entry(_('Mother'),'','')