2008-02-02 Raphael Ackermann <raphael.ackermann@gmail.com>

* src/GrampsDb/_WriteGedcom.py
	* src/plugins/WriteGeneWeb.py
	0001414: "Living" is not translated in GEDCOM export file

svn: r9974
This commit is contained in:
Raphael Ackermann 2008-02-02 10:35:01 +00:00
parent d547e773b4
commit 967a48abdc
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2008-02-02 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/GrampsDb/_WriteGedcom.py
* src/plugins/WriteGeneWeb.py
0001414: "Living" is not translated in GEDCOM export file
2008-01-23 Brian Matherly <brian@gramps-project.org>
Benny Malengier <benny.malengier@gramps-project.org>: backport trunk
* src/ReportBase/_StyleComboBox.py:

View File

@ -883,7 +883,7 @@ class GedcomWriter(UpdateCallback):
nickname = ""
if restricted and self.living:
primaryname = RelLib.Name (primaryname)
primaryname.set_first_name ("Living")
primaryname.set_first_name (_("Living"))
#nickname = ""
else:
primaryname = person.get_primary_name ()

View File

@ -456,7 +456,7 @@ class GeneWebWriter:
def get_ref_name(self,person):
surname = self.rem_spaces( person.get_primary_name().get_surname())
firstname = "Living"
firstname = _("Living")
if not (Utils.probably_alive(person,self.db) and self.restrict and self.living):
firstname = self.rem_spaces( person.get_primary_name().get_first_name())
if not self.person_ids.has_key(person.get_handle()):
@ -466,7 +466,7 @@ class GeneWebWriter:
def get_child_ref_name(self,person,father_lastname):
surname = self.rem_spaces( person.get_primary_name().get_surname())
firstname = "Living"
firstname = _("Living")
if not (Utils.probably_alive(person,self.db) and self.restrict and self.living):
firstname = self.rem_spaces( person.get_primary_name().get_first_name())
if not self.person_ids.has_key(person.get_handle()):