[BUGFIX] Add fieldname to DataHandler translateToMessage hook
This patch adds a fieldname parameter to the DataHandler localize translateToMessage hook. The fieldname helps hook objects to identify the currently processed field. Thus based on the field, the hook can make some decisions on translate. Resolves: #84844 Releases: master, 9.5, 8.7 Change-Id: If7b05f017ed1cdbc777d8cda18fce84f9a01ac04 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/56957 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Tobi Kretschmann <tobi@tobishome.de> Tested-by:
Steffen Frese <steffenf14@gmail.com> Tested-by:
Julian Geils <j_geils@web.de> Tested-by:
Dieter Porth <d.porth@neusta.de> Tested-by:
Jörg Bösche <typo3@joergboesche.de> Reviewed-by:
Dieter Porth <d.porth@neusta.de> Reviewed-by:
Tobi Kretschmann <tobi@tobishome.de> Reviewed-by:
Steffen Frese <steffenf14@gmail.com> Reviewed-by:
Julian Geils <j_geils@web.de> Reviewed-by:
Jan Stockfisch <typo3@jan-stockfisch.de> Reviewed-by:
Jörg Bösche <typo3@joergboesche.de>
Showing
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 1 addition, 1 deletiontypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Documentation/Changelog/8.5/Feature-67909-AddHookToDataHandler-Localize-TranslateToMessage.rst 7 additions, 2 deletions...7909-AddHookToDataHandler-Localize-TranslateToMessage.rst
- typo3/sysext/core/Documentation/Changelog/8.7.x/Important-84844-AddFieldnameToDataHandler-Localize-TranslateToMessageHook.rst 14 additions, 0 deletions...ieldnameToDataHandler-Localize-TranslateToMessageHook.rst
Please register or sign in to comment