You are here

function facetapi_i18n_string_translate in Facet API 7

Translates string for FacetAPI.

1 call to facetapi_i18n_string_translate()
FacetapiWidget::init in plugins/facetapi/widget.inc
Initializes the build, must be invoked prior to executing this widget.

File

./facetapi.module, line 1231
An abstracted facet API that can be used by various search backends.

Code

function facetapi_i18n_string_translate($name, $string) {
  return i18n_string_translate($name, $string, array(
    'format' => I18N_STRING_FILTER_XSS,
  ));
}