Closed (duplicate)
Project:
Coder
Version:
6.x-1.x-dev
Component:
Review/Rules
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2008 at 22:17 UTC
Updated:
24 Sep 2008 at 13:19 UTC
Strings provided to format_plural() should not be wrapped in t() function calls. Add check for this.
Comments
Comment #1
gábor hojtsyThe 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.