Bug #66973
closedBooleanValidator Translation Key not set
100%
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">
<source>The given subject was not true.</source>
</trans-unit>
<trans-unit id="validator.boolean.nofalse" xml:space="preserve">
<source>The given subject was not false.</source>
</trans-unit>
Files
Updated by Philipp Bauer over 9 years ago
Typo in localization key, here the updated one:
<trans-unit id="validator.boolean.nottrue" xml:space="preserve">
<source>The given subject was not true.</source>
</trans-unit>
<trans-unit id="validator.boolean.notfalse" xml:space="preserve">
<source>The given subject was not false.</source>
</trans-unit>
Updated by Gerrit Code Review over 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39620
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39620
Updated by Frederic Gaus over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8b57e43fb116aae39dde190c1215e9606b498e61.