Task #57404
Validation translation sample is wrong in documentation
Status: | Resolved | Start date: | 2014-03-28 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 100% |
|
Category: | - | |||
Target version: | - | |||
Sprint: | Has patch: | No | ||
PHP Version: | 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".
Associated revisions
History
#1 Updated by Alexander Berl over 1 year ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 20283190e8f2dcbf1208eaa3e5a915675ea4bd4b.