Commit Graph

65 Commits

Author SHA1 Message Date
Alex Roitman
c064cb8185 * various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
2006-03-16 20:24:27 +00:00
Alex Roitman
199a9b7616 * src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.
svn: r6133
2006-03-11 01:12:06 +00:00
Alex Roitman
7784228360 * PluginUtils: Add module with Report and Tool utils.
svn: r6121
2006-03-09 20:49:29 +00:00
Alex Roitman
97cdbe6af4 merge changes from gramps20
svn: r5482
2005-12-06 06:38:09 +00:00
Don Allingham
d3a5f623a6 * various: remove set_date/get_date removal to be replaced by
DateHandler calls


svn: r5031
2005-08-06 02:57:37 +00:00
Alex Roitman
adfdc9c807 * src/RelLib.py (NoteBase,PlaceBase): Add new classes.
* src/ReadGedcom.py: Use get_note for comments.
* src/ReadXML.py: Use get_note for comments.
* src/Sources.py: Use get_note for comments.
* src/WriteGedcom.py: Use get_note for comments.
* src/WriteXML.py: Use get_note for comments.
* src/plugins/Ancestors.py: Use get_note for comments.
* src/plugins/FtmStyleAncestors.py: Use get_note for comments.
* src/plugins/FtmStyleDescendants.py: Use get_note for comments.
* src/plugins/NavWebPage.py: Use get_note for comments.
* src/plugins/ScratchPad.py: Use get_note for comments.
* src/plugins/WebPage.py: Use get_note for comments.


svn: r4246
2005-03-28 04:58:28 +00:00
Alex Roitman
13dfeb6be8 * src/Sources.py: Use get_date_object (not get_date) for source refs.
* src/ReadXML.py: Use get_date_object for source refs.
* src/WriteXML.py: Use get_date_object for source refs.
* src/WriteGedcom.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleAncestors.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleDescendants.py: Use get_date_object for sourcerefs.
* src/plugins/NavWebPage.py: Use get_date_object for sourcerefs.
* src/plugins/WebPage.py: Use get_date_object for sourcerefs.
* src/RelLib.py (DateBase): Add base class for keeping Date;
(MediaBase): Do not inherit from BaseObject; (Event,MediaObject,LdsOrd,
Address,Name,SourceRef): Inherit all date-related methods from DateBase.


svn: r4222
2005-03-22 23:59:51 +00:00
Alex Roitman
6755b7e04e * src/ReportUtils.py (rgb_color): Add docs; (child_str): Fixes.
* src/plugins/Ancestors.py: Misc fixes.
* src/plugins/DetAncestralReport.py: Properly call child_str.
* src/plugins/DetDescendantReport.py: Properly call child_str.
* src/plugins/FtmStyleAncestors.py: Properly call child_str.
* src/plugins/FtmStyleDescendants.py: Properly call child_str.


svn: r4073
2005-02-22 03:43:53 +00:00
Alex Roitman
724e5b89ca Update
svn: r4006
2005-01-31 05:33:10 +00:00
Alex Roitman
e9cee32736 * src/ReportUtils.py (born_died_str,married_str,child_str):
Add functions.
* src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Use common strings from ReportUtils.


svn: r3960
2005-01-25 04:46:52 +00:00
Alex Roitman
159c0eb08f * src/Report.py: Fix adding styles and calling doc.init().
* src/BaseDoc.py: Restructure header; Replace tabs with spaces.
* src/plugins/AncestorChart.py (calc): Remove doc.init() call.
* src/plugins/AncestorChart2.py (calc): Remove doc.init() call.
* src/plugins/Ancestors.py (define_table_styles): Add method.
* src/plugins/FamilyGroup.py (define_table_styles): Add method.
* src/plugins/FanChart.py (define_graphics_styles): Add method.
* src/plugins/FtmStyleDescendants.py (define_table_styles):
Add method.
* src/plugins/FtmStyleAncestors.py: Minor cleanups
* src/plugins/IndivComplete.py (define_table_styles): Add method.
* src/plugins/IndivSummary.py (define_table_styles): Add method.
* src/plugins/Partition.py: Remove from CVS.
* src/plugins/StatisticsChart.py (define_graphics_styles):
Add method.
* src/plugins/TimeLine.py (define_graphics_styles): Add method.


svn: r3948
2005-01-24 16:33:47 +00:00
Don Allingham
e7569e2671 * src/Plugins.py: move non-gui functions to PluginMgr.py
* src/PluginMgr.py: Non-gui functions for plugins
* src/Makefile.am: Added PluginMgr.py
* various: switch from Plugins to PluginMgr


svn: r3866
2005-01-05 05:02:19 +00:00
Alex Roitman
2769b24e08 * src/RelLib.py (Family.set_mother_handle): Typo.
* src/Report.py: Use gen and pagebbg.
* src/ReportOptions.py: Use gen and pagebbg.
* src/plugins/Ancestors.py: Use gen and pagebbg.
* src/plugins/AncestorReport.py: Use gen and pagebbg.
* src/plugins/DescendReport.py: Use gen and pagebbg.
* src/plugins/FtmStyleDescendants.py: Use gen and pagebbg.
* src/plugins/FtmStyleAncestors.py: Use gen and pagebbg.
* src/plugins/IndivComplete.py: Convert to new scheme.
* src/plugins/TimeLine.py: Add custom filters to the pool.
* src/plugins/DetAncestralReport.py: Convert to new scheme.


svn: r3849
2005-01-01 02:17:17 +00:00
Don Allingham
309b2c4842 * src/Plugins.py: add GrampsBookFormatComboBox class
* src/Report.py: Roll common functions into Report class
* src/plugins/AncestorReport.py: Bring up to date with Report
* src/plugins/Ancestors.py: Bring up to date with Report
* src/plugins/BookReport.py: Bring up to date with Report,
incorporate new ComboBox
* src/plugins/DescendReport.py: Bring up to date with Report
* src/pulgins/FtmStyleAncestors.py: Bring up to date with Report
* src/pulgins/FtmStyleDescendants.py: Bring up to date
with Report
* src/plugins/IndivSummary.py: Bring up to date with Report
* src/plugins/TimeLine.py: Bring up to date with Report


svn: r3843
2004-12-30 00:21:49 +00:00
Alex Roitman
76f8f4c013 * src/DisplayTrace.py: Typo in the debian version filename.
* src/plugins/Ancestors.py: Convert to new scheme.
* src/plugins/AncestorReport.py: New date handling.
* src/plugins/FtmStyleDescendants.py: New date handling.
* src/plugins/FtmStyleAncestors.py: New date handling.


svn: r3842
2004-12-29 21:19:18 +00:00
Alex Roitman
66bc5b5807 Update
svn: r3835
2004-12-23 18:00:21 +00:00
Alex Roitman
a4662dc4b7 * src/ReportOptions.py (ReportOptions): Add wrappers to hide handler.
* src/plugins/BookReport.py: Use wrappers.
* src/plugins/TimeLine.py: Use wrappers.
* src/plugins/FtmStyleDescendants.py: Use wrappers.
* src/plugins/FtmStyleAncestors.py: Use wrappers.
* src/plugins/AncestorReport.py: Use wrappers.
* src/plugins/DescendReport.py: Use wrappers.
* src/plugins/IndivSummary.py: Use wrappers.


svn: r3834
2004-12-23 17:39:47 +00:00
Alex Roitman
88571a5f03 * src/PeopleModel.py (PeopleModel.__init__): Make data_filter optional.
* src/plugins/FtmStyleAncestors.py: Convert to new scheme.
* src/plugins/AncestorReport.py: Convert to new scheme.
* src/plugins/DescendReport.py: Convert to new scheme.
* src/plugins/IndivSummary.py: Convert to new scheme.


svn: r3832
2004-12-23 01:48:00 +00:00
Alex Roitman
ca1c4fe042 * src/AddSpouse.py, src/ChooseParents.py, src/EditPerson.py,
src/EditPlace.py, src/EditSource.py, src/EventEdit.py,
src/FamilyView.py, src/GenericFilter.py,
src/Marriage.py, src/PedView.py, src/PeopleModel.py,
src/PlaceView.py, src/RelLib.py, src/SelectChild.py,
src/Sort.py, src/SourceView.py, src/SubstKeywords.py,
src/WriteGedcom.py, src/WriteXML.py, src/plugins/AncestorReport.py,
src/plugins/Ancestors.py, src/plugins/ChangeTypes.py,
src/plugins/DescendReport.py, src/plugins/DetDescendantReport.py,
src/plugins/EventCmp.py, src/plugins/FamilyGroup.py,
src/plugins/FanChart.py, src/plugins/FtmStyleAncestors.py,
src/plugins/FtmStyleDescendants.py, src/plugins/GraphViz.py,
src/plugins/IndivComplete.py, src/plugins/IndivSummary.py,
src/plugins/Merge.py, src/plugins/RelCalc.py, src/plugins/RelGraph.py,
src/plugins/Summary.py, src/plugins/TimeLine.py, src/plugins/Verify.py,
src/plugins/WebPage.py, src/plugins/WriteCD.py,
src/plugins/WritePkg.py, src/plugins/DetAncestralReport.py:
Use get_event_from_handle (not find_ ).


svn: r3462
2004-08-21 18:56:01 +00:00
Alex Roitman
1ed75ccabe * src/WriteGedcom.py (get_option_box): Make filters inclusive.
* src/plugins/merge.glade: Switch button order to comply with HIG.
* src/mergedata.glade: Switch button order to comply with HIG.
* src/plugins/RelGraph.py (get_default_basename): Add function.
* src/plugins/AncestorReport.py (write_report): Translate
string properly.
* src/EventEdit.py (update_event): Use transtable.
* src/EditPerson.py (on_event_add_clicked, on_edit_birth_clicked,
on_edit_death_clicked, on_event_update_clicked):
Pass TransTable to the event editor.
* src/Marriage.py (on_add_clicked, on_event_update_clicked):
Pass TransTable to the event editor.
* src/plugins/FtmStyleAncestors.py,
src/plugins/FtmStyleDescendants.py:
Remove extra space between vars in "%(.*_place)s %(.*_notes)s"
* src/plugins/verify.glade: Translate button label.
* src/plugins/IndivSummary.py: Proper handling of translation.
* src/docgen/OpenOfficeDoc.py (pt2cm): Add function;
(draw_text): Convert points to cm for the box width;
 Use self.string_width() method.
* src/BaseDoc.py (string_width): Add a method to compute width.
* src/docgen/LPRDoc.py (string_width): Override method.
* src/docgen/PdfDoc.py: Use self.string_width() method.
* src/docgen/SvgDrawDoc.py: Use self.string_width() method.
* src/plugins/AncestorChart2.py: Use self.doc.string_width() method.
* src/plugins/AncestorChart.py: Use self.doc.string_width() method.
* src/plugins/DesGraph.py: Use self.doc.string_width() method.
* src/plugins/FanChart.py: Use self.doc.string_width() method.
* src/plugins/TimeLine.py: Use self.doc.string_width() method.
* src/plugins/eval.glade: HIG compliance.


svn: r3453
2004-08-20 21:26:51 +00:00
Don Allingham
79f7ff0cad * PeopleModel.py: simplify model interface
* EditPerson.py: get_family_from_handle fixes
* EditSource.py: get_family_from_handle fixes
* GraphLayout.py: get_family_from_handle fixes
* ImageSelect.py: get_family_from_handle fixes
* MediaView.py: get_family_from_handle fixes
* MergeData.py: get_family_from_handle fixes
* PlaceView.py: get_family_from_handle fixes
* ReadXML.py: get_family_from_handle fixes
* RelLib.py: get_family_from_handle fixes
* Relationship.py: get_family_from_handle fixes
* SelectChild.py: get_family_from_handle fixes
* SourceView.py: get_family_from_handle fixes
* SubstKeywords.py: get_family_from_handle fixes
* WriteXML.py: get_family_from_handle fixes
* gramps_main.py: get_family_from_handle fixes
* plugins/AncestorChart.py: get_family_from_handle fixes
* plugins/AncestorChart2.py: get_family_from_handle fixes
* plugins/AncestorReport.py: get_family_from_handle fixes
* plugins/Ancestors.py: get_family_from_handle fixes
* plugins/Check.py: get_family_from_handle fixes
* plugins/CountAncestors.py: get_family_from_handle fixes
* plugins/Desbrowser.py: get_family_from_handle fixes
* plugins/DescendReport.py: get_family_from_handle fixes
* plugins/DetAncestralReport.py: get_family_from_handle fixes
* plugins/DetDescendantReport.py: get_family_from_handle fixes
* plugins/FamilyGroup.py: get_family_from_handle fixes
* plugins/FanChart.py: get_family_from_handle fixes
* plugins/FtmStyleAncestors.py: get_family_from_handle fixes
* plugins/FtmStyleDescendants.py: get_family_from_handle fixes
* plugins/GraphViz.py: get_family_from_handle fixes
* plugins/IndivComplete.py: get_family_from_handle fixes
* plugins/IndivSummary.py: get_family_from_handle fixes
* plugins/Merge.py: get_family_from_handle fixes
* plugins/RelGraph.py: get_family_from_handle fixes
* plugins/Verify.py: get_family_from_handle fixes
* plugins/WebPage.py: get_family_from_handle fixes
* plugins/WriteCD.py: get_family_from_handle fixes
* plugins/WritePkg.py: get_family_from_handle fixes
* plugins/rel_de.py: get_family_from_handle fixes
* plugins/rel_hu.py: get_family_from_handle fixes
* plugins/rel_ru.py: get_family_from_handle fixes


svn: r3443
2004-08-19 21:35:16 +00:00
Don Allingham
4fd3c41ceb * various: change try_to_find_*_from_handle to
get_*_from_handle


svn: r3355
2004-08-07 05:16:57 +00:00
Don Allingham
8df3fd12d4 * src/RelLib.py, etc.: convert get_id to get_handle
svn: r3290
2004-07-28 02:29:07 +00:00
Alex Roitman
055eabdb11 * src/RelLib.py (try_to_find_person_from_id): Remove transaction;
(try_to_find_source_from_id, try_to_find_object_from_id,
try_to_find_place_from_id): Add functions.
* src/plugins/WriteCD.py, src/plugins/WritePkg.py,
src/plugins/WebPage.py, src/plugins/Verify.py,
src/plugins/TimeLine.py, src/plugins/Summary.py,
src/plugins/SoundGen.py, src/plugins/RelGraph.py,
src/plugins/RelCalc.py, src/plugins/PatchNames.py,
src/plugins/Merge.py, src/plugins/IndivSummary.py,
src/plugins/IndivComplete.py, src/plugins/GraphViz.py,
src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py, src/plugins/FilterEditor.py,
src/plugins/FanChart.py, src/plugins/FamilyGroup.py,
src/plugins/EventCmp.py, src/plugins/DetDescendantReport.py,
src/plugins/DetAncestralReport.py, src/plugins/DescendReport.py,
src/plugins/Desbrowser.py, src/plugins/CountAncestors.py,
src/plugins/Check.py, src/plugins/ChangeTypes.py,
src/plugins/BookReport.py, src/plugins/Ancestors.py,
src/plugins/AncestorReport.py, src/plugins/AncestorChart.py,
src/plugins/AncestorChart2.py, src/Relationship.py,
src/Sort.py, src/GenericFilter.py, src/SubstKeywords.py,
src/GraphLayout.py: Switch from find_* to try_to_find_* methods.


svn: r3191
2004-05-26 02:05:02 +00:00
Don Allingham
d43745dc97 * src/GrampsCfg.py: remove unused options
* src/gramps.glade: remove unused panels in preferences
* src/Plugins.py: removed xpm images
* src/EventEdit.py: get full event list
* src/plugins/AncestorChart.py: remove xpm image
* src/plugins/AncestorChart2.py: remove xpm image
* src/plugins/AncestorReport.py: remove xpm image
* src/plugins/Ancestors.py: remove xpm image
* src/plugins/BookReport.py: remove xpm image
* src/plugins/CustomBookText.py: remove xpm image
* src/plugins/DesGraph.py: remove xpm image
* src/plugins/DescendReport.py: remove xpm image
* src/plugins/DetAncestralReport.py: remove xpm image
* src/plugins/DetDescendantReport.py: remove xpm image
* src/plugins/FamilyGroup.py: remove xpm image
* src/plugins/FtmStyleAncestors.py: remove xpm image
* src/plugins/FtmStyleDescendants.py: remove xpm image
* src/plugins/IndivComplete.py: remove xpm image
* src/plugins/IndivSummary.py: remove xpm image
* src/plugins/Makefile.in: remove xpm image
* src/plugins/SimpleBookTitle.py: remove xpm image
* src/plugins/WebPage.py: remove xpm image
* src/RelLib.py: secondary index for event names


svn: r3158
2004-05-12 03:58:14 +00:00
Alex Roitman
97b0fdf5b8 * src/plugins/DetDescendantReport.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/DetAncestralReport.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/FtmStyleDescendants.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/FtmStyleAncestors.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/FamilyGroup.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/IndivComplete.py (get_xpm_image): Remove
function, import it from Utils.py instead.
* src/plugins/IndivSummary.py (get_xpm_image): Remove
function, import it from Utils.py instead; Convert to db.


svn: r3125
2004-05-04 21:35:19 +00:00
Don Allingham
085b102a1f * src/plugins/FtmStyleAncestors.py: bring up to date with IDs
* src/plugins/AncestorReport.py: bring up to date with IDs


svn: r2956
2004-03-03 05:06:06 +00:00
Alex Roitman
0680d6a4bc * configure.in, configure: Typo.
* src/plugins/FtmStyleAncestors.py (endnotes): Do not add
redundant references.
* src/plugins/FtmStyleDescendants.py (endnotes): Do not add
redundant references.
* src/plugins/DetAncestralReport.py (_make_default_style):
Remove unused table definition.
* src/plugins/DetDescendantReport.py (_make_default_style):
Remove unused table definition.


svn: r2950
2004-03-02 03:43:51 +00:00
Alex Roitman
fc6622f02d * src/plugins/DetAncestralReport.py: Translation corrections.
Change "was" to "is".
* src/plugins/DetDescendantReport.py: Translation corrections.
Change "was" to "is".
* src/plugins/FtmStyleAncestors.py (print_more_about):
Translate event names. Add description.
* src/plugins/FtmStyleDescendants.py (print_more_about,
print_more_about_families): Translate event names. Add description.
* src/po/de.po: Change Priesterweihe to Ordination.
* src/plugins/FamilyGroup.py: Translation corrections.


svn: r2895
2004-02-22 19:24:31 +00:00
Don Allingham
7ed2f0551e Move from object references to IDs
svn: r2822
2004-02-14 05:40:30 +00:00
Don Allingham
730e6fc24a * src/docgen/AbiWord2Doc.py: pychecker fixes
* src/docgen/HtmlDoc.py: pychecker fixes
* src/docgen/KwordDoc.py: pychecker fixes
* src/docgen/LaTeXDoc.py: pychecker fixes
* src/docgen/OpenOfficeDoc.py: pychecker fixes
* src/docgen/OpenSpreadSheet.py: pychecker fixes
* src/docgen/PSDrawDoc.py: pychecker fixes
* src/docgen/PdfDoc.py: pychecker fixes
* src/docgen/SvgDrawDoc.py: pychecker fixes
* src/plugins/Ancestors.py: pychecker fixes
* src/plugins/BookReport.py: pychecker fixes
* src/plugins/CustomBookText.py: pychecker fixes
* src/plugins/DescendReport.py: pychecker fixes
* src/plugins/DetAncestralReport.py: pychecker fixes
* src/plugins/DetDescendantReport.py: pychecker fixes
* src/plugins/FtmStyleAncestors.py: pychecker fixes
* src/plugins/IndivComplete.py: pychecker fixes
* src/plugins/ReadPkg.py: pychecker fixes
* src/plugins/RelCalc.py: pychecker fixes
* src/plugins/SimpleBookTitle.py: pychecker fixes
* src/plugins/TimeLine.py: pychecker fixes
* src/plugins/WriteCD.py: pychecker fixes
* src/plugins/WriteFtree.py: pychecker fixes
* src/plugins/rel_de.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/RelLib.py: pychecker fixes
* src/Report.py: pychecker fixes
* src/SelectPerson.py: pychecker fixes
* src/gramps_main.py: pychecker fixes


svn: r2634
2004-01-13 05:05:39 +00:00
Alex Roitman
612705a717 * src/docgen/Makefile.am: Remove AbiWordDoc.py from the list.
* src/plugins/DetAncestralReport.py (write_person): Call write_note().
* src/plugins/DetDescendantReport.py (write_person): Call write_note().
* src/plugins/FtmStyleAncestors.py (print_notes): Call write_note().
* src/plugins/IndivComplete.py (write_note): Call doc.write_note().
* src/plugins/WebPage.py (write_gallery,write_notes): Call write_note().


svn: r2523
2003-12-15 04:18:51 +00:00
Alex Roitman
144adc808a * src/plugins/FtmStyleDescendants.py (write_endnotes): Replace
CallNumber with Abbreviation.
* src/plugins/FtmStyleAncestors.py (write_endnotes): Replace
CallNumber with Abbreviation.


svn: r2477
2003-12-09 04:30:05 +00:00
Don Allingham
f648e6c663 * src/plugins/WebPage.py: support for keeping track of options
* src/plugins/TimeLine.py: support for keeping track of options
* src/plugins/RelGraph.py: support for keeping track of options
* src/plugins/IndivSummary.py: support for keeping track of options
* src/plugins/IndivComplete.py: support for keeping track of options
* src/plugins/GraphViz.py: support for keeping track of options
* src/plugins/FtmStyleDescendants.py: support for keeping track of options
* src/plugins/FtmStyleAncestors.py: support for keeping track of options
* src/plugins/FanChart.py: support for keeping track of options
* src/plugins/FamilyGroup.py: support for keeping track of options
* src/plugins/DetAncestralReport.py: support for keeping track of options
* src/plugins/Ancestors.py: support for keeping track of options
* src/plugins/AncestorReport.py: support for keeping track of options
* src/plugins/AncestorChart.py: support for keeping track of options
* src/Utils.py: save key on style mappings


svn: r2295
2003-10-31 01:20:58 +00:00
Alex Roitman
1b709537e3 Update
svn: r2218
2003-10-08 13:01:55 +00:00
Alex Roitman
755d9f9879 Update
svn: r2217
2003-10-08 12:52:31 +00:00
Don Allingham
9719ea83ee * src/BaseDoc.py: add init function to BaseDoc to be called after
all graphics formats are defined
* src/docgen/OpenOfficeDoc.py: fix rotate_print and center_print
* src/plugins/AncestorChart.py: support BaseDoc.init
* src/plugins/AncestorReport.py: support BaseDoc.init
* src/plugins/BookReport.py: support BaseDoc.init
* src/plugins/CustomBookText.py: support BaseDoc.init
* src/plugins/DesGraph.py: support BaseDoc.init
* src/plugins/DescendReport.py: support BaseDoc.init
* src/plugins/DetAncestralReport.py: support BaseDoc.init
* src/plugins/DetDescendantReport.py: support BaseDoc.init
* src/plugins/FamilyGroup.py: support BaseDoc.init
* src/plugins/FanChart.py: support BaseDoc.init
* src/plugins/FtmStyleAncestors.py: support BaseDoc.init
* src/plugins/FtmStyleDescendants.py: support BaseDoc.init
* src/plugins/SimpleBookTitle.py: support BaseDoc.init


svn: r2119
2003-09-13 04:56:04 +00:00
Alex Roitman
f78e8dcc74 * src/PaperMenu.py: Change from TextDoc to BaseDoc.
* src/Report.py: Likewise.
* src/SpreadSheetDoc.py: Likewise.
* src/StyleEditor.py: Likewise.
* src/docgen/OpenSpreadSheet.py: Likewise.
* src/docgen/AbiWord2Doc.py: Likewise.
* src/plugins/AncestorReport.py: Likewise.
* src/plugins/DescendReport.py: Likewise.
* src/plugins/DetAncestralReport.py: Likewise.
* src/plugins/DetDescendantReport.py: Likewise.
* src/plugins/EventCmp.py: Likewise.
* src/plugins/FamilyGroup.py: Likewise.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/GraphViz.py: Likewise.
* src/plugins/IndivComplete.py: Likewise.
* src/plugins/IndivSummary.py: Likewise.
* src/plugins/WebPage.py: Likewise.
* src/plugins/Ancestors.py: Likewise.
* src/plugins/CustomBookText.py: Likewise.
* src/BaseDoc.py: Likewise.


svn: r2074
2003-09-02 00:47:09 +00:00
Don Allingham
b5f75c0a77 switch from intl to gettext
svn: r2017
2003-08-17 02:14:33 +00:00
Alex Roitman
84972ea9f2 * src/plugins/FamilyGroup.py: Remove setup() call.
* src/plugins/IndivSummary.py: Enable translation for an event type.
* src/plugins/FtmStyleAncestors.py: Space after full stop.
* src/const.py.in (display_pevent): Try translating string if not
found in the _pe_e2l dictionary. Useful for translating Birth and
Death events which are not in the dictionary as non-editable events.
Seems harmless in the display function ;
(display_fevent, display_event, display_pattr, display_fattr,
display_attr, display_frel): Likewise. Might be useful in some
cases and seems totally harmless.


svn: r1973
2003-08-09 05:24:33 +00:00
Lars Lundin
a082df7773 * src/plugins/BookReport.py: Fixed typo (containg).
* src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py:
Fixed typo (death_endotes).


svn: r1966
2003-08-07 08:53:22 +00:00
Alex Roitman
2a33c54618 * src/docgen/OpenOfficeDoc.py (_write_styles_file): Switch paragraph
alignment to "start" and "end" (was "left and "right").
* src/plugins/AncestorReport.py: Change prefixed style name ("AHN-").
Needed because HTML gets confised by ":" in the class name.
* src/plugins/Ancestors.py: Likewise ("AR-").
* src/plugins/DescendReport.py: Likewise ("DR-").
* src/plugins/DetAncestralReport.py: Likewise ("DAR-").
* src/plugins/DetDescendantReport.py: Likewise ("DDR-").
* src/plugins/FtmStyleAncestors.py: Likewise ("FTA-").
* src/plugins/FtmStyleDescendants.py: Likewise ("FTD-").
* src/plugins/FamilyGroup.py: Likewise ("FGR-").
* src/plugins/CustomBookText.py: Likewise ("CBT-").
* src/plugins/SimpleBookTitle.py: Likewise ("SBT-").
* src/plugins/IndivSummary.py: Likewise ("IVS-").
* src/plugins/IndivComplete.py: Likewise ("IDS-").


svn: r1903
2003-07-18 13:43:13 +00:00
Alex Roitman
6431759d5a * src/gramps_main.py (open_example): Fix destination name when copying
files (was directory name).
* doc/gramps-manual/C/gramps-manual.xml: Reflect name change for
Comprehensive Ancestors Report.
* src/plugins/AncestorReport.py: Prefixed style names ("AHN:").
* src/plugins/Ancestors.py: Prefixed style names ("AR:").
* src/plugins/DescendReport.py: Prefixed style names ("DR:").
* src/plugins/DetAncestralReport.py: Prefixed style names ("DAR:").
* src/plugins/DetDescendantReport.py: Prefixed style names ("DDR:").
* src/plugins/FtmStyleAncestors.py: Prefixed style names ("FTA:").
* src/plugins/FtmStyleDescendants.py: Prefixed style names ("FTD:").
* src/plugins/FamilyGroup.py: Prefixed style names ("FGR:").
* src/plugins/CustomBookText.py: Prefixed style names ("CBT:").
* src/plugins/SimpleBookTitle.py: Prefixed style names ("SBT:").
Rename "Copyright string" with "Subtitle string".
* src/plugins/BookReport.py (BookReportDialog.__init__): Finally,
clear the style problem.


svn: r1901
2003-07-18 06:17:28 +00:00
Alex Roitman
e9cf966cbb * src/plugins/FtmStyleAncestors.py: Fix coma-sepration for endnotes.
Translate "Endnotes" sub-heading. Enable pagebreak only when
generation > 1 (was 0).
* src/plugins/FtmStyleDescendants.py: Likewise.
* src/const.py.in: Make the confidence order high to low (was l->h).
* src/plugins/AncestorChart.py: Enable translation for "b." and "d."
* src/plugins/DesGraph.py: Likewise.
* src/po/template.po: Update the above corrections in template.


svn: r1887
2003-07-16 00:58:10 +00:00
Alex Roitman
2bc38a14d9 * src/plugins/BookReport.py (BookReportDialog.make_document):
Move item initialization here (was in make_report).
* src/plugins/DetDescendantReport.py: Remove empty setup().
* src/plugins/AncestorReport.py: Likewise.
* src/plugins/Ancestors.py: Likewise.
* src/plugins/DescendReport.py: Likewise.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/FamilyGroup.py: Likewise.
* src/plugins/DetAncestralReport.py: Likewise.


svn: r1874
2003-07-13 00:09:29 +00:00
Alex Roitman
1f45296ff7 * src/Report.py (BareReportDialog.build_style_menu):
Initialize menu to self.style_name;
(ReportDialog.__init__): Set self.style_name to "default"
for standalone reports.
* src/plugins/DetDescendantReport.py: Define self.style_name before
calling Report.BareReportDialog.__init__().
* src/plugins/AncestorReport.py: Likewise.
* src/plugins/Ancestors.py: Likewise.
* src/plugins/DescendReport.py: Likewise.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/FtmStyleDescendants.py: Likewise.
* src/plugins/IndivComplete.py: Likewise.
* src/plugins/IndivSummary.py: Likewise.
* src/plugins/FamilyGroup.py: Likewise.
* src/plugins/DetAncestralReport.py: Likewise.


svn: r1861
2003-07-11 03:29:33 +00:00
Alex Roitman
fde4b089f7 Fix styles in book. Switch to tuple of options.
* src/plugins/AncestorReport.py: Fix styles in book.
* src/plugins/Ancestors.py: Fix styles in book.
* src/plugins/DescendReport.py: Fix styles in book.
* src/plugins/FtmStyleAncestors.py: Fix styles in book.
* src/plugins/FtmStyleDescendants.py: Fix styles in book.
* src/plugins/IndivComplete.py: Switch to tuple of options.
* src/plugins/IndivSummary.py: Switch to tuple of options.
* src/plugins/SimpleBookTitle.py: Fix styles in book.
* src/plugins/FamilyGroup.py: Fix styles in book.
* src/plugins/DetAncestralReport.py: Fix styles in book.


svn: r1837
2003-07-07 16:57:27 +00:00
Alex Roitman
19f0183de2 * src/plugins/BookReport.py: Make a list of options from a tuple.
* src/plugins/AncestorReport.py: Register options as a tuple.
* src/plugins/Ancestors.py: Register options as a tuple.
* src/plugins/DescendReport.py: Register options as a tuple.
* src/plugins/FtmStyleAncestors.py: Register options as a tuple.
* src/plugins/FtmStyleDescendants.py: Register options as a tuple.
* src/plugins/IndivComplete.py:  Register options as a tuple.
* src/plugins/IndivSummary.py: Register options as a tuple.
* src/plugins/SimpleBookTitle.py: Register options as a tuple.


svn: r1829
2003-07-06 19:55:45 +00:00
Don Allingham
d97f62782b * src/docgen/PdfDoc.py: handle page break
* src/plugins/BookReport.py: move book report to its own category,
handle page break properly
* src/plugins/FtmStyleAncestors.py: handle book improvements
* src/plugins/FtmStyleDescendants.py: handle book improvements
* src/plugins/IndivSummary.py: handle book improvements, rename
document styles


svn: r1774
2003-06-25 03:35:44 +00:00
Alex Roitman
1b85923e09 * src/plugins/FtmStyleAncestors.py, src/plugins/FtmStyleDescendants.py:
Remove options_dialog function -- it is not nedded anymore.


svn: r1751
2003-06-16 13:50:10 +00:00