* src/plugins/FamilyGroup.py: Remove setup() call.
* src/plugins/IndivSummary.py: Enable translation for an event type. * src/plugins/FtmStyleAncestors.py: Space after full stop. * src/const.py.in (display_pevent): Try translating string if not found in the _pe_e2l dictionary. Useful for translating Birth and Death events which are not in the dictionary as non-editable events. Seems harmless in the display function ; (display_fevent, display_event, display_pattr, display_fattr, display_attr, display_frel): Likewise. Might be useful in some cases and seems totally harmless. svn: r1973
This commit is contained in:
@@ -400,7 +400,6 @@ class FamilyGroupDialog(Report.TextReportDialog):
|
||||
try:
|
||||
MyReport = FamilyGroup(self.db, self.report_menu,
|
||||
self.doc, self.target_path)
|
||||
MyReport.setup()
|
||||
MyReport.write_report()
|
||||
except Errors.ReportError, msg:
|
||||
(m1,m2) = msg.messages()
|
||||
|
||||
@@ -121,7 +121,7 @@ class FtmAncestorReport(Report.Report):
|
||||
if birth_valid or death_valid:
|
||||
self.doc.write_text(', ')
|
||||
else:
|
||||
self.doc.write_text('.')
|
||||
self.doc.write_text('. ')
|
||||
|
||||
if birth_valid:
|
||||
date = birth.getDateObj().get_start_date()
|
||||
|
||||
@@ -111,7 +111,7 @@ class IndivSummary(Report.Report):
|
||||
def write_fact(self,event):
|
||||
if event == None:
|
||||
return
|
||||
name = event.getName()
|
||||
name = const.display_event(event.getName())
|
||||
date = event.getDate()
|
||||
place = event.getPlaceName()
|
||||
description = event.getDescription()
|
||||
|
||||
Reference in New Issue
Block a user