Closed (works as designed)
Project:
Simplenews
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2011 at 08:59 UTC
Updated:
2 Dec 2011 at 17:40 UTC
On /admin/config/regional/translate/export I got the following Error Message:
The first parameter to t() should be a literal string. There should be no variables, concatenation, constants or other non-literal strings there. Bei t($item->name) in includes/simplenews.admin.inc on line 796. Read more at http://drupal.org/node/322732
Comments
Comment #1
simon georges commentedMmmhhh... do you have any idea how we can fix that ?
Comment #2
thomaslausz commentedI'm sorry, I am not really a developer. I just contributing by pointing it out :-(
cheers
t
Comment #3
berdirAlthough this is wrong, core does this too. This will change in D8 but in Drupal 7, there is no other way.