extension_builder
extension_builder copied to clipboard
ucwords() for field-descriptions is wrong
Describe the bug Field descriptions are parsed all by ucwords() and are entered in the language files like this.
To Reproduce Steps to reproduce the behavior:
- Create some field(s)
- Enter a description with lower case words.
- Save
- See the fault in the produced extension in the backend or just look in the language files
Expected behavior That the case of words is kept like written in the extension builder.
Screenshots If applicable, add screenshots to help explain your problem.
TYPO3 Version
Extension Builder Version: v11
Additional context The fault is in LocalizationService:
$labelArray[$property->getDescriptionNamespace()] = Inflector::humanize($property->getDescription());
This shoukld just be
$labelArray[$property->getDescriptionNamespace()] = $property->getDescription();