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