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