From 882d9c0b17858e21615c6c1973cb7a61f2fe6a4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Mon, 16 Jan 2006 15:17:37 +0000 Subject: [PATCH] * data\gramps.desktop: Add french entry and comment * plugins\DetDescendantReport.py: Same patch as DetAncestralReport (age calculated bug) svn: r5761 --- gramps2/src/data/gramps.desktop | 2 ++ gramps2/src/plugins/DetDescendantReport.py | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gramps2/src/data/gramps.desktop b/gramps2/src/data/gramps.desktop index f94416f78..ae40b54fd 100644 --- a/gramps2/src/data/gramps.desktop +++ b/gramps2/src/data/gramps.desktop @@ -9,6 +9,7 @@ Name[de]=GRAMPS Name[hu]=GRAMPS Name[nl]=GRAMPS genealogie Name[fi]=GRAMPS sukututkimusohjelma +Name[fr]=GRAMPS Comment=Manage genealogical information, perform genealogical research and analysis Comment[nl]=Een programma voor genealogie infomatie beheer en genealogisch onderzoek en analyse Comment[sv]=Ett släktforskningsprogram @@ -18,6 +19,7 @@ Comment[ru]=Система исследования и анализа генеа Comment[de]=Ein Programm zur Ahnenforschung Comment[hu]=Örökléskutató és elemző program Comment[fi]=Hallinnoi, tutki ja analysoi sukutietoa +Comment[fr]=Gestion des informations genealogiques, optimisation de la recherche et de l'analyse Icon=gramps.png Terminal=false Type=Application diff --git a/gramps2/src/plugins/DetDescendantReport.py b/gramps2/src/plugins/DetDescendantReport.py index 225243e52..59228bcd9 100644 --- a/gramps2/src/plugins/DetDescendantReport.py +++ b/gramps2/src/plugins/DetDescendantReport.py @@ -261,9 +261,10 @@ class DetDescendantReport(Report.Report): if birth_handle: 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()