2006-09-01 Alex Roitman <shura@gramps-project.org>
* src/plugins/StatisticsChart.py: Remove cause. * src/GrampsDb/_WriteXML.py (write_object): Escape path of the files; (fix): remove control characters. svn: r7296
This commit is contained in:
@@ -109,8 +109,6 @@ class Extract:
|
||||
self.get_birth, self.get_month),
|
||||
'data_dmonth': ("Death month", _("Death month"),
|
||||
self.get_death, self.get_month),
|
||||
'data_dcause': ("Cause of death", _("Cause of death"),
|
||||
self.get_death, self.get_cause),
|
||||
'data_bplace': ("Birth place", _("Birth place"),
|
||||
self.get_birth, self.get_place),
|
||||
'data_dplace': ("Death place", _("Death place"),
|
||||
@@ -193,13 +191,6 @@ class Extract:
|
||||
return [DateHandler.displayer._months[month]]
|
||||
return [_("Date(s) missing")]
|
||||
|
||||
def get_cause(self, event):
|
||||
"return cause for given event"
|
||||
cause = event.get_cause()
|
||||
if cause:
|
||||
return [cause]
|
||||
return [_("Cause missing")]
|
||||
|
||||
def get_place(self, event):
|
||||
"return place for given event"
|
||||
place_handle = event.get_place_handle()
|
||||
|
||||
Reference in New Issue
Block a user