19fb58c9eSGreg Roach<?php 29fb58c9eSGreg Roach 39fb58c9eSGreg Roach/** 49fb58c9eSGreg Roach * webtrees: online genealogy 5*d11be702SGreg Roach * Copyright (C) 2023 webtrees development team 69fb58c9eSGreg Roach * This program is free software: you can redistribute it and/or modify 79fb58c9eSGreg Roach * it under the terms of the GNU General Public License as published by 89fb58c9eSGreg Roach * the Free Software Foundation, either version 3 of the License, or 99fb58c9eSGreg Roach * (at your option) any later version. 109fb58c9eSGreg Roach * This program is distributed in the hope that it will be useful, 119fb58c9eSGreg Roach * but WITHOUT ANY WARRANTY; without even the implied warranty of 129fb58c9eSGreg Roach * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 139fb58c9eSGreg Roach * GNU General Public License for more details. 149fb58c9eSGreg Roach * You should have received a copy of the GNU General Public License 159fb58c9eSGreg Roach * along with this program. If not, see <https://www.gnu.org/licenses/>. 169fb58c9eSGreg Roach */ 179fb58c9eSGreg Roach 189fb58c9eSGreg Roachdeclare(strict_types=1); 199fb58c9eSGreg Roach 209fb58c9eSGreg Roachnamespace Fisharebest\Webtrees\Module; 219fb58c9eSGreg Roach 229fb58c9eSGreg Roachuse Fisharebest\Localization\Locale\LocaleCy; 23f0c88a96SGreg Roachuse Fisharebest\Localization\Locale\LocaleInterface; 249fb58c9eSGreg Roach 259fb58c9eSGreg Roach/** 269fb58c9eSGreg Roach * Class LanguageWelsh. 279fb58c9eSGreg Roach */ 289fb58c9eSGreg Roachclass LanguageWelsh extends AbstractModule implements ModuleLanguageInterface 299fb58c9eSGreg Roach{ 309fb58c9eSGreg Roach use ModuleLanguageTrait; 319fb58c9eSGreg Roach 329fb58c9eSGreg Roach /** 339fb58c9eSGreg Roach * Should this module be enabled when it is first installed? 349fb58c9eSGreg Roach * 359fb58c9eSGreg Roach * @return bool 369fb58c9eSGreg Roach */ 379fb58c9eSGreg Roach public function isEnabledByDefault(): bool 389fb58c9eSGreg Roach { 399fb58c9eSGreg Roach return false; 409fb58c9eSGreg Roach } 419fb58c9eSGreg Roach 429fb58c9eSGreg Roach /** 439fb58c9eSGreg Roach * @return LocaleInterface 449fb58c9eSGreg Roach */ 459fb58c9eSGreg Roach public function locale(): LocaleInterface 469fb58c9eSGreg Roach { 479fb58c9eSGreg Roach return new LocaleCy(); 489fb58c9eSGreg Roach } 499fb58c9eSGreg Roach} 50