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