The first two watchdog() parameters should be literal strings. There should be no variables, concatenation, constants or even a t() call there. At watchdog('node_gallery',$message) in node_gallery.inc on line 339. Read more at http://drupal.org/node/323101
The first two watchdog() parameters should be literal strings. There should be no variables, concatenation, constants or even a t() call there. At watchdog('node_gallery',$message) in node_gallery.inc on line 941. Read more at http://drupal.org/node/323101
The first two watchdog() parameters should be literal strings. There should be no variables, concatenation, constants or even a t() call there. At watchdog('node_gallery',t('Could not open image for rotation')) in node_gallery.inc on line 1071. Read more at http://drupal.org/node/323101
node_gallery_perm() should have an array of literal string permission names. In node_gallery.module. Read more at http://drupal.org/node/323101
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('Node type "'.$type.'" created/modified.') in node_gallery.install on line 203. Read more at http://drupal.org/node/322732
I am receiving these messages after using the template extractor.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1165382.patch | 2.23 KB | justintime |
Comments
Comment #1
justintime commentedA few of the watchdog() calls were unneeded, so I yanked them. The rest should be resolved in this patch.
Comment #2
dddave commentedSeems fine.
Comment #3
justintime commentedPushed fc9ea0b into 3.x-dev.