* src/plugins/DetAncestralReport.py: Calculate age for indiviuals.

* src/po/sv.po: Updates.


svn: r5713
This commit is contained in:
Stefan Bjork 2006-01-11 13:27:14 +00:00
parent dcfe9af6cb
commit 0574fd2489
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2006-01-11 Stefan Bjork <skalman@acc.umu.se>
* src/plugins/DetAncestralReport.py: Calculate age for indiviuals.
* src/po/sv.po: Updates.
2006-01-05 Alex Roitman <shura@gramps-project.org>
* doc/man, doc/man/fr: Add directories.
* doc/man/Makefile.am, doc/man/fr/Makefile.am: Add files to CVS.

View File

@ -235,8 +235,9 @@ class DetAncestorReport(Report.Report):
self.endnotes(self.database.get_event_from_handle(birth_handle))
first = 0
age,units = self.calc_age(person)
text = ReportUtils.died_str(self.database,person,first,
self.EMPTY_DATE,self.EMPTY_PLACE)
self.EMPTY_DATE,self.EMPTY_PLACE,age,units)
if text:
self.doc.write_text(text)
death_handle = person.get_birth_handle()

View File

@ -19,7 +19,7 @@ msgstr ""
"Project-Id-Version: Gramps 2.0.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: Sun Nov 27 16:06:29 2005\n"
"PO-Revision-Date: 2006-01-02 22:42+0100\n"
"PO-Revision-Date: 2006-01-06 11:30+0100\n"
"Last-Translator: Stefan Bjork <skalman@acc.umu.se>\n"
"Language-Team: Swedish <sv@li.org>\n"
"MIME-Version: 1.0\n"
@ -8322,7 +8322,7 @@ msgstr "Avslutande notiser"
#: plugins/DetAncestralReport.py:515 plugins/DetDescendantReport.py:539
#: plugins/FtmStyleAncestors.py:162 plugins/FtmStyleDescendants.py:192
msgid "Text:"
msgstr "Te_xt:"
msgstr "Text:"
#: plugins/DetAncestralReport.py:522 plugins/DetDescendantReport.py:546
#: plugins/FtmStyleAncestors.py:169 plugins/FtmStyleDescendants.py:199