Error message:

The submitted string contains disallowed HTML: Torna alla home page.

This is due to the token "[site:url]". The following translation works, for instance:

The submitted string contains disallowed HTML: Torna alla home page.

Comments

This string has been translated on the translation server, though: http://localize.drupal.org/translate/languages/de/translate?sid=435083

What else can we do here? We can't translate the string alone, what if you want to return to somewhere other than the front page?

Maybe this is something to bring up with core, since the [variable:name] syntax is so common for tokens. Perhaps this could be allowed to pass the filter test.

Thanks for the heads up about the string already being translated. This will probably work for me, but some people may want to have a different translation of the same text, and won't be able to easily do the translation.

Status:Active» Postponed

Already noted against core, Drupal Commerce suffers from the same problem, with no solution yet

#1292140: Can't translate completion message due to tokens in t() string.
#1196488: Allow checkout completion message to be translated

Marked #1734690: Can't translate "<a href="[uc_order:url]">view your current order status</a>" as duplicate, although that's a slightly different string - we should deal with all strings containing tokens here.

Title:Can't translate "Return to the front page"Can't translate "Return to the front page" or other strings containg links to tokens

Title:Can't translate "Return to the front page" or other strings containg links to tokensCan't translate "Return to the front page" or other strings containing links to tokens

Fixed the typo in the title.