/webtrees/app/Http/Middleware/ |
H A D | UseLanguage.php | 26 use Fisharebest\Webtrees\Module\ModuleLanguageInterface; alias 62 if ($language instanceof ModuleLanguageInterface) { 82 $languages = $this->module_service->findByInterface(ModuleLanguageInterface::class, true); 86 …->first(static fn (ModuleLanguageInterface $module): bool => $module->locale()->languageTag() === … 89 $locales = $this->module_service->findByInterface(ModuleLanguageInterface::class, true) 90 … ->map(static fn (ModuleLanguageInterface $module): LocaleInterface => $module->locale()); 96 …->first(static fn (ModuleLanguageInterface $module): bool => $module->locale()->languageTag() === …
|
/webtrees/app/ |
H A D | I18N.php | 31 use Fisharebest\Webtrees\Module\ModuleLanguageInterface; alias 206 private static ModuleLanguageInterface $language; 222 ->findByInterface(ModuleLanguageInterface::class, false, true) 223 … ->map(static fn (ModuleLanguageInterface $module): LocaleInterface => $module->locale()); 303 ->findByInterface(ModuleLanguageInterface::class, true) 304 … ->first(fn (ModuleLanguageInterface $module): bool => $module->locale()->languageTag() === $code); 365 * @return ModuleLanguageInterface 367 public static function language(): ModuleLanguageInterface
|
/webtrees/app/Http/RequestHandlers/ |
H A D | AccountEdit.php | 27 use Fisharebest\Webtrees\Module\ModuleLanguageInterface; alias 78 … $languages = $this->module_service->findByInterface(ModuleLanguageInterface::class, true, true) 79 ->mapWithKeys(static function (ModuleLanguageInterface $module): array {
|
H A D | UserEditPage.php | 26 use Fisharebest\Webtrees\Module\ModuleLanguageInterface; alias 86 … $languages = $this->module_service->findByInterface(ModuleLanguageInterface::class, true, true) 87 ->mapWithKeys(static function (ModuleLanguageInterface $module): array {
|
H A D | UserListData.php | 25 use Fisharebest\Webtrees\Module\ModuleLanguageInterface; alias 73 $languages = $this->module_service->findByInterface(ModuleLanguageInterface::class, true) 74 ->mapWithKeys(static function (ModuleLanguageInterface $module): array {
|
H A D | ModulesLanguagesPage.php | 23 use Fisharebest\Webtrees\Module\ModuleLanguageInterface; alias 42 ModuleLanguageInterface::class,
|
H A D | ModulesLanguagesAction.php | 24 use Fisharebest\Webtrees\Module\ModuleLanguageInterface; alias 43 $this->updateStatus(ModuleLanguageInterface::class, $request);
|
H A D | ControlPanel.php | 35 use Fisharebest\Webtrees\Module\ModuleLanguageInterface; alias 193 …ules_disabled' => $this->module_service->findByInterface(ModuleLanguageInterface::class, t… 194 …odules_enabled' => $this->module_service->findByInterface(ModuleLanguageInterface::class),
|
H A D | SetupWizard.php | 32 use Fisharebest\Webtrees\Module\ModuleLanguageInterface; alias 147 … ->map(static fn (ModuleLanguageInterface $module): LocaleInterface => $module->locale());
|
/webtrees/app/Services/ |
H A D | ModuleService.php | 197 use Fisharebest\Webtrees\Module\ModuleLanguageInterface; alias 288 ModuleLanguageInterface::class, 809 … $title1 = $x instanceof ModuleLanguageInterface ? $x->locale()->endonymSortable() : $x->title(); 810 … $title2 = $y instanceof ModuleLanguageInterface ? $y->locale()->endonymSortable() : $y->title(); 824 …(static fn (ModuleInterface $module): bool => $module instanceof ModuleLanguageInterface && $modul… 825 …->sort(static fn (ModuleLanguageInterface $x, ModuleLanguageInterface $y): int => $x->locale()->en…
|
H A D | RelationshipService.php | 27 use Fisharebest\Webtrees\Module\ModuleLanguageInterface; alias 79 ->findByInterface(ModuleLanguageInterface::class, true) 80 …->first(fn (ModuleLanguageInterface $language): bool => $language->locale()->languageTag() === I18… 197 * @param ModuleLanguageInterface $language 201 public function nameFromPath(array $nodes, ModuleLanguageInterface $language): string
|
/webtrees/resources/views/admin/ |
H A D | modules.phtml | 19 use Fisharebest\Webtrees\Module\ModuleLanguageInterface; alias 281 <?php if ($module instanceof ModuleLanguageInterface) : ?>
|
/webtrees/app/Module/ |
H A D | LanguageAfrikaans.php | 28 class LanguageAfrikaans extends AbstractModule implements ModuleLanguageInterface
|
H A D | LanguageHindi.php | 28 class LanguageHindi extends AbstractModule implements ModuleLanguageInterface
|
H A D | LanguageGalician.php | 28 class LanguageGalician extends AbstractModule implements ModuleLanguageInterface
|
H A D | LanguageBosnian.php | 28 class LanguageBosnian extends AbstractModule implements ModuleLanguageInterface
|
H A D | LanguageCatalan.php | 28 class LanguageCatalan extends AbstractModule implements ModuleLanguageInterface
|
H A D | LanguagePortuguese.php | 28 class LanguagePortuguese extends AbstractModule implements ModuleLanguageInterface
|
H A D | LanguageGeorgian.php | 28 class LanguageGeorgian extends AbstractModule implements ModuleLanguageInterface
|
H A D | LanguageItalian.php | 28 class LanguageItalian extends AbstractModule implements ModuleLanguageInterface
|
H A D | LanguageGreek.php | 28 class LanguageGreek extends AbstractModule implements ModuleLanguageInterface
|
H A D | LanguageChineseTraditional.php | 28 class LanguageChineseTraditional extends AbstractModule implements ModuleLanguageInterface
|
H A D | LanguageChineseSimplified.php | 28 class LanguageChineseSimplified extends AbstractModule implements ModuleLanguageInterface
|
H A D | LanguageFaroese.php | 28 class LanguageFaroese extends AbstractModule implements ModuleLanguageInterface
|
H A D | LanguageDivehi.php | 28 class LanguageDivehi extends AbstractModule implements ModuleLanguageInterface
|