The potx error

pvasili - October 29, 2009 - 09:43
Project:Simplenews
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:won't fix
Description

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($item->name) in simplenews/simplenews.admin.inc on line 407. Read more at http://drupal.org/node/322732

#1

Sutharsan - November 24, 2009 - 21:54
Priority:normal» minor
Status:needs review» won't fix

The code is taken from local_user() function. And no, this does not make it code good, but it is as good as its currently gets.

 
 

Drupal is a registered trademark of Dries Buytaert.