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

jose reyero’s picture

Priority: Normal » Minor
Status: Active » Closed (won't fix)

These 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.

castawaybcn’s picture

Yes they are, thanks for the answer.
I am quite new to Drupal and I am probably getting too worried about any error messages.