Strings provided to format_plural() should not be wrapped in t() function calls. Add check for this.

Comments

gábor hojtsy’s picture

Status: Active » Closed (duplicate)

The potx code review already assures that format_plural() only allows for format_plural(..., literal string, literal string), so if you use t() or any other function, it will bail (and better inform you about the error once http://drupal.org/node/312523 is committed), so this does not looks like it would be a duplicate of what potx already does.