fisharebest /
webtrees
| 1 | <?php |
||
| 2 | |||
| 3 | /** |
||
| 4 | * webtrees: online genealogy |
||
| 5 | * Copyright (C) 2025 webtrees development team |
||
| 6 | * This program is free software: you can redistribute it and/or modify |
||
| 7 | * it under the terms of the GNU General Public License as published by |
||
| 8 | * the Free Software Foundation, either version 3 of the License, or |
||
| 9 | * (at your option) any later version. |
||
| 10 | * This program is distributed in the hope that it will be useful, |
||
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
| 13 | * GNU General Public License for more details. |
||
| 14 | * You should have received a copy of the GNU General Public License |
||
| 15 | * along with this program. If not, see <https://www.gnu.org/licenses/>. |
||
| 16 | */ |
||
| 17 | |||
| 18 | declare(strict_types=1); |
||
| 19 | |||
| 20 | namespace Fisharebest\Webtrees\Module; |
||
| 21 | |||
| 22 | use Fisharebest\Localization\Locale\LocaleEnGb; |
||
| 23 | use Fisharebest\Localization\Locale\LocaleInterface; |
||
| 24 | |||
| 25 | class LanguageEnglishGreatBritain extends LanguageEnglishUnitedStates |
||
| 26 | { |
||
| 27 | // British English changes "three-times" to "thrice" |
||
| 28 | protected const array REMOVED = [ |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 29 | '', |
||
| 30 | ' once removed', |
||
| 31 | ' twice removed', |
||
| 32 | ' thrice removed', |
||
| 33 | ' four times removed', |
||
| 34 | ' five times removed', |
||
| 35 | ' six times removed', |
||
| 36 | ' seven times removed', |
||
| 37 | ' eight times removed', |
||
| 38 | ' nine times removed', |
||
| 39 | ' ten times removed', |
||
| 40 | ' eleven removed', |
||
| 41 | ' twelve removed', |
||
| 42 | ' thirteen removed', |
||
| 43 | ' fourteen times removed', |
||
| 44 | ' fifteen times removed', |
||
| 45 | ' sixteen times removed', |
||
| 46 | ' seventeen times removed', |
||
| 47 | ' eighteen times removed', |
||
| 48 | ' nineteen times removed', |
||
| 49 | ' twenty times removed', |
||
| 50 | ' twenty-one times removed', |
||
| 51 | ' twenty-two times removed', |
||
| 52 | ' twenty-three times removed', |
||
| 53 | ' twenty-four times removed', |
||
| 54 | ' twenty-five times removed', |
||
| 55 | ' twenty-six times removed', |
||
| 56 | ' twenty-seven times removed', |
||
| 57 | ' twenty-eight times removed', |
||
| 58 | ' twenty-nine times removed', |
||
| 59 | ]; |
||
| 60 | |||
| 61 | public function dateOrder(): string |
||
| 62 | { |
||
| 63 | return 'DMY'; |
||
| 64 | } |
||
| 65 | |||
| 66 | public function locale(): LocaleInterface |
||
| 67 | { |
||
| 68 | return new LocaleEnGb(); |
||
| 69 | } |
||
| 70 | } |
||
| 71 |