Task #57404

Validation translation sample is wrong in documentation

Added by Alexander Berl over 1 year ago. Updated over 1 year ago.

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

Revision dbd5bc6a
Added by Alexander Berl over 1 year ago

[TASK] Update documentation

This fixes some documentation issues and typos.

Change-Id: I7a59b8fcbdf60e00e2bc3525fb64f43cf2c96f42
Resolves: #57160, #57404
Releases: master, 2.2

Revision 20283190
Added by Alexander Berl over 1 year ago

[TASK] Update documentation

This fixes some documentation issues and typos.

Change-Id: I7a59b8fcbdf60e00e2bc3525fb64f43cf2c96f42
Resolves: #57160, #57404
Releases: master, 2.2
(cherry picked from commit dbd5bc6a94ce4af589e127da9a426221223b0ea9)

History

#1 Updated by Alexander Berl over 1 year ago

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

Also available in: Atom PDF