2 namespace TYPO3\CMS\Lang\Service;
68 $this->mirrorUrl = $helper->getMirrors(
false)->getMirrorUrl();
81 $locales = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(
',',
$locales);
84 foreach ($locales as $locale => $key) {
85 $state = static::TRANSLATION_INVALID;
88 }
catch (\Exception $exception) {
89 $error = $exception->getMessage();
91 $locales[$locale] = array(
108 if (empty($extensionKey) || empty($locale)) {
109 return static::TRANSLATION_INVALID;
111 $state = static::TRANSLATION_FAILED;
113 $updateResult = $this->terService->updateTranslation($extensionKey, $locale, $this->
getMirrorUrl($extensionKey));
114 if ($updateResult ===
true) {
115 $state = static::TRANSLATION_UPDATED;
128 $this->signalSlotDispatcher->dispatch(
130 'postProcessMirrorUrl',
132 'extensionKey' => $extensionKey,
133 'mirrorUrl' => &$this->mirrorUrl,