As reported in localize.drupal.org, under Custom filter 7.x-1.0 information, the first argument of t() needs to be a literal string. Using a dynamic value has the same effect of not using t() at all, as the script that extracts the string to translate looks only for t("This is an example."), not t($dynamic_argument).

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($filter['name']) in customfilter/customfilter.module on line 30.

Comments

yukare’s picture

Version: 7.x-1.0 » 7.x-1.x-dev
Issue summary: View changes
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.