Issue Bug Closed

#66973BooleanValidator Translation Key not set

Philipp Bauer 05/15/15, 16:52 updated 10/02/18, 11:44

Description

In class TYPO3\CMS\Extbase\Validation\Validator\BooleanValidator a simple string instead of translation key is used, what prevents the correct, translated error from being shown to the user.

Append to typo3/sysext/extbase/Resources/Private/Language/locallang.xlf:

<trans-unit id="validator.boolean.notrue" xml:space="preserve"><br> <source>The given subject was not true.<br></trans-unit>
<trans-unit id="validator.boolean.nofalse" xml:space="preserve"><br> <source>The given subject was not false.<br></trans-unit>

Reviews 1