xref: /webtrees/app/Module/LanguageBasque.php (revision bfc3bea86afb5334870f353713f9ca17140a7da6)
1*bfc3bea8SGreg Roach<?php
2*bfc3bea8SGreg Roach
3*bfc3bea8SGreg Roach/**
4*bfc3bea8SGreg Roach * webtrees: online genealogy
5*bfc3bea8SGreg Roach * Copyright (C) 2023 webtrees development team
6*bfc3bea8SGreg Roach * This program is free software: you can redistribute it and/or modify
7*bfc3bea8SGreg Roach * it under the terms of the GNU General Public License as published by
8*bfc3bea8SGreg Roach * the Free Software Foundation, either version 3 of the License, or
9*bfc3bea8SGreg Roach * (at your option) any later version.
10*bfc3bea8SGreg Roach * This program is distributed in the hope that it will be useful,
11*bfc3bea8SGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
12*bfc3bea8SGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13*bfc3bea8SGreg Roach * GNU General Public License for more details.
14*bfc3bea8SGreg Roach * You should have received a copy of the GNU General Public License
15*bfc3bea8SGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>.
16*bfc3bea8SGreg Roach */
17*bfc3bea8SGreg Roach
18*bfc3bea8SGreg Roachdeclare(strict_types=1);
19*bfc3bea8SGreg Roach
20*bfc3bea8SGreg Roachnamespace Fisharebest\Webtrees\Module;
21*bfc3bea8SGreg Roach
22*bfc3bea8SGreg Roachuse Fisharebest\Localization\Locale\LocaleEu;
23*bfc3bea8SGreg Roachuse Fisharebest\Localization\Locale\LocaleInterface;
24*bfc3bea8SGreg Roach
25*bfc3bea8SGreg Roach/**
26*bfc3bea8SGreg Roach * Class LanguageBasque.
27*bfc3bea8SGreg Roach */
28*bfc3bea8SGreg Roachclass LanguageBasque extends AbstractModule implements ModuleLanguageInterface
29*bfc3bea8SGreg Roach{
30*bfc3bea8SGreg Roach    use ModuleLanguageTrait;
31*bfc3bea8SGreg Roach
32*bfc3bea8SGreg Roach    /**
33*bfc3bea8SGreg Roach     * Should this module be enabled when it is first installed?
34*bfc3bea8SGreg Roach     *
35*bfc3bea8SGreg Roach     * @return bool
36*bfc3bea8SGreg Roach     */
37*bfc3bea8SGreg Roach    public function isEnabledByDefault(): bool
38*bfc3bea8SGreg Roach    {
39*bfc3bea8SGreg Roach        return false;
40*bfc3bea8SGreg Roach    }
41*bfc3bea8SGreg Roach
42*bfc3bea8SGreg Roach    /**
43*bfc3bea8SGreg Roach     * @return LocaleInterface
44*bfc3bea8SGreg Roach     */
45*bfc3bea8SGreg Roach    public function locale(): LocaleInterface
46*bfc3bea8SGreg Roach    {
47*bfc3bea8SGreg Roach        return new LocaleEu();
48*bfc3bea8SGreg Roach    }
49*bfc3bea8SGreg Roach}
50