* src/WriteGedcom.py: handle broken family

* src/ReportUtils.py: fix born_str to not depend on death date
* example/gedcom/sample.ged: remove broken refererence (I01)


svn: r5254
This commit is contained in:
Don Allingham 2005-09-29 18:58:11 +00:00
parent 91bc3c9bcb
commit ebd9b9f7d9
5 changed files with 10627 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2005-09-29 Don Allingham <don@gramps-project.org>
* src/WriteGedcom.py: handle broken family
* src/ReportUtils.py: fix born_str to not depend on death date
* example/gedcom/sample.ged: remove broken refererence (I01)
2005-09-29 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/plugins/ImportGeneWeb.py: convert witout using latin_utf8.py
* src/plugins/ImportvCard.py: remove unused latin_utf8.py include

View File

@ -41,7 +41,7 @@ if test x$ICONV = xno; then
AC_MSG_ERROR(Couldn't find iconv program.)
fi
LANGUAGES="hu zh_CN cs da de es fr it nb nl no pl pt_BR ro ru sv eo fi"
LANGUAGES="hu zh_CN cs da de es fr it nb nl no pl pt_BR ro ru sv eo fi lt"
AC_SUBST(LANGUAGES)
DISTLANGS=

View File

@ -1731,24 +1731,24 @@ def born_str(database,person,person_name=None,empty_date="",empty_place=""):
gender = person.get_gender()
if ddate:
if ddate_mod:
if bdate:
if bdate_mod:
if dplace:
text = born_modified_date_with_place[name_index][gender] % value_map
else:
text = born_modified_date_no_place[name_index][gender] % value_map
elif ddate_full:
if dplace:
elif bdate_full:
if bplace:
text = born_full_date_with_place[name_index][gender] % value_map
else:
text = born_full_date_no_place[name_index][gender] % value_map
else:
if dplace:
if bplace:
text = born_partial_date_with_place[name_index][gender] % value_map
else:
text = born_partial_date_no_place[name_index][gender] % value_map
else:
if dplace:
if bplace:
text = born_no_date_with_place[name_index][gender] % value_map
else:
text = ""

View File

@ -1126,7 +1126,9 @@ class GedcomWriter:
self.print_date("%d DATE" % (index + 1), ord.get_date_object())
if ord.get_family_handle():
family_id = ord.get_family_handle()
self.writeln('%d FAMC @%s@' % (index+1,self.fid(family_id)))
f = self.db.get_family_from_handle(family_id)
if f:
self.writeln('%d FAMC @%s@' % (index+1,self.fid(family_id)))
if ord.get_temple():
self.writeln('%d TEMP %s' % (index+1,ord.get_temple()))
if ord.get_place_handle():

10612
gramps2/src/po/lt.po Normal file

File diff suppressed because it is too large Load Diff