Project

General

Profile

Actions

Bug #66973

closed

BooleanValidator Translation Key not set

Added by Philipp Bauer over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
Start date:
2015-05-15
Due date:
% Done:

100%

Estimated time:
0.25 h
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

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

BooleanValidator.php (2.47 KB) BooleanValidator.php Philipp Bauer, 2015-05-15 16:52
Actions

Also available in: Atom PDF