From 967a48abdc9a84b37ce2fbba9dc4bab59780c82a Mon Sep 17 00:00:00 2001 From: Raphael Ackermann Date: Sat, 2 Feb 2008 10:35:01 +0000 Subject: [PATCH] 2008-02-02 Raphael Ackermann * src/GrampsDb/_WriteGedcom.py * src/plugins/WriteGeneWeb.py 0001414: "Living" is not translated in GEDCOM export file svn: r9974 --- ChangeLog | 5 +++++ src/GrampsDb/_WriteGedcom.py | 2 +- src/plugins/WriteGeneWeb.py | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d8f1bee42..6d0871e2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-02-02 Raphael Ackermann + * src/GrampsDb/_WriteGedcom.py + * src/plugins/WriteGeneWeb.py + 0001414: "Living" is not translated in GEDCOM export file + 2008-01-23 Brian Matherly Benny Malengier : backport trunk * src/ReportBase/_StyleComboBox.py: diff --git a/src/GrampsDb/_WriteGedcom.py b/src/GrampsDb/_WriteGedcom.py index f4fc5f596..6c5527a99 100644 --- a/src/GrampsDb/_WriteGedcom.py +++ b/src/GrampsDb/_WriteGedcom.py @@ -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 () diff --git a/src/plugins/WriteGeneWeb.py b/src/plugins/WriteGeneWeb.py index b14961eaa..916cc5c10 100644 --- a/src/plugins/WriteGeneWeb.py +++ b/src/plugins/WriteGeneWeb.py @@ -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()):