Project

General

Profile

Actions

Bug #66973

closed

BooleanValidator Translation Key not set

Added by Philipp Bauer almost 9 years ago. Updated over 5 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 #1

Updated by Philipp Bauer almost 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>

Actions #2

Updated by Gerrit Code Review almost 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

Actions #3

Updated by Gerrit Code Review almost 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

Actions #4

Updated by Frederic Gaus almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF