Closed (works as designed)
Project:
Job queue
Version:
6.x-3.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2009 at 17:52 UTC
Updated:
5 Jan 2010 at 21:21 UTC
When I add a job, my description is:
$job_name = t('Send affiliate account statement to !username', array('!username' => l($account->name, 'user/' . $account->uid)));
When I view this on the job queue report page, all of the links have been munged by the t() call on line 153. Looking like:
http://foo.dev:8888/user/%3Cem%3Eaffiliate_statement%3C/em%3E%3Cem%3Ecli...
I don't know why that call is even there as dynamic text shouldn't be translated.
Comments
Comment #1
drummLike watchdog calls, you should not call t(). $description should be 'Send affiliate account statement to !username' and $arguments = array(..., '!username' => l(...)).