Closed (won't fix)
Project:
Messaging
Version:
6.x-1.1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2009 at 08:17 UTC
Updated:
25 Apr 2009 at 09:52 UTC
I am getting this error when trying to translate the messages in different languages:
* 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($text,$variables) in messaging_debug/messaging_debug.module on line 67.
* 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($text,$variables) in messaging_debug/messaging_debug.module on line 330.
* The first two watchdog() parameters should be literal strings. There should be no variables, concatenation, constants or even a t() call there. At watchdog('messaging',$text,$variables) in messaging_debug/messaging_debug.module on line 318.
I am not entirely sure if this is a bug or a problem with my installation instead, but since some strings do not seem to work for translation at all I thought I might share this.
I hope someone with a better understanding of the module can provide some light.
Comments
Comment #1
jose reyero commentedThese are template extractor messages, aren't they?
Yes, there's some not that clean code there, but this is a debug module so I don't think we really want to translate that messages. You can safely ignore them.
Comment #2
castawaybcn commentedYes they are, thanks for the answer.
I am quite new to Drupal and I am probably getting too worried about any error messages.