xref: /webtrees/app/Module/BirthDeathMarriageReportModule.php (revision 7413816e6dd2d50e569034fb804f3dce7471bb94)
10e62c4b8SGreg Roach<?php
23976b470SGreg Roach
30e62c4b8SGreg Roach/**
40e62c4b8SGreg Roach * webtrees: online genealogy
5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
60e62c4b8SGreg Roach * This program is free software: you can redistribute it and/or modify
70e62c4b8SGreg Roach * it under the terms of the GNU General Public License as published by
80e62c4b8SGreg Roach * the Free Software Foundation, either version 3 of the License, or
90e62c4b8SGreg Roach * (at your option) any later version.
100e62c4b8SGreg Roach * This program is distributed in the hope that it will be useful,
110e62c4b8SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
120e62c4b8SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
130e62c4b8SGreg Roach * GNU General Public License for more details.
140e62c4b8SGreg Roach * You should have received a copy of the GNU General Public License
1589f7189bSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
160e62c4b8SGreg Roach */
17fcfa147eSGreg Roach
18e7f56f2aSGreg Roachdeclare(strict_types=1);
19e7f56f2aSGreg Roach
2076692c8bSGreg Roachnamespace Fisharebest\Webtrees\Module;
2176692c8bSGreg Roach
220e62c4b8SGreg Roachuse Fisharebest\Webtrees\I18N;
230e62c4b8SGreg Roach
240e62c4b8SGreg Roach/**
250e62c4b8SGreg Roach * Class BirthDeathMarriageReportModule
260e62c4b8SGreg Roach */
2737eb8894SGreg Roachclass BirthDeathMarriageReportModule extends AbstractModule implements ModuleReportInterface
28c1010edaSGreg Roach{
2949a243cbSGreg Roach    use ModuleReportTrait;
3049a243cbSGreg Roach
3176692c8bSGreg Roach    /**
320cfd6963SGreg Roach     * How should this module be identified in the control panel, etc.?
3376692c8bSGreg Roach     *
3476692c8bSGreg Roach     * @return string
3576692c8bSGreg Roach     */
3649a243cbSGreg Roach    public function title(): string
37c1010edaSGreg Roach    {
380e62c4b8SGreg Roach        // This text also appears in the .XML file - update both together
39bbb76c12SGreg Roach        /* I18N: Name of a module/report. “Vital records” are life events - birth/marriage/death */
40bbb76c12SGreg Roach        return I18N::translate('Vital records');
410e62c4b8SGreg Roach    }
420e62c4b8SGreg Roach
4349a243cbSGreg Roach    public function description(): string
44c1010edaSGreg Roach    {
450e62c4b8SGreg Roach        // This text also appears in the .XML file - update both together
46bbb76c12SGreg Roach        /* I18N: Description of the “Vital records” module. “Vital records” are life events - birth/marriage/death */
47bbb76c12SGreg Roach        return I18N::translate('A report of vital records for a given date or place.');
480e62c4b8SGreg Roach    }
490e62c4b8SGreg Roach}
50