|
| 1 | +# |
| 2 | +# Gramps - a GTK+/GNOME based genealogy program |
| 3 | +# |
| 4 | +# Copyright (C) 2010 Adam Sampson <[email protected]> |
| 5 | +# Copyright (C) 2010 Jerome Rapinat <[email protected]> |
| 6 | +# Copyright (C) 2010, 2012 lcc <[email protected]> |
| 7 | +# Copyright (C) 2015 Don Piercy |
| 8 | +# |
| 9 | +# This program is free software; you can redistribute it and/or modify |
| 10 | +# it under the terms of the GNU General Public License as published by |
| 11 | +# the Free Software Foundation; either version 2 of the License, or |
| 12 | +# (at your option) any later version. |
| 13 | +# |
| 14 | +# This program is distributed in the hope that it will be useful, |
| 15 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | +# GNU General Public License for more details. |
| 18 | +# |
| 19 | +# You should have received a copy of the GNU General Public License |
| 20 | +# along with this program; if not, write to the Free Software |
| 21 | +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 22 | +# |
1 | 23 | #------------------------------------------------------------------------
|
2 | 24 | #
|
3 | 25 | # SourcesCitations Report
|
4 | 26 | #
|
5 | 27 | #------------------------------------------------------------------------
|
6 | 28 |
|
7 |
| -plg = newplugin() |
8 |
| -plg.id = 'SourcesCitationsReport' |
9 |
| -plg.name = _("Sources and Citations Report") |
10 |
| -plg.description = _("Provides a source and Citations Report with notes") |
11 |
| -plg.version = '3.6.0' |
12 |
| -plg.gramps_target_version = '5.1' |
13 |
| -plg.status = STABLE |
14 |
| -plg.fname = 'SourcesCitationsReport.py' |
15 |
| -plg.ptype = REPORT |
16 |
| -plg.authors = ["Uli22"] |
17 |
| -plg.authors_email = ["[email protected]"] |
18 |
| -plg.category = CATEGORY_TEXT |
19 |
| -plg.reportclass = 'SourcesCitationsReport' |
20 |
| -plg.optionclass = 'SourcesCitationsOptions' |
21 |
| -plg.report_modes = [REPORT_MODE_GUI, REPORT_MODE_BKI, REPORT_MODE_CLI] |
22 |
| -plg.require_active = False |
| 29 | +register(REPORT, |
| 30 | + id = 'SourcesCitationsReport', |
| 31 | + name = _("Sources and Citations Report"), |
| 32 | + description = _("Provides a source and Citations Report with notes"), |
| 33 | + version = '3.6.0', |
| 34 | + gramps_target_version = "5.1", |
| 35 | + status = STABLE, |
| 36 | + fname = 'SourcesCitationsReport.py', |
| 37 | + category = CATEGORY_TEXT, |
| 38 | + reportclass = 'SourcesCitationsReport', |
| 39 | + optionclass = 'SourcesCitationsOptions', |
| 40 | + report_modes = [REPORT_MODE_GUI, REPORT_MODE_BKI, REPORT_MODE_CLI], |
| 41 | + authors = ["Uli22"], |
| 42 | + authors_email = ["[email protected]"], |
| 43 | + require_active = False |
| 44 | + ) |
0 commit comments