http://localize.drupal.org/translate/projects/drupal/warnings
reports incorrect usage of t() and friends.
It's quite a long list because a bunch of those incorrect usages are actually legit (the parser picks up:
function t($message, $args, $options) {
as 'incorrectly using t() with variables', ...)
but a few of them aren't. I have long not completed the list, but found two that are definitely incorrect.
If I ever get to the end of the list, I will post a comprehensive list of those that remain, especially where I'm unsure.
Simple patch for now.

Comments

plach’s picture

Component: language system » locale.module

Status: Needs review » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.