‚/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php<y/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../symfony/polyfill-php80/Resources/stubs/ValueError.phpF px/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/AttestedCredentialData.phpG t€/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/AuthenticatorAssertionResponse.php t‚/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/AuthenticatorAttestationResponse.phpts/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/AuthenticatorData.phpÿÿÿÿ H <y/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/AuthenticatorDataLoader.phpI tw/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/AuthenticatorResponse.phpPI <€/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/AuthenticatorSelectionCriteria.php <{/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CeremonyStep.phpJ t‚/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CeremonyStepManager.php2}/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CheckAlgorithm.phpL p}/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CheckChallenge.phpO {/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CheckCounter.phpU Q€/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CheckCredentialId.php ~/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CheckExtensions.phpY Q…/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CheckMetadataStatement.phpz/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CheckOrigin.php[ H}/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CheckSignature.php\ H}/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CheckTopOrigin.php^ +~/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CheckUserHandle.phpT „/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CheckUserVerification.php‚/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/CheckUserWasPresent.php…/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/HostTopOriginValidator.php/var/www/vhosts/cv-rlp.next-cloud.org/httpdocs/3rdparty/composer/../web-auth/webauthn-lib/src/CeremonyStep/TopOriginValidator.php€5@€5@€Â@À4@ø4@È5@g $domain * @param Model $template * @return GetText */ public function loadTemplateLocale(string $domain, Model $template): self { return $this->loadLocaleFile($this->getTemplateMoPath($domain, $template)); } /** * @param string $domain * @param PluginListingItem $item * @return GetText */ public function loadPluginItemLocale(string $domain, PluginListingItem $item): self { return $this->loadTranslations(\PFAD_ROOT . \PLUGIN_DIR . $item->getDir() . '/', $domain); } /** * @param string $domain * @param TemplateListingItem $item * @return GetText */ public function loadTemplateItemLocale(string $domain, TemplateListingItem $item): self { return $this->loadTranslations(\PFAD_ROOT . \PFAD_TEMPLATES . $item->getDir() . '/', $domain); } /** * @param string $dir * @param string $domain * @return Translations|null */ public function getTranslations(string $dir, string $domain): ?Translations { $path = $this->getMoPath($dir, $domain); $this->loadLocaleFile($path); return $this->translations[$path]; } /** * @param string $domain * @return Translations|null */ public function getAdminTranslations(string $domain): ?Translations { $path = $this->getAdminMoPath($domain); $this->loadLocaleFile($path); return $this->translations[$path]; } /** * @param string|null $langTag * @return GetText */ public function setLanguage(?string $langTag = null): self { $langTag = $langTag ?? $_SESSION['AdminAccount']->language ?? $this->langTag; if ($this->langTag === $langTag) { return $this; } $oldLangTag = $this->langTag; $oldTranslations = $this->translations; $this->langTag = $langTag; $this->translations = []; $this->translator = new Translator(); TranslatorFunctions::register($this->translator); if (!empty($oldLangTag)) { foreach ($oldTranslations as $path => $trans) { $newPath = \str_replace('/' . $oldLangTag . '/', '/' . $langTag . '/', $path); $this->loadLocaleFile($newPath); } } return $this; } /** * @return array */ public function getAdminLanguages(): array { $languages = []; foreach (\scandir(\PFAD_ROOT . \PFAD_ADMIN . 'locale/', \SCANDIR_SORT_ASCENDING) ?: [] as $dir) { if ($dir !== '.' && $dir !== '..') { $locale = \Locale::getDisplayLanguage($dir, $dir); if ($locale !== false) { $languages[$dir] = $locale; } } } return $languages; } /** * @param bool $withGroups * @param bool $withSections */ public function loadConfigLocales(bool $withGroups = false, bool $withSections = false): void { $this->loadAdminLocale('configs/configs') ->loadAdminLocale('configs/values') ->loadAdminLocale('configs/groups'); if ($withGroups) { $this->loadAdminLocale('configs/groups'); } if ($withSections) { $this->loadAdminLocale('configs/sections'); } } /** * @param Item $config */ public function localizeConfig(Item $config): void { if ($config->isConfigurable()) { $config->setName(\__($config->getValueName() . '_name')); $config->setDescription(\__($config->getValueName() . '_desc')); if ($config->getDescription() === $config->getValueName() . '_desc') { $config->setDescription(''); } } else { $config->setName(\__($config->getValueName())); } } /** * @param Item[] $configs */ public function localizeConfigs(array $configs): void { foreach ($configs as $config) { $this->localizeConfig($config); } } /** * @param Item $config * @param stdClass $value */ public function localizeConfigValue(Item $config, stdClass $value): void { $value->cName = \__($config->getValueName() . '_value(' . $value->cWert . ')'); } /** * @param Item $config * @param stdClass[] $values */ public function localizeConfigValues(Item $config, array $values): void { foreach ($values as $value) { $this->localizeConfigValue($config, $value); } } /** * @param stdClass $section */ public function localizeConfigSection(stdClass $section): void { $section->cName = \__('configsection_' . $section->kEinstellungenSektion); } /** * @param stdClass[] $sections */ public function localizeConfigSections(array $sections): void { foreach ($sections as $section) { $this->localizeConfigSection($section); } } }