diff --git a/typo3/sysext/core/Classes/TypoScript/AST/Visitor/AstConstantCommentVisitor.php b/typo3/sysext/core/Classes/TypoScript/AST/Visitor/AstConstantCommentVisitor.php index de2f2a408ded..dcab17e99c97 100644 --- a/typo3/sysext/core/Classes/TypoScript/AST/Visitor/AstConstantCommentVisitor.php +++ b/typo3/sysext/core/Classes/TypoScript/AST/Visitor/AstConstantCommentVisitor.php @@ -348,7 +348,7 @@ private function parseNodeComment(TokenStreamInterface $commentTokenStream, stri $selected = true; } $parsedCommentArray['labelValueArray'][] = [ - 'label' => $label, + 'label' => $languageService->sL($label), 'value' => $value, 'selected' => $selected, ];