From 9d11c72ca2fb49a9fc35ed74099a494c4ea0b731 Mon Sep 17 00:00:00 2001 From: Raphael Ackermann Date: Tue, 29 Jan 2008 07:40:35 +0000 Subject: [PATCH] 2008-01-28 Duncan Lithgow Raphael Ackermann * src/plugins/Summary.py * src/plugins/WebCal.py * src/plugins/KinshipReport.py * src/plugins/DescendReport.py * src/plugins/DetDescendantReport.py * src/plugins/ExtractCity.py * src/plugins/EventNames.py * src/plugins/DumpGenderStats.py * src/plugins/Desbrowser.py * src/plugins/Checkpoint.py * src/plugins/OwnerEditor.py * src/plugins/ChangeNames.py * src/plugins/AncestorReport.py * src/plugins/MarkerReport.py * src/plugins/DateParserDisplayTest.py * src/plugins/FindDupes.py * src/plugins/SoundGen.py * src/plugins/TestcaseGenerator.py * src/plugins/Rebuild.py * src/plugins/DescendChart.py * src/plugins/EndOfLineReport.py * src/plugins/AncestorChart.py * src/plugins/DetAncestralReport.py * src/plugins/CountAncestors.py * src/plugins/Check.py * src/plugins/EventCmp.py * src/plugins/FamilyGroup.py * src/plugins/RelCalc.py * src/plugins/MediaManager.py * src/plugins/ChangeTypes.py * src/plugins/StatisticsChart.py * src/plugins/FamilyLines.py * src/plugins/PatchNames.py svn: r9953 --- ChangeLog | 36 ++++++++++++++++++++++++++++ src/plugins/AncestorChart.py | 2 +- src/plugins/AncestorReport.py | 2 +- src/plugins/ChangeNames.py | 2 +- src/plugins/ChangeTypes.py | 2 +- src/plugins/Check.py | 2 +- src/plugins/Checkpoint.py | 2 +- src/plugins/CountAncestors.py | 2 +- src/plugins/DateParserDisplayTest.py | 5 +++- src/plugins/Desbrowser.py | 2 +- src/plugins/DescendChart.py | 2 +- src/plugins/DescendReport.py | 2 +- src/plugins/DetAncestralReport.py | 2 +- src/plugins/DetDescendantReport.py | 2 +- src/plugins/DumpGenderStats.py | 5 +++- src/plugins/EndOfLineReport.py | 2 +- src/plugins/EventCmp.py | 2 +- src/plugins/EventNames.py | 2 +- src/plugins/ExtractCity.py | 2 +- src/plugins/FamilyGroup.py | 2 +- src/plugins/FamilyLines.py | 6 +++-- src/plugins/FindDupes.py | 2 +- src/plugins/KinshipReport.py | 2 +- src/plugins/MarkerReport.py | 2 +- src/plugins/MediaManager.py | 2 +- src/plugins/OwnerEditor.py | 2 +- src/plugins/PatchNames.py | 2 +- src/plugins/Rebuild.py | 2 +- src/plugins/RelCalc.py | 2 +- src/plugins/SoundGen.py | 2 +- src/plugins/StatisticsChart.py | 4 +--- src/plugins/Summary.py | 2 +- src/plugins/TestcaseGenerator.py | 2 +- src/plugins/WebCal.py | 14 +++++------ 34 files changed, 84 insertions(+), 42 deletions(-) diff --git a/ChangeLog b/ChangeLog index 660ec5cd9..d7132be04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,39 @@ +2008-01-28 Duncan Lithgow + Raphael Ackermann + * src/plugins/Summary.py + * src/plugins/WebCal.py + * src/plugins/KinshipReport.py + * src/plugins/DescendReport.py + * src/plugins/DetDescendantReport.py + * src/plugins/ExtractCity.py + * src/plugins/EventNames.py + * src/plugins/DumpGenderStats.py + * src/plugins/Desbrowser.py + * src/plugins/Checkpoint.py + * src/plugins/OwnerEditor.py + * src/plugins/ChangeNames.py + * src/plugins/AncestorReport.py + * src/plugins/MarkerReport.py + * src/plugins/DateParserDisplayTest.py + * src/plugins/FindDupes.py + * src/plugins/SoundGen.py + * src/plugins/TestcaseGenerator.py + * src/plugins/Rebuild.py + * src/plugins/DescendChart.py + * src/plugins/EndOfLineReport.py + * src/plugins/AncestorChart.py + * src/plugins/DetAncestralReport.py + * src/plugins/CountAncestors.py + * src/plugins/Check.py + * src/plugins/EventCmp.py + * src/plugins/FamilyGroup.py + * src/plugins/RelCalc.py + * src/plugins/MediaManager.py + * src/plugins/ChangeTypes.py + * src/plugins/StatisticsChart.py + * src/plugins/FamilyLines.py + * src/plugins/PatchNames.py + 2008-01-28 Duncan Lithgow * various: add capitalization fixes according to HIG (plus ellipsis ...) http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en diff --git a/src/plugins/AncestorChart.py b/src/plugins/AncestorChart.py index 8c80175b5..99b9f4057 100644 --- a/src/plugins/AncestorChart.py +++ b/src/plugins/AncestorChart.py @@ -21,7 +21,7 @@ # $Id$ -"Graphical Reports/Ancestor Chart" +"""Reports/Graphical Reports/Ancestor Chart...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/AncestorReport.py b/src/plugins/AncestorReport.py index 6e3e3f720..f8af891d8 100644 --- a/src/plugins/AncestorReport.py +++ b/src/plugins/AncestorReport.py @@ -21,7 +21,7 @@ # $Id$ -"Text Reports/Ahnentafel Report" +"""Reports/Text Reports/Ahnentafel Report...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/ChangeNames.py b/src/plugins/ChangeNames.py index 35b54ab3d..121f6fc5a 100644 --- a/src/plugins/ChangeNames.py +++ b/src/plugins/ChangeNames.py @@ -20,7 +20,7 @@ # $Id$ -"Database Processing/Fix capitalization of family names" +"""Tools/Database Processing/Fix Capitalization of Family Names...""" #------------------------------------------------------------------------- # diff --git a/src/plugins/ChangeTypes.py b/src/plugins/ChangeTypes.py index b7b408236..3f4142f7f 100644 --- a/src/plugins/ChangeTypes.py +++ b/src/plugins/ChangeTypes.py @@ -20,7 +20,7 @@ # $Id$ -"Database Processing/Rename event types" +"""Database Processing/Rename Event Types...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/Check.py b/src/plugins/Check.py index 6774d0181..0647b0629 100644 --- a/src/plugins/Check.py +++ b/src/plugins/Check.py @@ -20,7 +20,7 @@ # $Id$ -"Database Processing/Check and repair database" +"""Tools/Database Repair/Check and Repair Database""" #------------------------------------------------------------------------- # diff --git a/src/plugins/Checkpoint.py b/src/plugins/Checkpoint.py index 689831d1b..139cc2103 100644 --- a/src/plugins/Checkpoint.py +++ b/src/plugins/Checkpoint.py @@ -20,7 +20,7 @@ # $Id$ -"Database Processing/Extract information from names" +"""Tools/Revision Control/Checkpoint the Database...""" #------------------------------------------------------------------------- # diff --git a/src/plugins/CountAncestors.py b/src/plugins/CountAncestors.py index ee47f5b71..78bcaa84e 100644 --- a/src/plugins/CountAncestors.py +++ b/src/plugins/CountAncestors.py @@ -22,7 +22,7 @@ # $Id$ -"View/Number of ancestors" +"""Reports/View/Number of Ancestors""" #------------------------------------------------------------------------ # diff --git a/src/plugins/DateParserDisplayTest.py b/src/plugins/DateParserDisplayTest.py index d11786a85..1c3c17e29 100644 --- a/src/plugins/DateParserDisplayTest.py +++ b/src/plugins/DateParserDisplayTest.py @@ -21,7 +21,10 @@ # $Id$ -"Validate localized date parser and displayer" +"""Validate localized date parser and displayer. + + Tools/Debug/Check Localized Date Parser and Displayer... +""" #------------------------------------------------------------------------- # diff --git a/src/plugins/Desbrowser.py b/src/plugins/Desbrowser.py index d42f6f7e8..8401b9e4e 100644 --- a/src/plugins/Desbrowser.py +++ b/src/plugins/Desbrowser.py @@ -20,7 +20,7 @@ # $Id$ -"Analysis and Exploration/Interactive descendant browser" +"""Tools/Analysis and Exploration/Interactive Descendant Browser""" #------------------------------------------------------------------------ # diff --git a/src/plugins/DescendChart.py b/src/plugins/DescendChart.py index 57348c9c9..4e981a7bd 100644 --- a/src/plugins/DescendChart.py +++ b/src/plugins/DescendChart.py @@ -21,7 +21,7 @@ # $Id$ -"Graphical Reports/Ancestor Chart" +"""Reports/Graphical Reports/Ancestor Chart...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/DescendReport.py b/src/plugins/DescendReport.py index 711e57f47..f1e8c6ab0 100644 --- a/src/plugins/DescendReport.py +++ b/src/plugins/DescendReport.py @@ -21,7 +21,7 @@ # $Id$ -"Generate files/Descendant Report" +"""Reports/Text Reports/Descendant Report...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/DetAncestralReport.py b/src/plugins/DetAncestralReport.py index 867c8e771..07b8078dd 100644 --- a/src/plugins/DetAncestralReport.py +++ b/src/plugins/DetAncestralReport.py @@ -22,7 +22,7 @@ # $Id$ -"Generate files/Detailed Ancestral Report" +"""Reports/Text Reports/Detailed Ancestral Report...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/DetDescendantReport.py b/src/plugins/DetDescendantReport.py index 87618593c..be8169c84 100644 --- a/src/plugins/DetDescendantReport.py +++ b/src/plugins/DetDescendantReport.py @@ -23,7 +23,7 @@ # $Id$ -"Generate files/Detailed Descendant Report" +"""Reports/Text Reports/Detailed Descendant Report...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/DumpGenderStats.py b/src/plugins/DumpGenderStats.py index b2d0f6ca1..892b33c92 100644 --- a/src/plugins/DumpGenderStats.py +++ b/src/plugins/DumpGenderStats.py @@ -20,7 +20,10 @@ # $Id$ -"Dump gender stats" +""" Dump Gender Statistics. + + Tools/Debug/Dump Gender Statistics +""" import gtk import ListModel diff --git a/src/plugins/EndOfLineReport.py b/src/plugins/EndOfLineReport.py index 0571e5be8..51288b554 100644 --- a/src/plugins/EndOfLineReport.py +++ b/src/plugins/EndOfLineReport.py @@ -20,7 +20,7 @@ # $Id$ -"Text Reports/End of Line Report" +"""Reports/Text Reports/End of Line Report...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/EventCmp.py b/src/plugins/EventCmp.py index f1f0ce4a1..5597b62ac 100644 --- a/src/plugins/EventCmp.py +++ b/src/plugins/EventCmp.py @@ -20,7 +20,7 @@ # $Id$ -"Exploration/Compare individual events" +"""Tools/Analysis and Exploration/Compare Individual Events...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/EventNames.py b/src/plugins/EventNames.py index 45bf335c7..09126c9a7 100644 --- a/src/plugins/EventNames.py +++ b/src/plugins/EventNames.py @@ -20,7 +20,7 @@ # $Id$ -"Database Processing/Fix capitalization of family names" +"""Tools/Database Processing/Extract Event Descriptions from Event Data""" #------------------------------------------------------------------------- # diff --git a/src/plugins/ExtractCity.py b/src/plugins/ExtractCity.py index e8d024d85..552c7c858 100644 --- a/src/plugins/ExtractCity.py +++ b/src/plugins/ExtractCity.py @@ -21,7 +21,7 @@ # $Id$ -"Database Processing/Fix capitalization of family names" +"""Tools/Database Processing/Extract Place Data from a Place Title...""" #------------------------------------------------------------------------- # diff --git a/src/plugins/FamilyGroup.py b/src/plugins/FamilyGroup.py index d8c596ab4..f48b35e78 100644 --- a/src/plugins/FamilyGroup.py +++ b/src/plugins/FamilyGroup.py @@ -21,7 +21,7 @@ # $Id$ -"""Generate files/Family Group Report""" +"""Reports/Text Reports/Family Group Report...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/FamilyLines.py b/src/plugins/FamilyLines.py index cf45857c7..e66356857 100644 --- a/src/plugins/FamilyLines.py +++ b/src/plugins/FamilyLines.py @@ -20,8 +20,10 @@ # $Id$ -""" -Family Lines, a plugin for Gramps. +""" + Family Lines, a plugin for Gramps. + + Reports/Graphviz/Family Lines Graph... """ #------------------------------------------------------------------------ diff --git a/src/plugins/FindDupes.py b/src/plugins/FindDupes.py index fb70dafe0..7d2d83b53 100644 --- a/src/plugins/FindDupes.py +++ b/src/plugins/FindDupes.py @@ -20,7 +20,7 @@ # $Id$ -"Database Processing/Merge people" +"""Tools/Database Processing/Find Possible Duplicate People...""" #------------------------------------------------------------------------- # diff --git a/src/plugins/KinshipReport.py b/src/plugins/KinshipReport.py index d09926720..606313146 100644 --- a/src/plugins/KinshipReport.py +++ b/src/plugins/KinshipReport.py @@ -20,7 +20,7 @@ # $Id$ -"Text Reports/Kinship Report" +"""Reports/Text Reports/Kinship Report...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/MarkerReport.py b/src/plugins/MarkerReport.py index d1a26a818..8c6875019 100644 --- a/src/plugins/MarkerReport.py +++ b/src/plugins/MarkerReport.py @@ -20,7 +20,7 @@ # $Id$ -"Generate files/Marker Report" +"""Reports/Text Reports/Marker Report...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/MediaManager.py b/src/plugins/MediaManager.py index 635632cf1..8b2b63d24 100644 --- a/src/plugins/MediaManager.py +++ b/src/plugins/MediaManager.py @@ -22,7 +22,7 @@ # $Id$ -"Media Manager tool" +"""Tools/Utilities/Media Manager...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/OwnerEditor.py b/src/plugins/OwnerEditor.py index 113a3faf3..64d21ebb7 100644 --- a/src/plugins/OwnerEditor.py +++ b/src/plugins/OwnerEditor.py @@ -20,7 +20,7 @@ # $Id$ -"Database Processing/Edit database owner information" +"""Tools/Database Processing/Edit Database Owner Information""" #------------------------------------------------------------------------- # diff --git a/src/plugins/PatchNames.py b/src/plugins/PatchNames.py index ab2e296a7..f6c1f353d 100644 --- a/src/plugins/PatchNames.py +++ b/src/plugins/PatchNames.py @@ -20,7 +20,7 @@ # $Id$ -"Database Processing/Extract information from names" +"""Tools/Database Processing/Extract Information from Names...""" #------------------------------------------------------------------------- # diff --git a/src/plugins/Rebuild.py b/src/plugins/Rebuild.py index 04fbabc72..0ca813274 100644 --- a/src/plugins/Rebuild.py +++ b/src/plugins/Rebuild.py @@ -20,7 +20,7 @@ # $Id$ -"Database Processing/Check and repair database" +"""Tools/Database Processing/Rebuild Secondary Indices""" #------------------------------------------------------------------------- # diff --git a/src/plugins/RelCalc.py b/src/plugins/RelCalc.py index f6e7807c9..94a40cbf8 100644 --- a/src/plugins/RelCalc.py +++ b/src/plugins/RelCalc.py @@ -20,7 +20,7 @@ # $Id$ -"Utilities/Relationship calculator" +"""Tools/Utilities/Relationship Calculator...""" #------------------------------------------------------------------------- # diff --git a/src/plugins/SoundGen.py b/src/plugins/SoundGen.py index 1d8e19097..829af3dc1 100644 --- a/src/plugins/SoundGen.py +++ b/src/plugins/SoundGen.py @@ -20,7 +20,7 @@ # $Id$ -"Utilities/Generate SoundEx codes" +"""Tools/Utilities/Generate SoundEx Codes...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/StatisticsChart.py b/src/plugins/StatisticsChart.py index 9f2e0e047..d513a3ec6 100644 --- a/src/plugins/StatisticsChart.py +++ b/src/plugins/StatisticsChart.py @@ -25,9 +25,7 @@ # # $Id$ -""" -Statistics Chart report -""" +"""Reports/Graphical Reports/Statistics Chart...""" #------------------------------------------------------------------------ # diff --git a/src/plugins/Summary.py b/src/plugins/Summary.py index 66665127f..c7696b707 100644 --- a/src/plugins/Summary.py +++ b/src/plugins/Summary.py @@ -20,7 +20,7 @@ # $Id$ -"View/Summary of the database" +"""Reports/View/Summary of the Database""" #------------------------------------------------------------------------ # diff --git a/src/plugins/TestcaseGenerator.py b/src/plugins/TestcaseGenerator.py index c096c9b2c..63a71edc3 100644 --- a/src/plugins/TestcaseGenerator.py +++ b/src/plugins/TestcaseGenerator.py @@ -21,7 +21,7 @@ # $Id$ -"Create person and family testcases" +"""Tools/Debug/Generate Testcases for Persons and Families...""" #------------------------------------------------------------------------- # diff --git a/src/plugins/WebCal.py b/src/plugins/WebCal.py index 2e5a6a682..4aea4759d 100644 --- a/src/plugins/WebCal.py +++ b/src/plugins/WebCal.py @@ -23,8 +23,11 @@ """ 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... """ #------------------------------------------------------------------------ @@ -35,9 +38,8 @@ by Doug Blank with input dialog based on NarrativeWeb.py by Don Allingham. import os import time import datetime -import const +#import const import codecs -import locale import shutil from gettext import gettext as _ from xml.parsers import expat @@ -74,16 +76,14 @@ import const import BaseDoc from GrampsCfg import get_researcher from PluginUtils import register_report -from ReportBase import Report, ReportUtils, ReportOptions, \ - CATEGORY_WEB, CATEGORY_TEXT, MODE_GUI +from ReportBase import (Report, ReportUtils, ReportOptions, CATEGORY_WEB, + MODE_GUI) from ReportBase._ReportDialog import ReportDialog import Errors import Utils import GrampsLocale -from QuestionDialog import ErrorDialog, WarningDialog +from QuestionDialog import ErrorDialog from Utils import probably_alive -from FontScale import string_trim, string_width - #------------------------------------------------------------------------ #