Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jan 2009 at 00:16 UTC
Updated:
10 Feb 2009 at 16:10 UTC
The API documentation for t() currently disallows all markup. Per webchick and others on IRC, t() can and should include markup when it's necessary for the context of the translation. The API should be updated to clarify this rule.
Note: This issue originated here: #291135: Incorrect use of t() in hook_help() documentation.
Comments
Comment #1
johnnocMoving to the correct queue and component
Comment #2
todd nienkerk commentedLooks like the API was updated recently. The documentation now allows the use of markup. Marking as fixed.