* src/WriteGedcom.py: handle patronymics
svn: r5222
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
2005-09-24 Don Allingham <dona@gramps-project.org>
|
||||||
|
* src/WriteGedcom.py: handle patronymics
|
||||||
|
|
||||||
2005-09-24 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
2005-09-24 Martin Hawlisch <Martin.Hawlisch@gmx.de>
|
||||||
* src/GrampsDbBase.py: Properly validate ID prefix strings
|
* src/GrampsDbBase.py: Properly validate ID prefix strings
|
||||||
|
|
||||||
|
@@ -25,13 +25,14 @@
|
|||||||
<title>Preface</title>
|
<title>Preface</title>
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
&app; is a software package designed to help you with
|
&app; is a free software package designed to help you with
|
||||||
genealogical research. It allows you to store, edit, and research
|
genealogical research. It allows you to store, edit, and research
|
||||||
genealogical data using your computer. Although similar to other
|
genealogical data using your computer. &app; is an open source
|
||||||
genealogical programs, it offers some unique and powerful
|
software package, which means you are free to run it on any number
|
||||||
features. GRAMPS is an open source software package, which means
|
of computers, examine the code, make changes, and redistribute as
|
||||||
it's distributed for free. It's developed and maintained by a
|
many copies as you like. It is developed and maintained by a
|
||||||
worldwide team of volunteers.
|
worldwide team of volunteers and is available at no cost from the
|
||||||
|
project web site and from many software distributions
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@@ -1157,7 +1157,7 @@ class GedcomWriter:
|
|||||||
self.writeln("%s %s" % (prefix,self.cnvtxt(date.get_text())))
|
self.writeln("%s %s" % (prefix,self.cnvtxt(date.get_text())))
|
||||||
|
|
||||||
def write_person_name(self,name,nick):
|
def write_person_name(self,name,nick):
|
||||||
firstName = self.cnvtxt(name.get_first_name())
|
firstName = self.cnvtxt("%s %s" % (name.get_first_name(),name.get_patronymic())).strip()
|
||||||
surName = self.cnvtxt(name.get_surname())
|
surName = self.cnvtxt(name.get_surname())
|
||||||
surName = surName.replace('/','?')
|
surName = surName.replace('/','?')
|
||||||
surPref = self.cnvtxt(name.get_surname_prefix())
|
surPref = self.cnvtxt(name.get_surname_prefix())
|
||||||
@@ -1175,7 +1175,7 @@ class GedcomWriter:
|
|||||||
else:
|
else:
|
||||||
self.writeln("1 NAME %s/%s %s/%s" % (firstName,surPref,surName,suffix))
|
self.writeln("1 NAME %s/%s %s/%s" % (firstName,surPref,surName,suffix))
|
||||||
|
|
||||||
if name.get_first_name():
|
if firstName:
|
||||||
self.writeln("2 GIVN %s" % firstName)
|
self.writeln("2 GIVN %s" % firstName)
|
||||||
if self.prefix:
|
if self.prefix:
|
||||||
if surPref:
|
if surPref:
|
||||||
|
Reference in New Issue
Block a user