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>
|
||||
* src/ManagedWindow.py (ManagedWindow.present): fixed check for
|
||||
* src/ManagedWindow.py: (ManagedWindow.present): fixed check for
|
||||
attribute 'window' by using has_attribute()
|
||||
0001867: Patch containing fixes (for reporting and general)
|
||||
|
||||
|
@ -249,7 +249,7 @@ src/plugins/all_events.py
|
||||
src/plugins/all_relations.py
|
||||
src/plugins/siblings.py
|
||||
src/plugins/AgeOnDate.py
|
||||
src/plugins/AncestorChart.py
|
||||
src/plugins/AncestorTree.py
|
||||
src/plugins/AncestorReport.py
|
||||
src/plugins/BookReport.py
|
||||
src/plugins/CalculateEstimatedDates.py
|
||||
@ -263,7 +263,7 @@ src/plugins/CustomBookText.py
|
||||
src/plugins/DateParserDisplayTest.py
|
||||
src/plugins/DefaultGramplets.py
|
||||
src/plugins/Desbrowser.py
|
||||
src/plugins/DescendChart.py
|
||||
src/plugins/DescendTree.py
|
||||
src/plugins/DescendReport.py
|
||||
src/plugins/DetAncestralReport.py
|
||||
src/plugins/DetDescendantReport.py
|
||||
|
@ -53,10 +53,10 @@ standalone_categories = {
|
||||
CATEGORY_TEXT : _("Text Reports"),
|
||||
CATEGORY_DRAW : _("Graphical Reports"),
|
||||
CATEGORY_CODE : _("Code Generators"),
|
||||
CATEGORY_WEB : _("Web Page"),
|
||||
CATEGORY_WEB : _("Web Pages"),
|
||||
CATEGORY_VIEW : _("View"),
|
||||
CATEGORY_BOOK : _("Books"),
|
||||
CATEGORY_GRAPHVIZ : _("Graphviz"),
|
||||
CATEGORY_GRAPHVIZ : _("Graphs"),
|
||||
}
|
||||
|
||||
book_categories = {
|
||||
|
@ -1390,8 +1390,9 @@ class ViewManager:
|
||||
lst.sort(by_menu_name)
|
||||
for name in lst:
|
||||
new_key = name[3].replace(' ', '-')
|
||||
menu_name = ("%s...") % name[2]
|
||||
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)))
|
||||
ofile.write('</menu>')
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Reports/Text Reports/Ahnentafel Report..."""
|
||||
"""Reports/Text Reports/Ahnentafel Report"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -340,9 +340,9 @@ register_report(
|
||||
report_class = AncestorReport,
|
||||
options_class = AncestorOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Ahnentafel Report..."),
|
||||
status=(_("Stable")),
|
||||
description= _("Produces a textual ancestral report"),
|
||||
author_name="Donald N. Allingham",
|
||||
author_email="don@gramps-project.org"
|
||||
translated_name = _("Ahnentafel Report"),
|
||||
status = _("Stable"),
|
||||
description = _("Produces a textual ancestral report"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org"
|
||||
)
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Reports/Graphical Reports/Ancestor Tree..."""
|
||||
"""Reports/Graphical Reports/Ancestor Tree"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -40,7 +40,7 @@ import BaseDoc
|
||||
from SubstKeywords import SubstKeywords
|
||||
from PluginUtils import register_report, \
|
||||
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
|
||||
from BasicUtils import name_displayer
|
||||
pt2cm = ReportUtils.pt2cm
|
||||
@ -153,14 +153,14 @@ class GenChart:
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# AncestorChart
|
||||
# AncestorTree
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
class AncestorChart(Report):
|
||||
class AncestorTree(Report):
|
||||
|
||||
def __init__(self, database, options_class):
|
||||
"""
|
||||
Create AncestorChart object that produces the report.
|
||||
Create AncestorTree object that produces the report.
|
||||
|
||||
The arguments are:
|
||||
|
||||
@ -441,10 +441,10 @@ class AncestorChart(Report):
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
# AncestorTreeOptions
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
class AncestorChartOptions(MenuReportOptions):
|
||||
class AncestorTreeOptions(MenuReportOptions):
|
||||
|
||||
"""
|
||||
Defines options and provides handling interface.
|
||||
@ -455,35 +455,35 @@ class AncestorChartOptions(MenuReportOptions):
|
||||
|
||||
def add_menu_options(self, menu):
|
||||
|
||||
category_name = _("Report Options")
|
||||
category_name = _("Tree Options")
|
||||
|
||||
pid = PersonOption(_("Center Person"))
|
||||
pid.set_help(_("The center person for the report"))
|
||||
menu.add_option(category_name,"pid",pid)
|
||||
pid.set_help(_("The center person for the tree"))
|
||||
menu.add_option(category_name,"pid", pid)
|
||||
|
||||
max_gen = NumberOption(_("Generations"),10,1,15)
|
||||
max_gen.set_help(_("The number of generations to include in the report"))
|
||||
menu.add_option(category_name,"maxgen",max_gen)
|
||||
max_gen = NumberOption(_("Generations"), 10, 1, 15)
|
||||
max_gen.set_help(_("The number of generations to include in the tree"))
|
||||
menu.add_option(category_name, "maxgen", max_gen)
|
||||
|
||||
disp = TextOption(_("Display Format"),
|
||||
["$n","%s $b" % _BORN,"%s $d" %_DIED] )
|
||||
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."))
|
||||
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."))
|
||||
menu.add_option(category_name,"incblank",blank)
|
||||
menu.add_option(category_name, "incblank", blank)
|
||||
|
||||
compress = BooleanOption(_('Co_mpress chart'),True)
|
||||
compress.set_help(_("Whether to compress chart."))
|
||||
menu.add_option(category_name,"compress",compress)
|
||||
compress = BooleanOption(_('Co_mpress tree'), True)
|
||||
compress.set_help(_("Whether to compress tree."))
|
||||
menu.add_option(category_name, "tree", compress)
|
||||
|
||||
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:
|
||||
f = BaseDoc.FontStyle()
|
||||
@ -528,10 +528,10 @@ class AncestorChartOptions(MenuReportOptions):
|
||||
register_report(
|
||||
name = 'ancestor_chart',
|
||||
category = CATEGORY_DRAW,
|
||||
report_class = AncestorChart,
|
||||
options_class = AncestorChartOptions,
|
||||
report_class = AncestorTree,
|
||||
options_class = AncestorTreeOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Ancestor Tree..."),
|
||||
translated_name = _("Ancestor Tree"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
@ -1259,9 +1259,9 @@ register_report(
|
||||
report_class = BookReportSelector,
|
||||
options_class = cl_report,
|
||||
modes = MODE_GUI | MODE_CLI,
|
||||
translated_name = _("Book Report..."),
|
||||
translated_name = _("Book Report"),
|
||||
status = _("Stable"),
|
||||
description = _("Creates a book containing several reports."),
|
||||
description = _("Produces a book containing several reports."),
|
||||
author_name = "Alex Roitman",
|
||||
author_email = "shura@gramps-project.org"
|
||||
)
|
||||
|
@ -488,9 +488,9 @@ register_tool(
|
||||
tool_class = CalcToolManagedWindow,
|
||||
options_class = CalcEstDateOptions,
|
||||
modes = Tool.MODE_GUI,
|
||||
translated_name = _("Calculate Estimated Dates..."),
|
||||
translated_name = _("Calculate Estimated Dates"),
|
||||
status = _("Beta"),
|
||||
author_name = "Douglas S. Blank",
|
||||
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,
|
||||
options_class = CalendarOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Calendar..."),
|
||||
translated_name = _("Calendar"),
|
||||
status = _("Stable"),
|
||||
author_name = "Douglas S. Blank",
|
||||
author_email = "dblank@cs.brynmawr.edu",
|
||||
@ -947,7 +947,7 @@ register_report(
|
||||
report_class = CalendarReport,
|
||||
options_class = CalendarReportOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Birthday and Anniversary Report..."),
|
||||
translated_name = _("Birthday and Anniversary Report"),
|
||||
status = _("Stable"),
|
||||
author_name = "Douglas S. Blank",
|
||||
author_email = "dblank@cs.brynmawr.edu",
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
# $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,
|
||||
options_class = ChangeNamesOptions,
|
||||
modes = Tool.MODE_GUI,
|
||||
translated_name = _("Fix Capitalization of Family Names..."),
|
||||
translated_name = _("Fix Capitalization of Family Names"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Database Processing/Rename Event Types..."""
|
||||
"""Database Processing/Rename Event Types"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -201,7 +201,7 @@ register_tool(
|
||||
tool_class = ChangeTypes,
|
||||
options_class = ChangeTypesOptions,
|
||||
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
||||
translated_name = _("Rename Event Types..."),
|
||||
translated_name = _("Rename Event Types"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
|
@ -1517,5 +1517,6 @@ register_tool(
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
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"),
|
||||
author_name = "Martin Hawlisch",
|
||||
author_email = "martin@hawlisch.de",
|
||||
description=_("Generates a DocBook XML file that contains "
|
||||
"a parameter reference of Reports and Tools.")
|
||||
description= _("Produces a DocBook XML file that contains "
|
||||
"a parameter reference of Reports and Tools.")
|
||||
)
|
||||
|
@ -24,7 +24,7 @@
|
||||
"""
|
||||
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,
|
||||
options_class = Tool.ToolOptions,
|
||||
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"),
|
||||
author_name = "Martin Hawlisch",
|
||||
author_email = "martin@hawlisch.de",
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Reports/Text Reports/Descendant Report..."""
|
||||
"""Reports/Text Reports/Descendant Report"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -251,9 +251,9 @@ register_report(
|
||||
report_class = DescendantReport,
|
||||
options_class = DescendantOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Descendant Report..."),
|
||||
status=(_("Stable")),
|
||||
description=_("Generates a list of descendants of the active person"),
|
||||
author_name="Donald N. Allingham",
|
||||
author_email="don@gramps-project.org"
|
||||
translated_name = _("Descendant Report"),
|
||||
status = _("Stable"),
|
||||
description = _("Produces a list of descendants of the active person"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org"
|
||||
)
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# $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):
|
||||
"""
|
||||
Create DescendChart object that produces the report.
|
||||
Create DescendTree object that produces the report.
|
||||
|
||||
The arguments are:
|
||||
|
||||
@ -394,10 +394,10 @@ class DescendChart(Report):
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
#
|
||||
# DescendTreeOptions
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
class DescendChartOptions(MenuReportOptions):
|
||||
class DescendTreeOptions(MenuReportOptions):
|
||||
|
||||
"""
|
||||
Defines options and provides handling interface.
|
||||
@ -410,35 +410,35 @@ class DescendChartOptions(MenuReportOptions):
|
||||
"""
|
||||
Add options to the menu for the descendant report.
|
||||
"""
|
||||
category_name = _("Report Options")
|
||||
category_name = _("Tree Options")
|
||||
|
||||
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)
|
||||
|
||||
max_gen = NumberOption(_("Generations"),10,1,50)
|
||||
max_gen.set_help(_("The number of generations to include in the report"))
|
||||
menu.add_option(category_name,"maxgen",max_gen)
|
||||
max_gen = NumberOption(_("Generations"), 10, 1, 50)
|
||||
max_gen.set_help(_("The number of generations to include in the tree"))
|
||||
menu.add_option(category_name, "maxgen", max_gen)
|
||||
|
||||
disp = TextOption( _("Display Format"),
|
||||
["$n","%s $b" % _BORN,"%s $d" %_DIED] )
|
||||
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."))
|
||||
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."))
|
||||
menu.add_option(category_name,"incblank",blank)
|
||||
menu.add_option(category_name, "incblank", blank)
|
||||
|
||||
compress = BooleanOption(_('Co_mpress chart'),True)
|
||||
compress.set_help(_("Whether to compress chart."))
|
||||
menu.add_option(category_name,"compress",compress)
|
||||
compress = BooleanOption(_('Co_mpress tree'),True)
|
||||
compress.set_help(_("Whether to compress tree."))
|
||||
menu.add_option(category_name, "compress", compress)
|
||||
|
||||
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:
|
||||
f = BaseDoc.FontStyle()
|
||||
f.set_size(9)
|
||||
@ -482,12 +482,12 @@ class DescendChartOptions(MenuReportOptions):
|
||||
register_report(
|
||||
name = 'descend_chart',
|
||||
category = CATEGORY_DRAW,
|
||||
report_class = DescendChart,
|
||||
options_class = DescendChartOptions,
|
||||
report_class = DescendTree,
|
||||
options_class = DescendTreeOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Descendant Tree..."),
|
||||
translated_name = _("Descendant Tree"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Produces a graphical descendant tree chart"),
|
||||
description = _("Produces a graphical descendant tree"),
|
||||
)
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
# Copyright (C) 2000-2002 Bruce J. DeGrasse
|
||||
# Copyright (C) 2000-2007 Donald N. Allingham
|
||||
# Copyright (C) 2007-2008 Brian G. Matherly
|
||||
# Copyright (C) 2007-2008 Brian G. Matherly
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -22,7 +22,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Reports/Text Reports/Detailed Ancestral Report..."""
|
||||
"""Reports/Text Reports/Detailed Ancestral Report"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -862,7 +862,7 @@ register_report(
|
||||
report_class = DetAncestorReport,
|
||||
options_class = DetAncestorOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Detailed Ancestral Report..."),
|
||||
translated_name = _("Detailed Ancestral Report"),
|
||||
status=(_("Beta")),
|
||||
description= _("Produces a detailed ancestral report"),
|
||||
author_name="Bruce DeGrasse",
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Reports/Text Reports/Detailed Descendant Report..."""
|
||||
"""Reports/Text Reports/Detailed Descendant Report"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -827,9 +827,9 @@ register_report(
|
||||
report_class = DetDescendantReport,
|
||||
options_class = DetDescendantOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Detailed Descendant Report..."),
|
||||
status=(_("Beta")),
|
||||
description= _("Produces a detailed descendant report"),
|
||||
author_name="Bruce DeGrasse",
|
||||
author_email="bdegrasse1@attbi.com"
|
||||
translated_name = _("Detailed Descendant Report"),
|
||||
status = _("Beta"),
|
||||
description = _("Produces a detailed descendant report"),
|
||||
author_name = "Bruce DeGrasse",
|
||||
author_email = "bdegrasse1@attbi.com"
|
||||
)
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Reports/Text Reports/End of Line Report..."""
|
||||
"""Reports/Text Reports/End of Line Report"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -313,9 +313,9 @@ register_report(
|
||||
report_class = EndOfLineReport,
|
||||
options_class = EndOfLineOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("End of Line Report..."),
|
||||
status=(_("Stable")),
|
||||
description= _("Produces a textual end of line report"),
|
||||
author_name="Brian G. Matherly",
|
||||
author_email="brian@gramps-project.org"
|
||||
translated_name = _("End of Line Report"),
|
||||
status = _("Stable"),
|
||||
description = _("Produces a textual end of line report"),
|
||||
author_name = "Brian G. Matherly",
|
||||
author_email = "brian@gramps-project.org"
|
||||
)
|
||||
|
@ -125,9 +125,9 @@ if __debug__:
|
||||
tool_class = Eval,
|
||||
options_class = EvalOptions,
|
||||
modes = Tool.MODE_GUI,
|
||||
translated_name = _("Python Evaluation Window..."),
|
||||
translated_name = _("Python Evaluation Window"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
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$
|
||||
|
||||
"""Tools/Analysis and Exploration/Compare Individual Events..."""
|
||||
"""Tools/Analysis and Exploration/Compare Individual Events"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -452,11 +452,11 @@ register_tool(
|
||||
tool_class = EventComparison,
|
||||
options_class = EventComparisonOptions,
|
||||
modes = Tool.MODE_GUI,
|
||||
translated_name = _("Compare Individual Events..."),
|
||||
translated_name = _("Compare Individual Events"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description=_("Aids in the analysis of data by allowing the "
|
||||
"development of custom filters that can be applied "
|
||||
"to the database to find similar events")
|
||||
description = _("Aids in the analysis of data by allowing the "
|
||||
"development of custom filters that can be applied "
|
||||
"to the database to find similar events")
|
||||
)
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# $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,
|
||||
options_class = ExtractCityOptions,
|
||||
modes = Tool.MODE_GUI,
|
||||
translated_name = _("Extract Place Data from a Place Title..."),
|
||||
translated_name = _("Extract Place Data from a Place Title"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Reports/Text Reports/Family Group Report..."""
|
||||
"""Reports/Text Reports/Family Group Report"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -768,10 +768,10 @@ register_report(
|
||||
report_class = FamilyGroup,
|
||||
options_class = FamilyGroupOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Family Group Report..."),
|
||||
translated_name = _("Family Group Report"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description=_("Creates a family group report, showing information "
|
||||
"on a set of parents and their children."),
|
||||
description = _("Produces a family group report showing information "
|
||||
"on a set of parents and their children."),
|
||||
)
|
||||
|
@ -439,7 +439,7 @@ register_report(
|
||||
report_class = FanChart,
|
||||
options_class = FanChartOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Fan Chart..."),
|
||||
translated_name = _("Fan Chart"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Tools/Database Processing/Find Possible Duplicate People..."""
|
||||
"""Tools/Database Processing/Find Possible Duplicate People"""
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -693,10 +693,10 @@ register_tool(
|
||||
tool_class = Merge,
|
||||
options_class = MergeOptions,
|
||||
modes = Tool.MODE_GUI,
|
||||
translated_name = _("Find Possible Duplicate People..."),
|
||||
translated_name = _("Find Possible Duplicate People"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description=_("Searches the entire database, looking for "
|
||||
"individual entries that may represent the same person.")
|
||||
description = _("Searches the entire database, looking for "
|
||||
"individual entries that may represent the same person.")
|
||||
)
|
||||
|
@ -205,7 +205,7 @@ class FamilyLinesOptions(MenuReportOptions):
|
||||
menu.add_option(category, 'FLincludeNumChildren', includeNumChildren)
|
||||
|
||||
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)
|
||||
|
||||
includePrivate = BooleanOption( _('Include private records'), False)
|
||||
@ -873,14 +873,14 @@ class FamilyLinesReport(Report):
|
||||
#------------------------------------------------------------------------
|
||||
register_report(
|
||||
name = 'familylines_graph',
|
||||
translated_name = _("Family Lines Graph..."),
|
||||
translated_name = _("Family Lines Graph"),
|
||||
category = CATEGORY_GRAPHVIZ,
|
||||
report_class = FamilyLinesReport, # must implement write_report(), called by report() in _ReportDialog.py
|
||||
options_class = FamilyLinesOptions, # must implement add_menu_options(), called by MenuOptions::__init__()
|
||||
report_class = FamilyLinesReport,
|
||||
options_class = FamilyLinesOptions,
|
||||
modes = MODE_GUI,
|
||||
status = _("Stable"),
|
||||
author_name = "Stephane Charette",
|
||||
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.
|
||||
/Reports/GraphViz/Hourglass Graph...
|
||||
/Reports/GraphViz/Hourglass Graph
|
||||
"""
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -43,7 +43,7 @@ import DateHandler
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# AncestorChart
|
||||
# HourGlassReport
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
class HourGlassReport(Report):
|
||||
@ -172,20 +172,20 @@ class HourGlassOptions(MenuReportOptions):
|
||||
"""
|
||||
Create all the menu options for this report.
|
||||
"""
|
||||
category_name = _("Report Options")
|
||||
category_name = _("Options")
|
||||
|
||||
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)
|
||||
|
||||
max_gen = NumberOption(_('Max Descendant Generations'), 10, 1, 15)
|
||||
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)
|
||||
|
||||
max_gen = NumberOption(_('Max Ancestor Generations'), 10, 1, 15)
|
||||
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)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
@ -199,9 +199,9 @@ register_report(
|
||||
report_class = HourGlassReport,
|
||||
options_class = HourGlassOptions,
|
||||
modes = MODE_GUI | MODE_CLI,
|
||||
translated_name = _("Hourglass Graph..."),
|
||||
translated_name = _("Hourglass Graph"),
|
||||
status = _("Stable"),
|
||||
author_name = "Brian G. Matherly",
|
||||
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,
|
||||
options_class = RelGraphOptions,
|
||||
modes = MODE_GUI | MODE_CLI,
|
||||
translated_name = _("Relationship Graph..."),
|
||||
translated_name = _("Relationship Graph"),
|
||||
status = _("Stable"),
|
||||
description = _("Generates a relationship graphs using Graphviz."),
|
||||
author_name ="Brian G. Matherly",
|
||||
author_email ="brian@gramps-project.org"
|
||||
description = _("Produces relationship graphs using Graphviz"),
|
||||
author_name = "Brian G. Matherly",
|
||||
author_email = "brian@gramps-project.org"
|
||||
)
|
||||
|
||||
|
||||
|
@ -48,7 +48,7 @@ from QuestionDialog import WarningDialog
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# IndivComplete
|
||||
# IndivCompleteReport
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
class IndivCompleteReport(Report):
|
||||
@ -639,9 +639,9 @@ register_report(
|
||||
report_class = IndivCompleteReport,
|
||||
options_class = IndivCompleteOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Complete Individual Report..."),
|
||||
status=(_("Stable")),
|
||||
author_name="Donald N. Allingham",
|
||||
author_email="don@gramps-project.org",
|
||||
description=_("Produces a complete report on the selected people."),
|
||||
translated_name = _("Complete Individual Report"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Produces a complete report on the selected people"),
|
||||
)
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Reports/Text Reports/Kinship Report..."""
|
||||
"""Reports/Text Reports/Kinship Report"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -401,9 +401,9 @@ register_report(
|
||||
report_class = KinshipReport,
|
||||
options_class = KinshipOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Kinship Report..."),
|
||||
status=(_("Stable")),
|
||||
description= _("Produces a textual report of kinship for a given person"),
|
||||
author_name="Brian G. Matherly",
|
||||
author_email="brian@gramps-project.org"
|
||||
translated_name = _("Kinship Report"),
|
||||
status = _("Stable"),
|
||||
description = _("Produces a textual report of kinship for a given person"),
|
||||
author_name = "Brian G. Matherly",
|
||||
author_email = "brian@gramps-project.org"
|
||||
)
|
||||
|
@ -9,7 +9,7 @@ pkgdata_PYTHON = \
|
||||
all_events.py\
|
||||
all_relations.py\
|
||||
AgeOnDate.py\
|
||||
AncestorChart.py\
|
||||
AncestorTree.py\
|
||||
AncestorReport.py\
|
||||
BookReport.py\
|
||||
CalculateEstimatedDates.py\
|
||||
@ -23,7 +23,7 @@ pkgdata_PYTHON = \
|
||||
DateParserDisplayTest.py\
|
||||
DefaultGramplets.py\
|
||||
Desbrowser.py\
|
||||
DescendChart.py\
|
||||
DescendTree.py\
|
||||
DescendReport.py\
|
||||
DetAncestralReport.py\
|
||||
DetDescendantReport.py\
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Reports/Text Reports/Marker Report..."""
|
||||
"""Reports/Text Reports/Marker Report"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -78,8 +78,8 @@ class MarkerReport(Report):
|
||||
|
||||
self.doc.start_paragraph("MR-Title")
|
||||
title = _("Marker Report for %s Items") % markerstr
|
||||
mark = BaseDoc.IndexMark(title,BaseDoc.INDEX_TYPE_TOC,1)
|
||||
self.doc.write_text(title,mark)
|
||||
mark = BaseDoc.IndexMark(title, BaseDoc.INDEX_TYPE_TOC, 1)
|
||||
self.doc.write_text(title, mark)
|
||||
self.doc.end_paragraph()
|
||||
|
||||
self.write_people()
|
||||
@ -92,15 +92,15 @@ class MarkerReport(Report):
|
||||
FilterClass = GenericFilterFactory('Person')
|
||||
filter = FilterClass()
|
||||
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:
|
||||
return
|
||||
|
||||
self.doc.start_paragraph("MR-Heading")
|
||||
header = _("People")
|
||||
mark = BaseDoc.IndexMark(header,BaseDoc.INDEX_TYPE_TOC,2)
|
||||
self.doc.write_text(header,mark)
|
||||
mark = BaseDoc.IndexMark(header, BaseDoc.INDEX_TYPE_TOC, 2)
|
||||
self.doc.write_text(header, mark)
|
||||
self.doc.end_paragraph()
|
||||
|
||||
self.doc.start_table('PeopleTable','MR-Table')
|
||||
@ -148,7 +148,7 @@ class MarkerReport(Report):
|
||||
mark = ReportUtils.get_person_mark(self.database, person)
|
||||
self.doc.start_cell('MR-TableCell')
|
||||
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_cell()
|
||||
|
||||
@ -179,15 +179,15 @@ class MarkerReport(Report):
|
||||
FilterClass = GenericFilterFactory('Family')
|
||||
filter = FilterClass()
|
||||
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:
|
||||
return
|
||||
|
||||
self.doc.start_paragraph("MR-Heading")
|
||||
header = _("Families")
|
||||
mark = BaseDoc.IndexMark(header,BaseDoc.INDEX_TYPE_TOC,2)
|
||||
self.doc.write_text(header,mark)
|
||||
mark = BaseDoc.IndexMark(header,BaseDoc.INDEX_TYPE_TOC, 2)
|
||||
self.doc.write_text(header, mark)
|
||||
self.doc.end_paragraph()
|
||||
|
||||
self.doc.start_table('FamilyTable','MR-Table')
|
||||
@ -237,7 +237,7 @@ class MarkerReport(Report):
|
||||
if father_handle:
|
||||
father = self.database.get_person_from_handle(father_handle)
|
||||
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_cell()
|
||||
|
||||
@ -247,7 +247,7 @@ class MarkerReport(Report):
|
||||
if mother_handle:
|
||||
mother = self.database.get_person_from_handle(mother_handle)
|
||||
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_cell()
|
||||
|
||||
@ -269,15 +269,15 @@ class MarkerReport(Report):
|
||||
FilterClass = GenericFilterFactory('Event')
|
||||
filter = FilterClass()
|
||||
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:
|
||||
return
|
||||
|
||||
self.doc.start_paragraph("MR-Heading")
|
||||
header = _("Events")
|
||||
mark = BaseDoc.IndexMark(header,BaseDoc.INDEX_TYPE_TOC,2)
|
||||
self.doc.write_text(header,mark)
|
||||
mark = BaseDoc.IndexMark(header, BaseDoc.INDEX_TYPE_TOC, 2)
|
||||
self.doc.write_text(header, mark)
|
||||
self.doc.end_paragraph()
|
||||
|
||||
self.doc.start_table('EventTable','MR-Table')
|
||||
@ -332,7 +332,7 @@ class MarkerReport(Report):
|
||||
self.doc.start_cell('MR-TableCell')
|
||||
self.doc.start_paragraph('MR-Normal')
|
||||
place_handle = event.get_place_handle()
|
||||
place = ReportUtils.place_name(self.database,place_handle)
|
||||
place = ReportUtils.place_name(self.database, place_handle)
|
||||
if place:
|
||||
self.doc.write_text(place)
|
||||
self.doc.end_paragraph()
|
||||
@ -362,8 +362,8 @@ class MarkerReport(Report):
|
||||
|
||||
self.doc.start_paragraph("MR-Heading")
|
||||
header = _("Notes")
|
||||
mark = BaseDoc.IndexMark(header,BaseDoc.INDEX_TYPE_TOC,2)
|
||||
self.doc.write_text(header,mark)
|
||||
mark = BaseDoc.IndexMark(header, BaseDoc.INDEX_TYPE_TOC, 2)
|
||||
self.doc.write_text(header ,mark)
|
||||
self.doc.end_paragraph()
|
||||
|
||||
self.doc.start_table('NoteTable','MR-Table')
|
||||
@ -382,7 +382,7 @@ class MarkerReport(Report):
|
||||
self.doc.end_paragraph()
|
||||
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.write_text(_("Text"))
|
||||
self.doc.end_paragraph()
|
||||
@ -408,7 +408,7 @@ class MarkerReport(Report):
|
||||
self.doc.end_paragraph()
|
||||
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.write_text(note.get(True))
|
||||
self.doc.end_paragraph()
|
||||
@ -464,50 +464,50 @@ class MarkerOptions(MenuReportOptions):
|
||||
p.set_font(f)
|
||||
p.set_alignment(BaseDoc.PARA_ALIGN_CENTER)
|
||||
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.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.set_font(font)
|
||||
para.set_header_level(2)
|
||||
para.set_top_margin(0.25)
|
||||
para.set_bottom_margin(0.25)
|
||||
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.set_size(12)
|
||||
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_top_margin(ReportUtils.pt2cm(3))
|
||||
p.set_bottom_margin(ReportUtils.pt2cm(3))
|
||||
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.set_size(12)
|
||||
font.set_bold(True)
|
||||
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_top_margin(ReportUtils.pt2cm(3))
|
||||
p.set_bottom_margin(ReportUtils.pt2cm(3))
|
||||
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
|
||||
cell = BaseDoc.TableCellStyle()
|
||||
default_style.add_cell_style('MR-TableCell',cell)
|
||||
default_style.add_cell_style('MR-TableCell', cell)
|
||||
|
||||
table = BaseDoc.TableStyle()
|
||||
table.set_width(100)
|
||||
table.set_columns(4)
|
||||
table.set_column_width(0,10)
|
||||
table.set_column_width(1,30)
|
||||
table.set_column_width(2,30)
|
||||
table.set_column_width(3,30)
|
||||
table.set_column_width(0, 10)
|
||||
table.set_column_width(1, 30)
|
||||
table.set_column_width(2, 30)
|
||||
table.set_column_width(3, 30)
|
||||
default_style.add_table_style('MR-Table',table)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
@ -521,9 +521,9 @@ register_report(
|
||||
report_class = MarkerReport,
|
||||
options_class = MarkerOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Marker Report..."),
|
||||
status=(_("Stable")),
|
||||
description=_("Generates a list of people with a specified marker"),
|
||||
author_name="Brian G. Matherly",
|
||||
author_email="brian@gramps-project.org"
|
||||
translated_name = _("Marker Report"),
|
||||
status = _("Stable"),
|
||||
description = _("Produces a list of people with a specified marker"),
|
||||
author_name = "Brian G. Matherly",
|
||||
author_email = "brian@gramps-project.org"
|
||||
)
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Tools/Utilities/Media Manager..."""
|
||||
"""Tools/Utilities/Media Manager"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -582,9 +582,9 @@ register_tool(
|
||||
tool_class = MediaMan,
|
||||
options_class = MediaManOptions,
|
||||
modes = Tool.MODE_GUI,
|
||||
translated_name = _("Media Manager..."),
|
||||
status=(_("Beta")),
|
||||
translated_name = _("Media Manager"),
|
||||
status = _("Beta"),
|
||||
author_name = "Alex Roitman",
|
||||
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,
|
||||
options_class = NavWebOptions,
|
||||
modes = MODE_GUI | MODE_CLI,
|
||||
translated_name = _("Narrated Web Site..."),
|
||||
translated_name = _("Narrated Web Site"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description = _("Generates web (HTML) pages for individuals, or a set of "
|
||||
"individuals."),
|
||||
description = _("Produces web (HTML) pages for individuals, or a set of "
|
||||
"individuals"),
|
||||
)
|
||||
|
@ -403,6 +403,7 @@ register_report(
|
||||
modes = MODE_GUI,
|
||||
translated_name = _("Not Related"),
|
||||
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$
|
||||
|
||||
"""Tools/Database Processing/Extract Information from Names..."""
|
||||
"""Tools/Database Processing/Extract Information from Names"""
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -356,11 +356,11 @@ register_tool(
|
||||
tool_class = PatchNames,
|
||||
options_class = PatchNamesOptions,
|
||||
modes = Tool.MODE_GUI,
|
||||
translated_name = _("Extract Information from Names..."),
|
||||
status=(_("Stable")),
|
||||
translated_name = _("Extract Information from Names"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description=_("Searches the entire database and attempts to "
|
||||
"extract titles, nicknames and surname prefixes "
|
||||
"that may be embedded in a person's given name field.")
|
||||
description = _("Searches the entire database and attempts to "
|
||||
"extract titles, nicknames and surname prefixes "
|
||||
"that may be embedded in a person's given name field.")
|
||||
)
|
||||
|
@ -116,8 +116,8 @@ register_tool(
|
||||
options_class = RebuildOptions,
|
||||
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
||||
translated_name = _("Rebuild Secondary Indices"),
|
||||
status=(_("Stable")),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description=_("Rebuilds secondary indices")
|
||||
description = _("Rebuilds secondary indices")
|
||||
)
|
||||
|
@ -117,8 +117,8 @@ register_tool(
|
||||
options_class = RebuildRefMapOptions,
|
||||
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
||||
translated_name = _("Rebuild Reference Maps"),
|
||||
status=(_("Stable")),
|
||||
status= _("Stable"),
|
||||
author_name = "Alex Roitman",
|
||||
author_email = "shura@gramps-project.org",
|
||||
description=_("Rebuilds reference maps")
|
||||
description = _("Rebuilds reference maps")
|
||||
)
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
"""Tools/Utilities/Relationship Calculator..."""
|
||||
"""Tools/Utilities/Relationship Calculator"""
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -247,9 +247,9 @@ register_tool(
|
||||
tool_class = RelCalc,
|
||||
options_class = RelCalcOptions,
|
||||
modes = Tool.MODE_GUI,
|
||||
translated_name = _("Relationship Calculator..."),
|
||||
status=(_("Stable")),
|
||||
translated_name = _("Relationship Calculator"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
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,
|
||||
options_class = CheckOptions,
|
||||
modes = Tool.MODE_GUI,
|
||||
translated_name = _("Remove Unused Objects..."),
|
||||
translated_name = _("Remove Unused Objects"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
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,
|
||||
modes = Tool.MODE_GUI | Tool.MODE_CLI,
|
||||
translated_name = _("Reorder GRAMPS IDs"),
|
||||
status=(_("Stable")),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description=_("Reorders the gramps IDs "
|
||||
"according to gramps' default rules.")
|
||||
description = _("Reorders the gramps IDs "
|
||||
"according to Gramps' default rules.")
|
||||
)
|
||||
|
@ -152,5 +152,5 @@ register_tool(
|
||||
status=(_("Stable")),
|
||||
author_name = "Donald N. Allingham",
|
||||
author_email = "don@gramps-project.org",
|
||||
description=_("Generates SoundEx codes for names")
|
||||
description = _("Generates SoundEx codes for names")
|
||||
)
|
||||
|
@ -26,7 +26,7 @@
|
||||
#
|
||||
# $Id$
|
||||
|
||||
"""Reports/Graphical Reports/Statistics Report..."""
|
||||
"""Reports/Graphical Reports/Statistics Report"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@ -899,11 +899,11 @@ register_report(
|
||||
report_class = StatisticsChart,
|
||||
options_class = StatisticsChartOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Statistics Report..."),
|
||||
status = (_("Stable")),
|
||||
author_name="Eero Tamminen",
|
||||
author_email="",
|
||||
description= _("Generates statistical bar and pie charts of the people "
|
||||
"in the database."),
|
||||
require_active=False,
|
||||
translated_name = _("Statistics Charts"),
|
||||
status = _("Stable"),
|
||||
author_name = "Eero Tamminen",
|
||||
author_email = "",
|
||||
description = _("Produces statistical bar and pie charts of the people "
|
||||
"in the database"),
|
||||
require_active = False,
|
||||
)
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# $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,
|
||||
options_class = TestcaseGeneratorOptions,
|
||||
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"),
|
||||
author_name = "Martin Hawlisch",
|
||||
author_email = "martin@hawlisch.de",
|
||||
|
@ -22,7 +22,7 @@
|
||||
# $Id$
|
||||
|
||||
"""
|
||||
Timeline Chart...
|
||||
Timeline Chart
|
||||
"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
@ -440,9 +440,9 @@ register_report(
|
||||
report_class = TimeLine,
|
||||
options_class = TimeLineOptions,
|
||||
modes = MODE_GUI | MODE_BKI | MODE_CLI,
|
||||
translated_name = _("Timeline Chart..."),
|
||||
translated_name = _("Timeline Chart"),
|
||||
status = _("Stable"),
|
||||
author_name = "Donald N. Allingham",
|
||||
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,
|
||||
options_class = VerifyOptions,
|
||||
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")
|
||||
)
|
||||
|
@ -27,7 +27,7 @@ Web Calendar generator.
|
||||
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.
|
||||
|
||||
Reports/Web Page/Web Calendar...
|
||||
Reports/Web Page/Web Calendar
|
||||
"""
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
@ -1228,9 +1228,9 @@ register_report(
|
||||
report_class = WebCalReport,
|
||||
options_class = WebCalOptions,
|
||||
modes = MODE_GUI,
|
||||
translated_name = _("Web Calendar..."),
|
||||
translated_name = _("Web Calendar"),
|
||||
status = _("Beta"),
|
||||
author_name="Thom Sturgill",
|
||||
author_email="thsturgill@yahoo.com",
|
||||
description=_("Generates web (HTML) calendars."),
|
||||
author_name = "Thom Sturgill",
|
||||
author_email = "thsturgill@yahoo.com",
|
||||
description = _("Produces web (HTML) calendars."),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user