xref: /webtrees/app/Module/LanguageKurdish.php (revision d11be7027e34e3121be11cc025421873364403f9)
1015d9fbcSGreg Roach<?php
2015d9fbcSGreg Roach
3015d9fbcSGreg Roach/**
4015d9fbcSGreg Roach * webtrees: online genealogy
5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team
6015d9fbcSGreg Roach * This program is free software: you can redistribute it and/or modify
7015d9fbcSGreg Roach * it under the terms of the GNU General Public License as published by
8015d9fbcSGreg Roach * the Free Software Foundation, either version 3 of the License, or
9015d9fbcSGreg Roach * (at your option) any later version.
10015d9fbcSGreg Roach * This program is distributed in the hope that it will be useful,
11015d9fbcSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of
12015d9fbcSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13015d9fbcSGreg Roach * GNU General Public License for more details.
14015d9fbcSGreg 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/>.
16015d9fbcSGreg Roach */
17015d9fbcSGreg Roach
18015d9fbcSGreg Roachdeclare(strict_types=1);
19015d9fbcSGreg Roach
20015d9fbcSGreg Roachnamespace Fisharebest\Webtrees\Module;
21015d9fbcSGreg Roach
22015d9fbcSGreg Roachuse Fisharebest\Localization\Locale\LocaleInterface;
23015d9fbcSGreg Roachuse Fisharebest\Localization\Locale\LocaleKu;
24015d9fbcSGreg Roach
25015d9fbcSGreg Roach/**
26015d9fbcSGreg Roach * Class LanguageKurdish.
27015d9fbcSGreg Roach */
28015d9fbcSGreg Roachclass LanguageKurdish extends AbstractModule implements ModuleLanguageInterface
29015d9fbcSGreg Roach{
30015d9fbcSGreg Roach    use ModuleLanguageTrait;
31015d9fbcSGreg Roach
32015d9fbcSGreg Roach    /**
33015d9fbcSGreg Roach     * Should this module be enabled when it is first installed?
34015d9fbcSGreg Roach     *
35015d9fbcSGreg Roach     * @return bool
36015d9fbcSGreg Roach     */
37015d9fbcSGreg Roach    public function isEnabledByDefault(): bool
38015d9fbcSGreg Roach    {
39015d9fbcSGreg Roach        return false;
40015d9fbcSGreg Roach    }
41015d9fbcSGreg Roach
42015d9fbcSGreg Roach    /**
43015d9fbcSGreg Roach     * @return LocaleInterface
44015d9fbcSGreg Roach     */
45015d9fbcSGreg Roach    public function locale(): LocaleInterface
46015d9fbcSGreg Roach    {
47015d9fbcSGreg Roach        return new LocaleKu();
48015d9fbcSGreg Roach    }
49015d9fbcSGreg Roach}
50