Skip to content

Commit

Permalink
[BUGFIX] Translate options of extension settings
Browse files Browse the repository at this point in the history
While building the TypoScript AST tree
the label of the options argument in TS constant
comments will now be translated before output.

Resolves: #100854
Releases: main, 12.4
Change-Id: I7860bc84e014b5bb91b99c47d3f4c758b46a2cfa
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78975
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: core-ci <typo3@b13.com>
  • Loading branch information
froemken authored and georgringer committed May 10, 2023
1 parent 5fc3419 commit f57957d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -348,7 +348,7 @@ private function parseNodeComment(TokenStreamInterface $commentTokenStream, stri
$selected = true;
}
$parsedCommentArray['labelValueArray'][] = [
'label' => $label,
'label' => $languageService->sL($label),
'value' => $value,
'selected' => $selected,
];
Expand Down

0 comments on commit f57957d

Please sign in to comment.