1 views_plugin_localization_core.inc public views_plugin_localization_core::translate_string($string, $keys = array(), $format = '')

Translate a string.

Parameters

string $string: The string to be translated.

array $keys: An array of keys to identify the string. Generally constructed from view name, display_id, and a property, e.g., 'header'.

string $format: The input format of the string. This is optional.

Overrides views_plugin_localization::translate_string

File

core/modules/views/plugins/views_plugin_localization_core.inc, line 25
Definition of views_plugin_localization_core.

Class

views_plugin_localization_core
Localization plugin to pass translatable strings through t().

Code

public function translate_string($string, $keys = array(), $format = '') {
  return t($string);
}