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.

CommentFileSizeAuthor
#1 1165382.patch2.23 KBjustintime

Comments

justintime’s picture

Status: Active » Needs review
StatusFileSize
new2.23 KB

A few of the watchdog() calls were unneeded, so I yanked them. The rest should be resolved in this patch.

dddave’s picture

Status: Needs review » Fixed

Seems fine.

justintime’s picture

Pushed fc9ea0b into 3.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.