Task #57404

Validation translation sample is wrong in documentation

Added by Alexander Berl over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-03-28
Due date:
% Done:

100%

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

Description

The Validation documentation in The Definitive Guide Part II show following example code:

{error -> f:translate(key: error.code, arguments: error.arguments, package: 'TYPO3.Flow', source: 'ValidationErrors')}

This is wrong, as the translate viewhelper argument for the "key" is actually named "id".

#1

Updated by Alexander Berl over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF