xref: /webtrees/app/Elements/GeneatiqueAct.php (revision de9c9c86b6e0d663235a54710dc2690e37cd5dce)
1*de9c9c86SGreg Roach<?php
2*de9c9c86SGreg Roach
3*de9c9c86SGreg Roach/**
4*de9c9c86SGreg Roach * webtrees: online genealogy
5*de9c9c86SGreg Roach * Copyright (C) 2023 webtrees development team
6*de9c9c86SGreg Roach * This program is free software: you can redistribute it and/or modify
7*de9c9c86SGreg Roach * it under the terms of the GNU General Public License as published by
8*de9c9c86SGreg Roach * the Free Software Foundation, either version 3 of the License, or
9*de9c9c86SGreg Roach * (at your option) any later version.
10*de9c9c86SGreg Roach * This program is distributed in the hope that it will be useful,
11*de9c9c86SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
12*de9c9c86SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13*de9c9c86SGreg Roach * GNU General Public License for more details.
14*de9c9c86SGreg Roach * You should have received a copy of the GNU General Public License
15*de9c9c86SGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
16*de9c9c86SGreg Roach */
17*de9c9c86SGreg Roach
18*de9c9c86SGreg Roachdeclare(strict_types=1);
19*de9c9c86SGreg Roach
20*de9c9c86SGreg Roachnamespace Fisharebest\Webtrees\Elements;
21*de9c9c86SGreg Roach
22*de9c9c86SGreg Roachuse Fisharebest\Webtrees\I18N;
23*de9c9c86SGreg Roach
24*de9c9c86SGreg Roach/**
25*de9c9c86SGreg Roach * _ACT tags from Geneatique
26*de9c9c86SGreg Roach */
27*de9c9c86SGreg Roachclass GeneatiqueAct extends AbstractElement
28*de9c9c86SGreg Roach{
29*de9c9c86SGreg Roach    /**
30*de9c9c86SGreg Roach     * A list of controlled values for this element
31*de9c9c86SGreg Roach     *
32*de9c9c86SGreg Roach     * @return array<int|string,string>
33*de9c9c86SGreg Roach     */
34*de9c9c86SGreg Roach    public function values(): array
35*de9c9c86SGreg Roach    {
36*de9c9c86SGreg Roach        return [
37*de9c9c86SGreg Roach            ''   => '',
38*de9c9c86SGreg Roach            'al' => I18N::translate('online'),
39*de9c9c86SGreg Roach            'ca' => I18N::translate('local'),
40*de9c9c86SGreg Roach            'c'  => I18N::translateContext('NOUN', 'copy'),
41*de9c9c86SGreg Roach            'p'  => I18N::translate('photocopy'),
42*de9c9c86SGreg Roach            'e'  => I18N::translateContext('NOUN', 'extract'),
43*de9c9c86SGreg Roach            '<'  => I18N::translate('before'),
44*de9c9c86SGreg Roach            '>'  => I18N::translate('after'),
45*de9c9c86SGreg Roach        ];
46*de9c9c86SGreg Roach    }
47*de9c9c86SGreg Roach}
48