Closed (fixed)
Project:
Node Gallery
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jul 2011 at 08:36 UTC
Updated:
28 Jul 2011 at 13:41 UTC
The first parameter to t() should be a literal string. There should be no variables, concatenation, constants or other non-literal strings there. At t(check_plain($title)) in node_gallery.pages.inc on line 127. Read more at http://drupal.org/node/322732
Sorry to be a pain but I am getting this message upon extraction. Guess there is only a minor fix needed.
Comments
Comment #1
justintime commentedNot a problem at all. If you didn't bring it up, the coder module would just before release.
FWIW, I actually removed the t() in this case. It was wrapping the title of a user gallery, and there's no way to wrap completely dynamic strings with t().