[TASK] EXT:form - simplify translation file includes 08/52008/25
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Sat, 11 Mar 2017 22:11:42 +0000 (23:11 +0100)
committerFrank Nägler <frank.naegler@typo3.org>
Fri, 24 Mar 2017 14:35:09 +0000 (15:35 +0100)
commitdf41182a18567833878ed3aa6e58275c45954167
tree841cdf3eb3b3080996ef2c1e18e39b60c05b40b4
parent7a4814c2f20443dc4aae8eeea8d08ea02eb1af6c
[TASK] EXT:form - simplify translation file includes

With this patch, an integrator has prototype wide translation settings
for the 4 aspects of the form framework. Furthermore, the integrator is
able to define multiple translation files to avoid copying the whole
default translation files or using locallangXMLOverride.

Resolves: #80241
Releases: master
Change-Id: I96ff6afec42159fbbd9c9fcd9d4540e12e1221cd
Reviewed-on: https://review.typo3.org/52008
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Tested-by: Bjoern Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
14 files changed:
typo3/sysext/core/Documentation/Changelog/master/Important-80241-ExtFormSimplifyTranslationHandling.rst [new file with mode: 0644]
typo3/sysext/form/Classes/Controller/FormEditorController.php
typo3/sysext/form/Classes/Controller/FormManagerController.php
typo3/sysext/form/Classes/Domain/Finishers/AbstractFinisher.php
typo3/sysext/form/Classes/Hooks/DataStructureIdentifierHook.php
typo3/sysext/form/Classes/Mvc/Configuration/InheritancesResolverService.php
typo3/sysext/form/Classes/Service/TranslationService.php
typo3/sysext/form/Classes/ViewHelpers/TranslateElementErrorViewHelper.php [new file with mode: 0644]
typo3/sysext/form/Configuration/Yaml/BaseSetup.yaml
typo3/sysext/form/Configuration/Yaml/FormEngineSetup.yaml
typo3/sysext/form/Resources/Private/Frontend/Partials/Field/Field.html
typo3/sysext/form/Tests/Unit/Domain/Finishers/AbstractFinisherTest.php
typo3/sysext/form/Tests/Unit/Service/Fixtures/locallang_additional_text.xlf [new file with mode: 0644]
typo3/sysext/form/Tests/Unit/Service/TranslationServiceTest.php