0001711: Inconsistant names for graphical reports
svn: r10152
This commit is contained in:
parent
1f57d5224c
commit
e2bc58fe63
54
ChangeLog
54
ChangeLog
@ -1,5 +1,57 @@
|
|||||||
|
2008-03-01 Brian Matherly <brian@gramps-project.org>
|
||||||
|
* src/ViewManager.py:
|
||||||
|
* src/ReportBase/_Constants.py:
|
||||||
|
* src/plugins/WebCal.py:
|
||||||
|
* src/plugins/DescendReport.py:
|
||||||
|
* src/plugins/DetDescendantReport.py:
|
||||||
|
* src/plugins/KinshipReport.py:
|
||||||
|
* src/plugins/ReorderIds.py:
|
||||||
|
* src/plugins/IndivComplete.py:
|
||||||
|
* src/plugins/ExtractCity.py:
|
||||||
|
* src/plugins/CalculateEstimatedDates.py:
|
||||||
|
* src/plugins/BookReport.py:
|
||||||
|
* src/plugins/Eval.py:
|
||||||
|
* src/plugins/NarrativeWeb.py:
|
||||||
|
* src/plugins/CmdRef.py:
|
||||||
|
* src/plugins/NotRelated.py:
|
||||||
|
* src/plugins/TimeLine.py:
|
||||||
|
* src/plugins/ChangeNames.py:
|
||||||
|
* src/plugins/Calendar.py:
|
||||||
|
* src/plugins/GVFamilyLines.py:
|
||||||
|
* src/plugins/AncestorReport.py:
|
||||||
|
* src/plugins/MarkerReport.py:
|
||||||
|
* src/plugins/DateParserDisplayTest.py:
|
||||||
|
* src/plugins/RemoveUnused.py:
|
||||||
|
* src/plugins/RebuildRefMap.py:
|
||||||
|
* src/plugins/FindDupes.py:
|
||||||
|
* src/plugins/TestcaseGenerator.py:
|
||||||
|
* src/plugins/SoundGen.py:
|
||||||
|
* src/plugins/Rebuild.py:
|
||||||
|
* src/plugins/DescendChart.py:
|
||||||
|
* src/plugins/EndOfLineReport.py:
|
||||||
|
* src/plugins/AncestorChart.py:
|
||||||
|
* src/plugins/DetAncestralReport.py:
|
||||||
|
* src/plugins/Check.py:
|
||||||
|
* src/plugins/EventCmp.py:
|
||||||
|
* src/plugins/FamilyGroup.py:
|
||||||
|
* src/plugins/AncestorTree.py:
|
||||||
|
* src/plugins/GVRelGraph.py:
|
||||||
|
* src/plugins/Verify.py:
|
||||||
|
* src/plugins/GVHourGlass.py:
|
||||||
|
* src/plugins/RelCalc.py:
|
||||||
|
* src/plugins/MediaManager.py:
|
||||||
|
* src/plugins/ChangeTypes.py:
|
||||||
|
* src/plugins/StatisticsChart.py:
|
||||||
|
* src/plugins/Makefile.am
|
||||||
|
* src/plugins/PatchNames.py:
|
||||||
|
* src/plugins/DescendTree.py:
|
||||||
|
* src/plugins/FanChart.py:
|
||||||
|
* po/POTFILES.in
|
||||||
|
0001711: Inconsistant names for graphical reports
|
||||||
|
All reports now use the term "Produces" in the description.
|
||||||
|
|
||||||
2008-03-01 Bob Ham <rah@bash.sh>
|
2008-03-01 Bob Ham <rah@bash.sh>
|
||||||
* src/ManagedWindow.py (ManagedWindow.present): fixed check for
|
* src/ManagedWindow.py: (ManagedWindow.present): fixed check for
|
||||||
attribute 'window' by using has_attribute()
|
attribute 'window' by using has_attribute()
|
||||||
0001867: Patch containing fixes (for reporting and general)
|
0001867: Patch containing fixes (for reporting and general)
|
||||||
|
|
||||||
|
@ -249,7 +249,7 @@ src/plugins/all_events.py
|
|||||||
src/plugins/all_relations.py
|
src/plugins/all_relations.py
|
||||||
src/plugins/siblings.py
|
src/plugins/siblings.py
|
||||||
src/plugins/AgeOnDate.py
|
src/plugins/AgeOnDate.py
|
||||||
src/plugins/AncestorChart.py
|
src/plugins/AncestorTree.py
|
||||||
src/plugins/AncestorReport.py
|
src/plugins/AncestorReport.py
|
||||||
src/plugins/BookReport.py
|
src/plugins/BookReport.py
|
||||||
src/plugins/CalculateEstimatedDates.py
|
src/plugins/CalculateEstimatedDates.py
|
||||||
@ -263,7 +263,7 @@ src/plugins/CustomBookText.py
|
|||||||
src/plugins/DateParserDisplayTest.py
|
src/plugins/DateParserDisplayTest.py
|
||||||
src/plugins/DefaultGramplets.py
|
src/plugins/DefaultGramplets.py
|
||||||
src/plugins/Desbrowser.py
|
src/plugins/Desbrowser.py
|
||||||
src/plugins/DescendChart.py
|
src/plugins/DescendTree.py
|
||||||
src/plugins/DescendReport.py
|
src/plugins/DescendReport.py
|
||||||
src/plugins/DetAncestralReport.py
|
src/plugins/DetAncestralReport.py
|
||||||
src/plugins/DetDescendantReport.py
|
src/plugins/DetDescendantReport.py
|
||||||
|
@ -53,10 +53,10 @@ standalone_categories = {
|
|||||||
CATEGORY_TEXT : _("Text Reports"),
|
CATEGORY_TEXT : _("Text Reports"),
|
||||||
CATEGORY_DRAW : _("Graphical Reports"),
|
CATEGORY_DRAW : _("Graphical Reports"),
|
||||||
CATEGORY_CODE : _("Code Generators"),
|
CATEGORY_CODE : _("Code Generators"),
|
||||||
CATEGORY_WEB : _("Web Page"),
|
CATEGORY_WEB : _("Web Pages"),
|
||||||
CATEGORY_VIEW : _("View"),
|
CATEGORY_VIEW : _("View"),
|
||||||
CATEGORY_BOOK : _("Books"),
|
CATEGORY_BOOK : _("Books"),
|
||||||
CATEGORY_GRAPHVIZ : _("Graphviz"),
|
CATEGORY_GRAPHVIZ : _("Graphs"),
|
||||||
}
|
}
|
||||||
|
|
||||||
book_categories = {
|
book_categories = {
|
||||||
|
@ -1390,8 +1390,9 @@ class ViewManager:
|
|||||||
lst.sort(by_menu_name)
|
lst.sort(by_menu_name)
|
||||||
for name in lst:
|
for name in lst:
|
||||||
new_key = name[3].replace(' ', '-')
|
new_key = name[3].replace(' ', '-')
|
||||||
|
menu_name = ("%s...") % name[2]
|
||||||
ofile.write('<menuitem action="%s"/>' % new_key)
|
ofile.write('<menuitem action="%s"/>' % new_key)
|
||||||
actions.append((new_key, None, name[2], None, None,
|
actions.append((new_key, None, menu_name, None, None,
|
||||||
func(name, self.state, self.uistate)))
|
func(name, self.state, self.uistate)))
|
||||||
ofile.write('</menu>')
|
ofile.write('</menu>')
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Reports/Text Reports/Ahnentafel Report..."""
|
"""Reports/Text Reports/Ahnentafel Report"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -340,9 +340,9 @@ register_report(
|
|||||||
report_class = AncestorReport,
|
report_class = AncestorReport,
|
||||||
options_class = AncestorOptions,
|
options_class = AncestorOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Ahnentafel Report..."),
|
translated_name = _("Ahnentafel Report"),
|
||||||
status=(_("Stable")),
|
status = _("Stable"),
|
||||||
description= _("Produces a textual ancestral report"),
|
description = _("Produces a textual ancestral report"),
|
||||||
author_name="Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email="don@gramps-project.org"
|
author_email = "don@gramps-project.org"
|
||||||
)
|
)
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Reports/Graphical Reports/Ancestor Tree..."""
|
"""Reports/Graphical Reports/Ancestor Tree"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -40,7 +40,7 @@ import BaseDoc
|
|||||||
from SubstKeywords import SubstKeywords
|
from SubstKeywords import SubstKeywords
|
||||||
from PluginUtils import register_report, \
|
from PluginUtils import register_report, \
|
||||||
NumberOption, BooleanOption, TextOption, PersonOption
|
NumberOption, BooleanOption, TextOption, PersonOption
|
||||||
from ReportBase import Report, ReportUtils, CATEGORY_DRAW, MenuReportOptions,\
|
from ReportBase import Report, ReportUtils, CATEGORY_DRAW, MenuReportOptions, \
|
||||||
MODE_GUI, MODE_BKI, MODE_CLI
|
MODE_GUI, MODE_BKI, MODE_CLI
|
||||||
from BasicUtils import name_displayer
|
from BasicUtils import name_displayer
|
||||||
pt2cm = ReportUtils.pt2cm
|
pt2cm = ReportUtils.pt2cm
|
||||||
@ -153,14 +153,14 @@ class GenChart:
|
|||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# AncestorChart
|
# AncestorTree
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
class AncestorChart(Report):
|
class AncestorTree(Report):
|
||||||
|
|
||||||
def __init__(self, database, options_class):
|
def __init__(self, database, options_class):
|
||||||
"""
|
"""
|
||||||
Create AncestorChart object that produces the report.
|
Create AncestorTree object that produces the report.
|
||||||
|
|
||||||
The arguments are:
|
The arguments are:
|
||||||
|
|
||||||
@ -441,10 +441,10 @@ class AncestorChart(Report):
|
|||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
#
|
# AncestorTreeOptions
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
class AncestorChartOptions(MenuReportOptions):
|
class AncestorTreeOptions(MenuReportOptions):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Defines options and provides handling interface.
|
Defines options and provides handling interface.
|
||||||
@ -455,35 +455,35 @@ class AncestorChartOptions(MenuReportOptions):
|
|||||||
|
|
||||||
def add_menu_options(self, menu):
|
def add_menu_options(self, menu):
|
||||||
|
|
||||||
category_name = _("Report Options")
|
category_name = _("Tree Options")
|
||||||
|
|
||||||
pid = PersonOption(_("Center Person"))
|
pid = PersonOption(_("Center Person"))
|
||||||
pid.set_help(_("The center person for the report"))
|
pid.set_help(_("The center person for the tree"))
|
||||||
menu.add_option(category_name,"pid",pid)
|
menu.add_option(category_name,"pid", pid)
|
||||||
|
|
||||||
max_gen = NumberOption(_("Generations"),10,1,15)
|
max_gen = NumberOption(_("Generations"), 10, 1, 15)
|
||||||
max_gen.set_help(_("The number of generations to include in the report"))
|
max_gen.set_help(_("The number of generations to include in the tree"))
|
||||||
menu.add_option(category_name,"maxgen",max_gen)
|
menu.add_option(category_name, "maxgen", max_gen)
|
||||||
|
|
||||||
disp = TextOption(_("Display Format"),
|
disp = TextOption(_("Display Format"),
|
||||||
["$n","%s $b" % _BORN,"%s $d" %_DIED] )
|
["$n","%s $b" % _BORN,"%s $d" %_DIED] )
|
||||||
disp.set_help(_("Display format for the outputbox."))
|
disp.set_help(_("Display format for the outputbox."))
|
||||||
menu.add_option(category_name,"dispf",disp)
|
menu.add_option(category_name, "dispf", disp)
|
||||||
|
|
||||||
scale = BooleanOption(_('Sc_ale to fit on a single page'),True)
|
scale = BooleanOption(_('Sc_ale to fit on a single page'), True)
|
||||||
scale.set_help(_("Whether to scale to fit on a single page."))
|
scale.set_help(_("Whether to scale to fit on a single page."))
|
||||||
menu.add_option(category_name,"singlep",scale)
|
menu.add_option(category_name, "singlep", scale)
|
||||||
|
|
||||||
blank = BooleanOption(_('Include Blank Pages'),True)
|
blank = BooleanOption(_('Include Blank Pages'), True)
|
||||||
blank.set_help(_("Whether to include pages that are blank."))
|
blank.set_help(_("Whether to include pages that are blank."))
|
||||||
menu.add_option(category_name,"incblank",blank)
|
menu.add_option(category_name, "incblank", blank)
|
||||||
|
|
||||||
compress = BooleanOption(_('Co_mpress chart'),True)
|
compress = BooleanOption(_('Co_mpress tree'), True)
|
||||||
compress.set_help(_("Whether to compress chart."))
|
compress.set_help(_("Whether to compress tree."))
|
||||||
menu.add_option(category_name,"compress",compress)
|
menu.add_option(category_name, "tree", compress)
|
||||||
|
|
||||||
def make_default_style(self,default_style):
|
def make_default_style(self,default_style):
|
||||||
"""Make the default output style for the Ancestor Chart report."""
|
"""Make the default output style for the Ancestor Tree."""
|
||||||
|
|
||||||
## Paragraph Styles:
|
## Paragraph Styles:
|
||||||
f = BaseDoc.FontStyle()
|
f = BaseDoc.FontStyle()
|
||||||
@ -528,10 +528,10 @@ class AncestorChartOptions(MenuReportOptions):
|
|||||||
register_report(
|
register_report(
|
||||||
name = 'ancestor_chart',
|
name = 'ancestor_chart',
|
||||||
category = CATEGORY_DRAW,
|
category = CATEGORY_DRAW,
|
||||||
report_class = AncestorChart,
|
report_class = AncestorTree,
|
||||||
options_class = AncestorChartOptions,
|
options_class = AncestorTreeOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Ancestor Tree..."),
|
translated_name = _("Ancestor Tree"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
@ -1259,9 +1259,9 @@ register_report(
|
|||||||
report_class = BookReportSelector,
|
report_class = BookReportSelector,
|
||||||
options_class = cl_report,
|
options_class = cl_report,
|
||||||
modes = MODE_GUI | MODE_CLI,
|
modes = MODE_GUI | MODE_CLI,
|
||||||
translated_name = _("Book Report..."),
|
translated_name = _("Book Report"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
description = _("Creates a book containing several reports."),
|
description = _("Produces a book containing several reports."),
|
||||||
author_name = "Alex Roitman",
|
author_name = "Alex Roitman",
|
||||||
author_email = "shura@gramps-project.org"
|
author_email = "shura@gramps-project.org"
|
||||||
)
|
)
|
||||||
|
@ -488,9 +488,9 @@ register_tool(
|
|||||||
tool_class = CalcToolManagedWindow,
|
tool_class = CalcToolManagedWindow,
|
||||||
options_class = CalcEstDateOptions,
|
options_class = CalcEstDateOptions,
|
||||||
modes = Tool.MODE_GUI,
|
modes = Tool.MODE_GUI,
|
||||||
translated_name = _("Calculate Estimated Dates..."),
|
translated_name = _("Calculate Estimated Dates"),
|
||||||
status = _("Beta"),
|
status = _("Beta"),
|
||||||
author_name = "Douglas S. Blank",
|
author_name = "Douglas S. Blank",
|
||||||
author_email = "dblank@cs.brynmawr.edu",
|
author_email = "dblank@cs.brynmawr.edu",
|
||||||
description=_("Calculates estimated dates for birth and death.")
|
description= _("Calculates estimated dates for birth and death.")
|
||||||
)
|
)
|
||||||
|
@ -934,7 +934,7 @@ register_report(
|
|||||||
report_class = Calendar,
|
report_class = Calendar,
|
||||||
options_class = CalendarOptions,
|
options_class = CalendarOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Calendar..."),
|
translated_name = _("Calendar"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Douglas S. Blank",
|
author_name = "Douglas S. Blank",
|
||||||
author_email = "dblank@cs.brynmawr.edu",
|
author_email = "dblank@cs.brynmawr.edu",
|
||||||
@ -947,7 +947,7 @@ register_report(
|
|||||||
report_class = CalendarReport,
|
report_class = CalendarReport,
|
||||||
options_class = CalendarReportOptions,
|
options_class = CalendarReportOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Birthday and Anniversary Report..."),
|
translated_name = _("Birthday and Anniversary Report"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Douglas S. Blank",
|
author_name = "Douglas S. Blank",
|
||||||
author_email = "dblank@cs.brynmawr.edu",
|
author_email = "dblank@cs.brynmawr.edu",
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Tools/Database Processing/Fix Capitalization of Family Names..."""
|
"""Tools/Database Processing/Fix Capitalization of Family Names"""
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -285,7 +285,7 @@ register_tool(
|
|||||||
tool_class = ChangeNames,
|
tool_class = ChangeNames,
|
||||||
options_class = ChangeNamesOptions,
|
options_class = ChangeNamesOptions,
|
||||||
modes = Tool.MODE_GUI,
|
modes = Tool.MODE_GUI,
|
||||||
translated_name = _("Fix Capitalization of Family Names..."),
|
translated_name = _("Fix Capitalization of Family Names"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Database Processing/Rename Event Types..."""
|
"""Database Processing/Rename Event Types"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -201,7 +201,7 @@ register_tool(
|
|||||||
tool_class = ChangeTypes,
|
tool_class = ChangeTypes,
|
||||||
options_class = ChangeTypesOptions,
|
options_class = ChangeTypesOptions,
|
||||||
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
||||||
translated_name = _("Rename Event Types..."),
|
translated_name = _("Rename Event Types"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
|
@ -1517,5 +1517,6 @@ register_tool(
|
|||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description=_("Checks the database for integrity problems, fixing the problems that it can")
|
description =_("Checks the database for integrity problems, fixing the "
|
||||||
|
"problems that it can")
|
||||||
)
|
)
|
||||||
|
@ -244,6 +244,6 @@ if __debug__:
|
|||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Martin Hawlisch",
|
author_name = "Martin Hawlisch",
|
||||||
author_email = "martin@hawlisch.de",
|
author_email = "martin@hawlisch.de",
|
||||||
description=_("Generates a DocBook XML file that contains "
|
description= _("Produces a DocBook XML file that contains "
|
||||||
"a parameter reference of Reports and Tools.")
|
"a parameter reference of Reports and Tools.")
|
||||||
)
|
)
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
"""
|
"""
|
||||||
Validate localized date parser and displayer.
|
Validate localized date parser and displayer.
|
||||||
|
|
||||||
Tools/Debug/Check Localized Date Parser and Displayer...
|
Tools/Debug/Check Localized Date Parser and Displayer
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
@ -232,7 +232,7 @@ register_tool(
|
|||||||
tool_class = DateParserDisplayTest,
|
tool_class = DateParserDisplayTest,
|
||||||
options_class = Tool.ToolOptions,
|
options_class = Tool.ToolOptions,
|
||||||
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
||||||
translated_name = _("Check Localized Date Displayer and Parser..."),
|
translated_name = _("Check Localized Date Displayer and Parser"),
|
||||||
status = _("Beta"),
|
status = _("Beta"),
|
||||||
author_name = "Martin Hawlisch",
|
author_name = "Martin Hawlisch",
|
||||||
author_email = "martin@hawlisch.de",
|
author_email = "martin@hawlisch.de",
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Reports/Text Reports/Descendant Report..."""
|
"""Reports/Text Reports/Descendant Report"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -251,9 +251,9 @@ register_report(
|
|||||||
report_class = DescendantReport,
|
report_class = DescendantReport,
|
||||||
options_class = DescendantOptions,
|
options_class = DescendantOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Descendant Report..."),
|
translated_name = _("Descendant Report"),
|
||||||
status=(_("Stable")),
|
status = _("Stable"),
|
||||||
description=_("Generates a list of descendants of the active person"),
|
description = _("Produces a list of descendants of the active person"),
|
||||||
author_name="Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email="don@gramps-project.org"
|
author_email = "don@gramps-project.org"
|
||||||
)
|
)
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Reports/Graphical Reports/Descendant Tree..."""
|
"""Reports/Graphical Reports/Descendant Tree"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -96,14 +96,14 @@ class GenChart:
|
|||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# DescendChart
|
# DescendTree
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
class DescendChart(Report):
|
class DescendTree(Report):
|
||||||
|
|
||||||
def __init__(self, database, options_class):
|
def __init__(self, database, options_class):
|
||||||
"""
|
"""
|
||||||
Create DescendChart object that produces the report.
|
Create DescendTree object that produces the report.
|
||||||
|
|
||||||
The arguments are:
|
The arguments are:
|
||||||
|
|
||||||
@ -394,10 +394,10 @@ class DescendChart(Report):
|
|||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
#
|
# DescendTreeOptions
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
class DescendChartOptions(MenuReportOptions):
|
class DescendTreeOptions(MenuReportOptions):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Defines options and provides handling interface.
|
Defines options and provides handling interface.
|
||||||
@ -410,35 +410,35 @@ class DescendChartOptions(MenuReportOptions):
|
|||||||
"""
|
"""
|
||||||
Add options to the menu for the descendant report.
|
Add options to the menu for the descendant report.
|
||||||
"""
|
"""
|
||||||
category_name = _("Report Options")
|
category_name = _("Tree Options")
|
||||||
|
|
||||||
pid = PersonOption(_("Center Person"))
|
pid = PersonOption(_("Center Person"))
|
||||||
pid.set_help(_("The center person for the report"))
|
pid.set_help(_("The center person for the tree"))
|
||||||
menu.add_option(category_name, "pid", pid)
|
menu.add_option(category_name, "pid", pid)
|
||||||
|
|
||||||
max_gen = NumberOption(_("Generations"),10,1,50)
|
max_gen = NumberOption(_("Generations"), 10, 1, 50)
|
||||||
max_gen.set_help(_("The number of generations to include in the report"))
|
max_gen.set_help(_("The number of generations to include in the tree"))
|
||||||
menu.add_option(category_name,"maxgen",max_gen)
|
menu.add_option(category_name, "maxgen", max_gen)
|
||||||
|
|
||||||
disp = TextOption( _("Display Format"),
|
disp = TextOption( _("Display Format"),
|
||||||
["$n","%s $b" % _BORN,"%s $d" %_DIED] )
|
["$n","%s $b" % _BORN,"%s $d" %_DIED] )
|
||||||
disp.set_help(_("Display format for the outputbox."))
|
disp.set_help(_("Display format for the outputbox."))
|
||||||
menu.add_option(category_name,"dispf",disp)
|
menu.add_option(category_name, "dispf", disp)
|
||||||
|
|
||||||
scale = BooleanOption(_('Sc_ale to fit on a single page'),True)
|
scale = BooleanOption(_('Sc_ale to fit on a single page'), True)
|
||||||
scale.set_help(_("Whether to scale to fit on a single page."))
|
scale.set_help(_("Whether to scale to fit on a single page."))
|
||||||
menu.add_option(category_name,"singlep",scale)
|
menu.add_option(category_name, "singlep", scale)
|
||||||
|
|
||||||
blank = BooleanOption(_('Include Blank Pages'),True)
|
blank = BooleanOption(_('Include Blank Pages'), True)
|
||||||
blank.set_help(_("Whether to include pages that are blank."))
|
blank.set_help(_("Whether to include pages that are blank."))
|
||||||
menu.add_option(category_name,"incblank",blank)
|
menu.add_option(category_name, "incblank", blank)
|
||||||
|
|
||||||
compress = BooleanOption(_('Co_mpress chart'),True)
|
compress = BooleanOption(_('Co_mpress tree'),True)
|
||||||
compress.set_help(_("Whether to compress chart."))
|
compress.set_help(_("Whether to compress tree."))
|
||||||
menu.add_option(category_name,"compress",compress)
|
menu.add_option(category_name, "compress", compress)
|
||||||
|
|
||||||
def make_default_style(self,default_style):
|
def make_default_style(self,default_style):
|
||||||
"""Make the default output style for the Ancestor Chart report."""
|
"""Make the default output style for the Ancestor Tree."""
|
||||||
## Paragraph Styles:
|
## Paragraph Styles:
|
||||||
f = BaseDoc.FontStyle()
|
f = BaseDoc.FontStyle()
|
||||||
f.set_size(9)
|
f.set_size(9)
|
||||||
@ -482,12 +482,12 @@ class DescendChartOptions(MenuReportOptions):
|
|||||||
register_report(
|
register_report(
|
||||||
name = 'descend_chart',
|
name = 'descend_chart',
|
||||||
category = CATEGORY_DRAW,
|
category = CATEGORY_DRAW,
|
||||||
report_class = DescendChart,
|
report_class = DescendTree,
|
||||||
options_class = DescendChartOptions,
|
options_class = DescendTreeOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Descendant Tree..."),
|
translated_name = _("Descendant Tree"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description = _("Produces a graphical descendant tree chart"),
|
description = _("Produces a graphical descendant tree"),
|
||||||
)
|
)
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Reports/Text Reports/Detailed Ancestral Report..."""
|
"""Reports/Text Reports/Detailed Ancestral Report"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -862,7 +862,7 @@ register_report(
|
|||||||
report_class = DetAncestorReport,
|
report_class = DetAncestorReport,
|
||||||
options_class = DetAncestorOptions,
|
options_class = DetAncestorOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Detailed Ancestral Report..."),
|
translated_name = _("Detailed Ancestral Report"),
|
||||||
status=(_("Beta")),
|
status=(_("Beta")),
|
||||||
description= _("Produces a detailed ancestral report"),
|
description= _("Produces a detailed ancestral report"),
|
||||||
author_name="Bruce DeGrasse",
|
author_name="Bruce DeGrasse",
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Reports/Text Reports/Detailed Descendant Report..."""
|
"""Reports/Text Reports/Detailed Descendant Report"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -827,9 +827,9 @@ register_report(
|
|||||||
report_class = DetDescendantReport,
|
report_class = DetDescendantReport,
|
||||||
options_class = DetDescendantOptions,
|
options_class = DetDescendantOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Detailed Descendant Report..."),
|
translated_name = _("Detailed Descendant Report"),
|
||||||
status=(_("Beta")),
|
status = _("Beta"),
|
||||||
description= _("Produces a detailed descendant report"),
|
description = _("Produces a detailed descendant report"),
|
||||||
author_name="Bruce DeGrasse",
|
author_name = "Bruce DeGrasse",
|
||||||
author_email="bdegrasse1@attbi.com"
|
author_email = "bdegrasse1@attbi.com"
|
||||||
)
|
)
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Reports/Text Reports/End of Line Report..."""
|
"""Reports/Text Reports/End of Line Report"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -313,9 +313,9 @@ register_report(
|
|||||||
report_class = EndOfLineReport,
|
report_class = EndOfLineReport,
|
||||||
options_class = EndOfLineOptions,
|
options_class = EndOfLineOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("End of Line Report..."),
|
translated_name = _("End of Line Report"),
|
||||||
status=(_("Stable")),
|
status = _("Stable"),
|
||||||
description= _("Produces a textual end of line report"),
|
description = _("Produces a textual end of line report"),
|
||||||
author_name="Brian G. Matherly",
|
author_name = "Brian G. Matherly",
|
||||||
author_email="brian@gramps-project.org"
|
author_email = "brian@gramps-project.org"
|
||||||
)
|
)
|
||||||
|
@ -125,9 +125,9 @@ if __debug__:
|
|||||||
tool_class = Eval,
|
tool_class = Eval,
|
||||||
options_class = EvalOptions,
|
options_class = EvalOptions,
|
||||||
modes = Tool.MODE_GUI,
|
modes = Tool.MODE_GUI,
|
||||||
translated_name = _("Python Evaluation Window..."),
|
translated_name = _("Python Evaluation Window"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description=_("Provides a window that can evaluate python code")
|
description = _("Provides a window that can evaluate python code")
|
||||||
)
|
)
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Tools/Analysis and Exploration/Compare Individual Events..."""
|
"""Tools/Analysis and Exploration/Compare Individual Events"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -452,11 +452,11 @@ register_tool(
|
|||||||
tool_class = EventComparison,
|
tool_class = EventComparison,
|
||||||
options_class = EventComparisonOptions,
|
options_class = EventComparisonOptions,
|
||||||
modes = Tool.MODE_GUI,
|
modes = Tool.MODE_GUI,
|
||||||
translated_name = _("Compare Individual Events..."),
|
translated_name = _("Compare Individual Events"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description=_("Aids in the analysis of data by allowing the "
|
description = _("Aids in the analysis of data by allowing the "
|
||||||
"development of custom filters that can be applied "
|
"development of custom filters that can be applied "
|
||||||
"to the database to find similar events")
|
"to the database to find similar events")
|
||||||
)
|
)
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Tools/Database Processing/Extract Place Data from a Place Title..."""
|
"""Tools/Database Processing/Extract Place Data from a Place Title"""
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -627,7 +627,7 @@ register_tool(
|
|||||||
tool_class = ExtractCity,
|
tool_class = ExtractCity,
|
||||||
options_class = ExtractCityOptions,
|
options_class = ExtractCityOptions,
|
||||||
modes = Tool.MODE_GUI,
|
modes = Tool.MODE_GUI,
|
||||||
translated_name = _("Extract Place Data from a Place Title..."),
|
translated_name = _("Extract Place Data from a Place Title"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Reports/Text Reports/Family Group Report..."""
|
"""Reports/Text Reports/Family Group Report"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -768,10 +768,10 @@ register_report(
|
|||||||
report_class = FamilyGroup,
|
report_class = FamilyGroup,
|
||||||
options_class = FamilyGroupOptions,
|
options_class = FamilyGroupOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Family Group Report..."),
|
translated_name = _("Family Group Report"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description=_("Creates a family group report, showing information "
|
description = _("Produces a family group report showing information "
|
||||||
"on a set of parents and their children."),
|
"on a set of parents and their children."),
|
||||||
)
|
)
|
||||||
|
@ -439,7 +439,7 @@ register_report(
|
|||||||
report_class = FanChart,
|
report_class = FanChart,
|
||||||
options_class = FanChartOptions,
|
options_class = FanChartOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Fan Chart..."),
|
translated_name = _("Fan Chart"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Tools/Database Processing/Find Possible Duplicate People..."""
|
"""Tools/Database Processing/Find Possible Duplicate People"""
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -693,10 +693,10 @@ register_tool(
|
|||||||
tool_class = Merge,
|
tool_class = Merge,
|
||||||
options_class = MergeOptions,
|
options_class = MergeOptions,
|
||||||
modes = Tool.MODE_GUI,
|
modes = Tool.MODE_GUI,
|
||||||
translated_name = _("Find Possible Duplicate People..."),
|
translated_name = _("Find Possible Duplicate People"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description=_("Searches the entire database, looking for "
|
description = _("Searches the entire database, looking for "
|
||||||
"individual entries that may represent the same person.")
|
"individual entries that may represent the same person.")
|
||||||
)
|
)
|
||||||
|
@ -205,7 +205,7 @@ class FamilyLinesOptions(MenuReportOptions):
|
|||||||
menu.add_option(category, 'FLincludeNumChildren', includeNumChildren)
|
menu.add_option(category, 'FLincludeNumChildren', includeNumChildren)
|
||||||
|
|
||||||
includeResearcher = BooleanOption( _('Include researcher and date'), True)
|
includeResearcher = BooleanOption( _('Include researcher and date'), True)
|
||||||
includeResearcher.set_help( _('Whether to include at the bottom the researcher''s name, e-mail, and the date the report was generated.'))
|
includeResearcher.set_help( _('Whether to include at the bottom the researcher''s name, e-mail, and the date the graph was generated.'))
|
||||||
menu.add_option(category, 'FLincludeResearcher', includeResearcher)
|
menu.add_option(category, 'FLincludeResearcher', includeResearcher)
|
||||||
|
|
||||||
includePrivate = BooleanOption( _('Include private records'), False)
|
includePrivate = BooleanOption( _('Include private records'), False)
|
||||||
@ -873,14 +873,14 @@ class FamilyLinesReport(Report):
|
|||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
register_report(
|
register_report(
|
||||||
name = 'familylines_graph',
|
name = 'familylines_graph',
|
||||||
translated_name = _("Family Lines Graph..."),
|
translated_name = _("Family Lines Graph"),
|
||||||
category = CATEGORY_GRAPHVIZ,
|
category = CATEGORY_GRAPHVIZ,
|
||||||
report_class = FamilyLinesReport, # must implement write_report(), called by report() in _ReportDialog.py
|
report_class = FamilyLinesReport,
|
||||||
options_class = FamilyLinesOptions, # must implement add_menu_options(), called by MenuOptions::__init__()
|
options_class = FamilyLinesOptions,
|
||||||
modes = MODE_GUI,
|
modes = MODE_GUI,
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Stephane Charette",
|
author_name = "Stephane Charette",
|
||||||
author_email = "stephanecharette@gmail.com",
|
author_email = "stephanecharette@gmail.com",
|
||||||
description =_("Generates family line graphs using GraphViz."),
|
description = _("Produces family line graphs using GraphViz"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
Generate an hourglass graph using the GraphViz generator.
|
Generate an hourglass graph using the GraphViz generator.
|
||||||
/Reports/GraphViz/Hourglass Graph...
|
/Reports/GraphViz/Hourglass Graph
|
||||||
"""
|
"""
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -43,7 +43,7 @@ import DateHandler
|
|||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# AncestorChart
|
# HourGlassReport
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
class HourGlassReport(Report):
|
class HourGlassReport(Report):
|
||||||
@ -172,20 +172,20 @@ class HourGlassOptions(MenuReportOptions):
|
|||||||
"""
|
"""
|
||||||
Create all the menu options for this report.
|
Create all the menu options for this report.
|
||||||
"""
|
"""
|
||||||
category_name = _("Report Options")
|
category_name = _("Options")
|
||||||
|
|
||||||
pid = PersonOption(_("Center Person"))
|
pid = PersonOption(_("Center Person"))
|
||||||
pid.set_help(_("The center person for the report"))
|
pid.set_help(_("The center person for the graph"))
|
||||||
menu.add_option(category_name, "pid", pid)
|
menu.add_option(category_name, "pid", pid)
|
||||||
|
|
||||||
max_gen = NumberOption(_('Max Descendant Generations'), 10, 1, 15)
|
max_gen = NumberOption(_('Max Descendant Generations'), 10, 1, 15)
|
||||||
max_gen.set_help(_("The number of generations of descendants to " \
|
max_gen.set_help(_("The number of generations of descendants to " \
|
||||||
"include in the report"))
|
"include in the graph"))
|
||||||
menu.add_option(category_name, "maxdescend", max_gen)
|
menu.add_option(category_name, "maxdescend", max_gen)
|
||||||
|
|
||||||
max_gen = NumberOption(_('Max Ancestor Generations'), 10, 1, 15)
|
max_gen = NumberOption(_('Max Ancestor Generations'), 10, 1, 15)
|
||||||
max_gen.set_help(_("The number of generations of ancestors to " \
|
max_gen.set_help(_("The number of generations of ancestors to " \
|
||||||
"include in the report"))
|
"include in the graph"))
|
||||||
menu.add_option(category_name, "maxascend", max_gen)
|
menu.add_option(category_name, "maxascend", max_gen)
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
@ -199,9 +199,9 @@ register_report(
|
|||||||
report_class = HourGlassReport,
|
report_class = HourGlassReport,
|
||||||
options_class = HourGlassOptions,
|
options_class = HourGlassOptions,
|
||||||
modes = MODE_GUI | MODE_CLI,
|
modes = MODE_GUI | MODE_CLI,
|
||||||
translated_name = _("Hourglass Graph..."),
|
translated_name = _("Hourglass Graph"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Brian G. Matherly",
|
author_name = "Brian G. Matherly",
|
||||||
author_email = "brian@gramps-project.org",
|
author_email = "brian@gramps-project.org",
|
||||||
description = _("Produces an hourglass graph")
|
description = _("Produces an hourglass graph using Graphviz")
|
||||||
)
|
)
|
||||||
|
@ -554,11 +554,11 @@ register_report(
|
|||||||
report_class = RelGraphReport,
|
report_class = RelGraphReport,
|
||||||
options_class = RelGraphOptions,
|
options_class = RelGraphOptions,
|
||||||
modes = MODE_GUI | MODE_CLI,
|
modes = MODE_GUI | MODE_CLI,
|
||||||
translated_name = _("Relationship Graph..."),
|
translated_name = _("Relationship Graph"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
description = _("Generates a relationship graphs using Graphviz."),
|
description = _("Produces relationship graphs using Graphviz"),
|
||||||
author_name ="Brian G. Matherly",
|
author_name = "Brian G. Matherly",
|
||||||
author_email ="brian@gramps-project.org"
|
author_email = "brian@gramps-project.org"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ from QuestionDialog import WarningDialog
|
|||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# IndivComplete
|
# IndivCompleteReport
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
class IndivCompleteReport(Report):
|
class IndivCompleteReport(Report):
|
||||||
@ -639,9 +639,9 @@ register_report(
|
|||||||
report_class = IndivCompleteReport,
|
report_class = IndivCompleteReport,
|
||||||
options_class = IndivCompleteOptions,
|
options_class = IndivCompleteOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Complete Individual Report..."),
|
translated_name = _("Complete Individual Report"),
|
||||||
status=(_("Stable")),
|
status = _("Stable"),
|
||||||
author_name="Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email="don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description=_("Produces a complete report on the selected people."),
|
description = _("Produces a complete report on the selected people"),
|
||||||
)
|
)
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Reports/Text Reports/Kinship Report..."""
|
"""Reports/Text Reports/Kinship Report"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -401,9 +401,9 @@ register_report(
|
|||||||
report_class = KinshipReport,
|
report_class = KinshipReport,
|
||||||
options_class = KinshipOptions,
|
options_class = KinshipOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Kinship Report..."),
|
translated_name = _("Kinship Report"),
|
||||||
status=(_("Stable")),
|
status = _("Stable"),
|
||||||
description= _("Produces a textual report of kinship for a given person"),
|
description = _("Produces a textual report of kinship for a given person"),
|
||||||
author_name="Brian G. Matherly",
|
author_name = "Brian G. Matherly",
|
||||||
author_email="brian@gramps-project.org"
|
author_email = "brian@gramps-project.org"
|
||||||
)
|
)
|
||||||
|
@ -9,7 +9,7 @@ pkgdata_PYTHON = \
|
|||||||
all_events.py\
|
all_events.py\
|
||||||
all_relations.py\
|
all_relations.py\
|
||||||
AgeOnDate.py\
|
AgeOnDate.py\
|
||||||
AncestorChart.py\
|
AncestorTree.py\
|
||||||
AncestorReport.py\
|
AncestorReport.py\
|
||||||
BookReport.py\
|
BookReport.py\
|
||||||
CalculateEstimatedDates.py\
|
CalculateEstimatedDates.py\
|
||||||
@ -23,7 +23,7 @@ pkgdata_PYTHON = \
|
|||||||
DateParserDisplayTest.py\
|
DateParserDisplayTest.py\
|
||||||
DefaultGramplets.py\
|
DefaultGramplets.py\
|
||||||
Desbrowser.py\
|
Desbrowser.py\
|
||||||
DescendChart.py\
|
DescendTree.py\
|
||||||
DescendReport.py\
|
DescendReport.py\
|
||||||
DetAncestralReport.py\
|
DetAncestralReport.py\
|
||||||
DetDescendantReport.py\
|
DetDescendantReport.py\
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Reports/Text Reports/Marker Report..."""
|
"""Reports/Text Reports/Marker Report"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -78,8 +78,8 @@ class MarkerReport(Report):
|
|||||||
|
|
||||||
self.doc.start_paragraph("MR-Title")
|
self.doc.start_paragraph("MR-Title")
|
||||||
title = _("Marker Report for %s Items") % markerstr
|
title = _("Marker Report for %s Items") % markerstr
|
||||||
mark = BaseDoc.IndexMark(title,BaseDoc.INDEX_TYPE_TOC,1)
|
mark = BaseDoc.IndexMark(title, BaseDoc.INDEX_TYPE_TOC, 1)
|
||||||
self.doc.write_text(title,mark)
|
self.doc.write_text(title, mark)
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
|
|
||||||
self.write_people()
|
self.write_people()
|
||||||
@ -92,15 +92,15 @@ class MarkerReport(Report):
|
|||||||
FilterClass = GenericFilterFactory('Person')
|
FilterClass = GenericFilterFactory('Person')
|
||||||
filter = FilterClass()
|
filter = FilterClass()
|
||||||
filter.add_rule(Rules.Person.HasMarkerOf([self.marker]))
|
filter.add_rule(Rules.Person.HasMarkerOf([self.marker]))
|
||||||
ind_list = filter.apply(self.database,plist)
|
ind_list = filter.apply(self.database, plist)
|
||||||
|
|
||||||
if not ind_list:
|
if not ind_list:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.doc.start_paragraph("MR-Heading")
|
self.doc.start_paragraph("MR-Heading")
|
||||||
header = _("People")
|
header = _("People")
|
||||||
mark = BaseDoc.IndexMark(header,BaseDoc.INDEX_TYPE_TOC,2)
|
mark = BaseDoc.IndexMark(header, BaseDoc.INDEX_TYPE_TOC, 2)
|
||||||
self.doc.write_text(header,mark)
|
self.doc.write_text(header, mark)
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
|
|
||||||
self.doc.start_table('PeopleTable','MR-Table')
|
self.doc.start_table('PeopleTable','MR-Table')
|
||||||
@ -148,7 +148,7 @@ class MarkerReport(Report):
|
|||||||
mark = ReportUtils.get_person_mark(self.database, person)
|
mark = ReportUtils.get_person_mark(self.database, person)
|
||||||
self.doc.start_cell('MR-TableCell')
|
self.doc.start_cell('MR-TableCell')
|
||||||
self.doc.start_paragraph('MR-Normal')
|
self.doc.start_paragraph('MR-Normal')
|
||||||
self.doc.write_text(name,mark)
|
self.doc.write_text(name, mark)
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
self.doc.end_cell()
|
self.doc.end_cell()
|
||||||
|
|
||||||
@ -179,15 +179,15 @@ class MarkerReport(Report):
|
|||||||
FilterClass = GenericFilterFactory('Family')
|
FilterClass = GenericFilterFactory('Family')
|
||||||
filter = FilterClass()
|
filter = FilterClass()
|
||||||
filter.add_rule(Rules.Family.HasMarkerOf([self.marker]))
|
filter.add_rule(Rules.Family.HasMarkerOf([self.marker]))
|
||||||
fam_list = filter.apply(self.database,flist)
|
fam_list = filter.apply(self.database, flist)
|
||||||
|
|
||||||
if not fam_list:
|
if not fam_list:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.doc.start_paragraph("MR-Heading")
|
self.doc.start_paragraph("MR-Heading")
|
||||||
header = _("Families")
|
header = _("Families")
|
||||||
mark = BaseDoc.IndexMark(header,BaseDoc.INDEX_TYPE_TOC,2)
|
mark = BaseDoc.IndexMark(header,BaseDoc.INDEX_TYPE_TOC, 2)
|
||||||
self.doc.write_text(header,mark)
|
self.doc.write_text(header, mark)
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
|
|
||||||
self.doc.start_table('FamilyTable','MR-Table')
|
self.doc.start_table('FamilyTable','MR-Table')
|
||||||
@ -237,7 +237,7 @@ class MarkerReport(Report):
|
|||||||
if father_handle:
|
if father_handle:
|
||||||
father = self.database.get_person_from_handle(father_handle)
|
father = self.database.get_person_from_handle(father_handle)
|
||||||
mark = ReportUtils.get_person_mark(self.database, father)
|
mark = ReportUtils.get_person_mark(self.database, father)
|
||||||
self.doc.write_text(name_displayer.display(father),mark)
|
self.doc.write_text(name_displayer.display(father), mark)
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
self.doc.end_cell()
|
self.doc.end_cell()
|
||||||
|
|
||||||
@ -247,7 +247,7 @@ class MarkerReport(Report):
|
|||||||
if mother_handle:
|
if mother_handle:
|
||||||
mother = self.database.get_person_from_handle(mother_handle)
|
mother = self.database.get_person_from_handle(mother_handle)
|
||||||
mark = ReportUtils.get_person_mark(self.database, mother)
|
mark = ReportUtils.get_person_mark(self.database, mother)
|
||||||
self.doc.write_text(name_displayer.display(mother),mark)
|
self.doc.write_text(name_displayer.display(mother), mark)
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
self.doc.end_cell()
|
self.doc.end_cell()
|
||||||
|
|
||||||
@ -269,15 +269,15 @@ class MarkerReport(Report):
|
|||||||
FilterClass = GenericFilterFactory('Event')
|
FilterClass = GenericFilterFactory('Event')
|
||||||
filter = FilterClass()
|
filter = FilterClass()
|
||||||
filter.add_rule(Rules.Event.HasMarkerOf([self.marker]))
|
filter.add_rule(Rules.Event.HasMarkerOf([self.marker]))
|
||||||
event_list = filter.apply(self.database,elist)
|
event_list = filter.apply(self.database, elist)
|
||||||
|
|
||||||
if not event_list:
|
if not event_list:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.doc.start_paragraph("MR-Heading")
|
self.doc.start_paragraph("MR-Heading")
|
||||||
header = _("Events")
|
header = _("Events")
|
||||||
mark = BaseDoc.IndexMark(header,BaseDoc.INDEX_TYPE_TOC,2)
|
mark = BaseDoc.IndexMark(header, BaseDoc.INDEX_TYPE_TOC, 2)
|
||||||
self.doc.write_text(header,mark)
|
self.doc.write_text(header, mark)
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
|
|
||||||
self.doc.start_table('EventTable','MR-Table')
|
self.doc.start_table('EventTable','MR-Table')
|
||||||
@ -332,7 +332,7 @@ class MarkerReport(Report):
|
|||||||
self.doc.start_cell('MR-TableCell')
|
self.doc.start_cell('MR-TableCell')
|
||||||
self.doc.start_paragraph('MR-Normal')
|
self.doc.start_paragraph('MR-Normal')
|
||||||
place_handle = event.get_place_handle()
|
place_handle = event.get_place_handle()
|
||||||
place = ReportUtils.place_name(self.database,place_handle)
|
place = ReportUtils.place_name(self.database, place_handle)
|
||||||
if place:
|
if place:
|
||||||
self.doc.write_text(place)
|
self.doc.write_text(place)
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
@ -362,8 +362,8 @@ class MarkerReport(Report):
|
|||||||
|
|
||||||
self.doc.start_paragraph("MR-Heading")
|
self.doc.start_paragraph("MR-Heading")
|
||||||
header = _("Notes")
|
header = _("Notes")
|
||||||
mark = BaseDoc.IndexMark(header,BaseDoc.INDEX_TYPE_TOC,2)
|
mark = BaseDoc.IndexMark(header, BaseDoc.INDEX_TYPE_TOC, 2)
|
||||||
self.doc.write_text(header,mark)
|
self.doc.write_text(header ,mark)
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
|
|
||||||
self.doc.start_table('NoteTable','MR-Table')
|
self.doc.start_table('NoteTable','MR-Table')
|
||||||
@ -382,7 +382,7 @@ class MarkerReport(Report):
|
|||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
self.doc.end_cell()
|
self.doc.end_cell()
|
||||||
|
|
||||||
self.doc.start_cell('MR-TableCell',2)
|
self.doc.start_cell('MR-TableCell', 2)
|
||||||
self.doc.start_paragraph('MR-Normal-Bold')
|
self.doc.start_paragraph('MR-Normal-Bold')
|
||||||
self.doc.write_text(_("Text"))
|
self.doc.write_text(_("Text"))
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
@ -408,7 +408,7 @@ class MarkerReport(Report):
|
|||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
self.doc.end_cell()
|
self.doc.end_cell()
|
||||||
|
|
||||||
self.doc.start_cell('MR-TableCell',2)
|
self.doc.start_cell('MR-TableCell', 2)
|
||||||
self.doc.start_paragraph('MR-Normal')
|
self.doc.start_paragraph('MR-Normal')
|
||||||
self.doc.write_text(note.get(True))
|
self.doc.write_text(note.get(True))
|
||||||
self.doc.end_paragraph()
|
self.doc.end_paragraph()
|
||||||
@ -464,50 +464,50 @@ class MarkerOptions(MenuReportOptions):
|
|||||||
p.set_font(f)
|
p.set_font(f)
|
||||||
p.set_alignment(BaseDoc.PARA_ALIGN_CENTER)
|
p.set_alignment(BaseDoc.PARA_ALIGN_CENTER)
|
||||||
p.set_description(_("The style used for the title of the page."))
|
p.set_description(_("The style used for the title of the page."))
|
||||||
default_style.add_paragraph_style("MR-Title",p)
|
default_style.add_paragraph_style("MR-Title", p)
|
||||||
|
|
||||||
font = BaseDoc.FontStyle()
|
font = BaseDoc.FontStyle()
|
||||||
font.set(face=BaseDoc.FONT_SANS_SERIF,size=14,italic=1)
|
font.set(face=BaseDoc.FONT_SANS_SERIF, size=14, italic=1)
|
||||||
para = BaseDoc.ParagraphStyle()
|
para = BaseDoc.ParagraphStyle()
|
||||||
para.set_font(font)
|
para.set_font(font)
|
||||||
para.set_header_level(2)
|
para.set_header_level(2)
|
||||||
para.set_top_margin(0.25)
|
para.set_top_margin(0.25)
|
||||||
para.set_bottom_margin(0.25)
|
para.set_bottom_margin(0.25)
|
||||||
para.set_description(_('The style used for the section headers.'))
|
para.set_description(_('The style used for the section headers.'))
|
||||||
default_style.add_paragraph_style("MR-Heading",para)
|
default_style.add_paragraph_style("MR-Heading", para)
|
||||||
|
|
||||||
font = BaseDoc.FontStyle()
|
font = BaseDoc.FontStyle()
|
||||||
font.set_size(12)
|
font.set_size(12)
|
||||||
p = BaseDoc.ParagraphStyle()
|
p = BaseDoc.ParagraphStyle()
|
||||||
p.set(first_indent=-0.75,lmargin=.75)
|
p.set(first_indent=-0.75, lmargin=.75)
|
||||||
p.set_font(font)
|
p.set_font(font)
|
||||||
p.set_top_margin(ReportUtils.pt2cm(3))
|
p.set_top_margin(ReportUtils.pt2cm(3))
|
||||||
p.set_bottom_margin(ReportUtils.pt2cm(3))
|
p.set_bottom_margin(ReportUtils.pt2cm(3))
|
||||||
p.set_description(_('The basic style used for the text display.'))
|
p.set_description(_('The basic style used for the text display.'))
|
||||||
default_style.add_paragraph_style("MR-Normal",p)
|
default_style.add_paragraph_style("MR-Normal", p)
|
||||||
|
|
||||||
font = BaseDoc.FontStyle()
|
font = BaseDoc.FontStyle()
|
||||||
font.set_size(12)
|
font.set_size(12)
|
||||||
font.set_bold(True)
|
font.set_bold(True)
|
||||||
p = BaseDoc.ParagraphStyle()
|
p = BaseDoc.ParagraphStyle()
|
||||||
p.set(first_indent=-0.75,lmargin=.75)
|
p.set(first_indent=-0.75, lmargin=.75)
|
||||||
p.set_font(font)
|
p.set_font(font)
|
||||||
p.set_top_margin(ReportUtils.pt2cm(3))
|
p.set_top_margin(ReportUtils.pt2cm(3))
|
||||||
p.set_bottom_margin(ReportUtils.pt2cm(3))
|
p.set_bottom_margin(ReportUtils.pt2cm(3))
|
||||||
p.set_description(_('The basic style used for table headings.'))
|
p.set_description(_('The basic style used for table headings.'))
|
||||||
default_style.add_paragraph_style("MR-Normal-Bold",p)
|
default_style.add_paragraph_style("MR-Normal-Bold", p)
|
||||||
|
|
||||||
#Table Styles
|
#Table Styles
|
||||||
cell = BaseDoc.TableCellStyle()
|
cell = BaseDoc.TableCellStyle()
|
||||||
default_style.add_cell_style('MR-TableCell',cell)
|
default_style.add_cell_style('MR-TableCell', cell)
|
||||||
|
|
||||||
table = BaseDoc.TableStyle()
|
table = BaseDoc.TableStyle()
|
||||||
table.set_width(100)
|
table.set_width(100)
|
||||||
table.set_columns(4)
|
table.set_columns(4)
|
||||||
table.set_column_width(0,10)
|
table.set_column_width(0, 10)
|
||||||
table.set_column_width(1,30)
|
table.set_column_width(1, 30)
|
||||||
table.set_column_width(2,30)
|
table.set_column_width(2, 30)
|
||||||
table.set_column_width(3,30)
|
table.set_column_width(3, 30)
|
||||||
default_style.add_table_style('MR-Table',table)
|
default_style.add_table_style('MR-Table',table)
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
@ -521,9 +521,9 @@ register_report(
|
|||||||
report_class = MarkerReport,
|
report_class = MarkerReport,
|
||||||
options_class = MarkerOptions,
|
options_class = MarkerOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Marker Report..."),
|
translated_name = _("Marker Report"),
|
||||||
status=(_("Stable")),
|
status = _("Stable"),
|
||||||
description=_("Generates a list of people with a specified marker"),
|
description = _("Produces a list of people with a specified marker"),
|
||||||
author_name="Brian G. Matherly",
|
author_name = "Brian G. Matherly",
|
||||||
author_email="brian@gramps-project.org"
|
author_email = "brian@gramps-project.org"
|
||||||
)
|
)
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Tools/Utilities/Media Manager..."""
|
"""Tools/Utilities/Media Manager"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -582,9 +582,9 @@ register_tool(
|
|||||||
tool_class = MediaMan,
|
tool_class = MediaMan,
|
||||||
options_class = MediaManOptions,
|
options_class = MediaManOptions,
|
||||||
modes = Tool.MODE_GUI,
|
modes = Tool.MODE_GUI,
|
||||||
translated_name = _("Media Manager..."),
|
translated_name = _("Media Manager"),
|
||||||
status=(_("Beta")),
|
status = _("Beta"),
|
||||||
author_name = "Alex Roitman",
|
author_name = "Alex Roitman",
|
||||||
author_email = "shura@gramps-project.org",
|
author_email = "shura@gramps-project.org",
|
||||||
description=_("Manages batch operations on media files")
|
description = _("Manages batch operations on media files")
|
||||||
)
|
)
|
||||||
|
@ -2988,10 +2988,10 @@ register_report(
|
|||||||
report_class = NavWebReport,
|
report_class = NavWebReport,
|
||||||
options_class = NavWebOptions,
|
options_class = NavWebOptions,
|
||||||
modes = MODE_GUI | MODE_CLI,
|
modes = MODE_GUI | MODE_CLI,
|
||||||
translated_name = _("Narrated Web Site..."),
|
translated_name = _("Narrated Web Site"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description = _("Generates web (HTML) pages for individuals, or a set of "
|
description = _("Produces web (HTML) pages for individuals, or a set of "
|
||||||
"individuals."),
|
"individuals"),
|
||||||
)
|
)
|
||||||
|
@ -403,6 +403,7 @@ register_report(
|
|||||||
modes = MODE_GUI,
|
modes = MODE_GUI,
|
||||||
translated_name = _("Not Related"),
|
translated_name = _("Not Related"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
description= _("Find people who are not in any way related to the selected person")
|
description = _("Find people who are not in any way related to the "
|
||||||
|
"selected person")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Tools/Database Processing/Extract Information from Names..."""
|
"""Tools/Database Processing/Extract Information from Names"""
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -356,11 +356,11 @@ register_tool(
|
|||||||
tool_class = PatchNames,
|
tool_class = PatchNames,
|
||||||
options_class = PatchNamesOptions,
|
options_class = PatchNamesOptions,
|
||||||
modes = Tool.MODE_GUI,
|
modes = Tool.MODE_GUI,
|
||||||
translated_name = _("Extract Information from Names..."),
|
translated_name = _("Extract Information from Names"),
|
||||||
status=(_("Stable")),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description=_("Searches the entire database and attempts to "
|
description = _("Searches the entire database and attempts to "
|
||||||
"extract titles, nicknames and surname prefixes "
|
"extract titles, nicknames and surname prefixes "
|
||||||
"that may be embedded in a person's given name field.")
|
"that may be embedded in a person's given name field.")
|
||||||
)
|
)
|
||||||
|
@ -116,8 +116,8 @@ register_tool(
|
|||||||
options_class = RebuildOptions,
|
options_class = RebuildOptions,
|
||||||
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
||||||
translated_name = _("Rebuild Secondary Indices"),
|
translated_name = _("Rebuild Secondary Indices"),
|
||||||
status=(_("Stable")),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description=_("Rebuilds secondary indices")
|
description = _("Rebuilds secondary indices")
|
||||||
)
|
)
|
||||||
|
@ -117,8 +117,8 @@ register_tool(
|
|||||||
options_class = RebuildRefMapOptions,
|
options_class = RebuildRefMapOptions,
|
||||||
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
||||||
translated_name = _("Rebuild Reference Maps"),
|
translated_name = _("Rebuild Reference Maps"),
|
||||||
status=(_("Stable")),
|
status= _("Stable"),
|
||||||
author_name = "Alex Roitman",
|
author_name = "Alex Roitman",
|
||||||
author_email = "shura@gramps-project.org",
|
author_email = "shura@gramps-project.org",
|
||||||
description=_("Rebuilds reference maps")
|
description = _("Rebuilds reference maps")
|
||||||
)
|
)
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Tools/Utilities/Relationship Calculator..."""
|
"""Tools/Utilities/Relationship Calculator"""
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -247,9 +247,9 @@ register_tool(
|
|||||||
tool_class = RelCalc,
|
tool_class = RelCalc,
|
||||||
options_class = RelCalcOptions,
|
options_class = RelCalcOptions,
|
||||||
modes = Tool.MODE_GUI,
|
modes = Tool.MODE_GUI,
|
||||||
translated_name = _("Relationship Calculator..."),
|
translated_name = _("Relationship Calculator"),
|
||||||
status=(_("Stable")),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description=_("Calculates the relationship between two people")
|
description = _("Calculates the relationship between two people")
|
||||||
)
|
)
|
||||||
|
@ -406,9 +406,9 @@ register_tool(
|
|||||||
tool_class = RemoveUnused,
|
tool_class = RemoveUnused,
|
||||||
options_class = CheckOptions,
|
options_class = CheckOptions,
|
||||||
modes = Tool.MODE_GUI,
|
modes = Tool.MODE_GUI,
|
||||||
translated_name = _("Remove Unused Objects..."),
|
translated_name = _("Remove Unused Objects"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description=_("Removes unused objects from the database")
|
description = _("Removes unused objects from the database")
|
||||||
)
|
)
|
||||||
|
@ -234,9 +234,9 @@ register_tool(
|
|||||||
options_class = ReorderIdsOptions,
|
options_class = ReorderIdsOptions,
|
||||||
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
||||||
translated_name = _("Reorder GRAMPS IDs"),
|
translated_name = _("Reorder GRAMPS IDs"),
|
||||||
status=(_("Stable")),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description=_("Reorders the gramps IDs "
|
description = _("Reorders the gramps IDs "
|
||||||
"according to gramps' default rules.")
|
"according to Gramps' default rules.")
|
||||||
)
|
)
|
||||||
|
@ -152,5 +152,5 @@ register_tool(
|
|||||||
status=(_("Stable")),
|
status=(_("Stable")),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description=_("Generates SoundEx codes for names")
|
description = _("Generates SoundEx codes for names")
|
||||||
)
|
)
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Reports/Graphical Reports/Statistics Report..."""
|
"""Reports/Graphical Reports/Statistics Report"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -899,11 +899,11 @@ register_report(
|
|||||||
report_class = StatisticsChart,
|
report_class = StatisticsChart,
|
||||||
options_class = StatisticsChartOptions,
|
options_class = StatisticsChartOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Statistics Report..."),
|
translated_name = _("Statistics Charts"),
|
||||||
status = (_("Stable")),
|
status = _("Stable"),
|
||||||
author_name="Eero Tamminen",
|
author_name = "Eero Tamminen",
|
||||||
author_email="",
|
author_email = "",
|
||||||
description= _("Generates statistical bar and pie charts of the people "
|
description = _("Produces statistical bar and pie charts of the people "
|
||||||
"in the database."),
|
"in the database"),
|
||||||
require_active=False,
|
require_active = False,
|
||||||
)
|
)
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""Tools/Debug/Generate Testcases for Persons and Families..."""
|
"""Tools/Debug/Generate Testcases for Persons and Families"""
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -1395,7 +1395,7 @@ if __debug__:
|
|||||||
tool_class = TestcaseGenerator,
|
tool_class = TestcaseGenerator,
|
||||||
options_class = TestcaseGeneratorOptions,
|
options_class = TestcaseGeneratorOptions,
|
||||||
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
||||||
translated_name = _("Generate Testcases for Persons and Families..."),
|
translated_name = _("Generate Testcases for Persons and Families"),
|
||||||
status = _("Beta"),
|
status = _("Beta"),
|
||||||
author_name = "Martin Hawlisch",
|
author_name = "Martin Hawlisch",
|
||||||
author_email = "martin@hawlisch.de",
|
author_email = "martin@hawlisch.de",
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Timeline Chart...
|
Timeline Chart
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
@ -440,9 +440,9 @@ register_report(
|
|||||||
report_class = TimeLine,
|
report_class = TimeLine,
|
||||||
options_class = TimeLineOptions,
|
options_class = TimeLineOptions,
|
||||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||||
translated_name = _("Timeline Chart..."),
|
translated_name = _("Timeline Chart"),
|
||||||
status = _("Stable"),
|
status = _("Stable"),
|
||||||
author_name = "Donald N. Allingham",
|
author_name = "Donald N. Allingham",
|
||||||
author_email = "don@gramps-project.org",
|
author_email = "don@gramps-project.org",
|
||||||
description = _("Generates a timeline graph.")
|
description = _("Produces a timeline chart.")
|
||||||
)
|
)
|
||||||
|
@ -1521,6 +1521,6 @@ register_tool(
|
|||||||
tool_class = Verify,
|
tool_class = Verify,
|
||||||
options_class = VerifyOptions,
|
options_class = VerifyOptions,
|
||||||
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
||||||
translated_name = _("Verify the Data..."),
|
translated_name = _("Verify the Data"),
|
||||||
description = _("Verifies the data against user-defined tests")
|
description = _("Verifies the data against user-defined tests")
|
||||||
)
|
)
|
||||||
|
@ -27,7 +27,7 @@ Web Calendar generator.
|
|||||||
Created 4/22/07 by Thom Sturgill based on Calendar.py (with patches)
|
Created 4/22/07 by Thom Sturgill based on Calendar.py (with patches)
|
||||||
by Doug Blank with input dialog based on NarrativeWeb.py by Don Allingham.
|
by Doug Blank with input dialog based on NarrativeWeb.py by Don Allingham.
|
||||||
|
|
||||||
Reports/Web Page/Web Calendar...
|
Reports/Web Page/Web Calendar
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
@ -1228,9 +1228,9 @@ register_report(
|
|||||||
report_class = WebCalReport,
|
report_class = WebCalReport,
|
||||||
options_class = WebCalOptions,
|
options_class = WebCalOptions,
|
||||||
modes = MODE_GUI,
|
modes = MODE_GUI,
|
||||||
translated_name = _("Web Calendar..."),
|
translated_name = _("Web Calendar"),
|
||||||
status = _("Beta"),
|
status = _("Beta"),
|
||||||
author_name="Thom Sturgill",
|
author_name = "Thom Sturgill",
|
||||||
author_email="thsturgill@yahoo.com",
|
author_email = "thsturgill@yahoo.com",
|
||||||
description=_("Generates web (HTML) calendars."),
|
description = _("Produces web (HTML) calendars."),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user