Feature #33970

Add translation files for bundled validator error messages

Added by Karsten Dambekalns over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
I18n
Start date:
2012-02-16
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Related issues

Related to TYPO3.Flow - Feature #6456: Customization/localization of validator errorsClosed

Actions
Related to TYPO3.Flow - Feature #28399: Validation message and code should be configurable for bundled validatorsNeeds Feedback2011-07-22

Actions
#1

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Accepted to Under Review

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9045

#2

Updated by Bastian Waidelich over 9 years ago

FYI this is (kind of) how you can use those to output localized validation messages:

<f:form.validationResults for="{property}">
    <f:for each="{validationResults.errors}" as="error">
        {error -> f:translate(key: error.code, arguments: error.arguments, package: 'TYPO3.FLOW3', source: 'ValidationErrors')}
    </f:for>
</f:form.validationResults>

#3

Updated by Karsten Dambekalns over 9 years ago

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

Also available in: Atom PDF