diff --git a/typo3/sysext/backend/Classes/Form/Element/InputSlugElement.php b/typo3/sysext/backend/Classes/Form/Element/InputSlugElement.php index c5e7300c6836..d6233e4b02b4 100644 --- a/typo3/sysext/backend/Classes/Form/Element/InputSlugElement.php +++ b/typo3/sysext/backend/Classes/Form/Element/InputSlugElement.php @@ -105,6 +105,9 @@ public function render() $toggleButtonTitle = $this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:buttons.toggleSlugExplanation'); $recreateButtonTitle = $this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:buttons.recreateSlugExplanation'); + $successMessage = sprintf($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:slugCreation.success.' . ($table === 'pages' ? 'page' : 'record')), $baseUrl); + $errorMessage = sprintf($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:slugCreation.error'), $baseUrl); + $thisSlugId = 't3js-form-field-slug-id' . StringUtility::getUniqueId(); $mainFieldHtml = []; $mainFieldHtml[] = '
'; @@ -154,8 +157,8 @@ public function render() $mainFieldHtml[] = '
'; } $mainFieldHtml[] = '
'; - $mainFieldHtml[] = ''; - $mainFieldHtml[] = ''; + $mainFieldHtml[] = ''; + $mainFieldHtml[] = ''; $mainFieldHtml[] = $fieldWizardHtml; $mainFieldHtml[] = '
'; $mainFieldHtml[] = ''; diff --git a/typo3/sysext/core/Resources/Private/Language/locallang_core.xlf b/typo3/sysext/core/Resources/Private/Language/locallang_core.xlf index aff1ae8a19bd..4ca73c8516f5 100644 --- a/typo3/sysext/core/Resources/Private/Language/locallang_core.xlf +++ b/typo3/sysext/core/Resources/Private/Language/locallang_core.xlf @@ -994,6 +994,15 @@ Do you want to refresh it now? Recalculate URL segment from page title + + This page will be reachable via %s + + + The URL part of this record will be %s + + + The requested URL is already in use, but %s will be used instead + Copy