Closed (fixed)
Project:
Facet API Bonus
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2011 at 19:10 UTC
Updated:
13 Jan 2012 at 13:00 UTC
The $facet_object['label'] variable is passed to t() in the FacetapiDependencyFacet::getEnabledFacets() method, however the label should already have been passed to t() or translated by the i18n module in it's hook_facetapi_facet_info() implementation. See Facet API's core facet definitions for an example. In addition, according to the API documentation you should avoid passing dynamic variables to t() unless certain conditions are met, in this case none of them are.
Comments
Comment #0.0
cpliakas commentedUpdated issue summary.
Comment #1
danielnolde commentedFixed, thanks for the hint!
Comment #2.0
(not verified) commentedUpdated issue summary.