You are here

public function i18n_string_textgroup_default::context_translate in Internationalization 7

Translate source string

File

i18n_string/i18n_string.inc, line 786
API for internationalization strings

Class

i18n_string_textgroup_default
Textgroup handler for i18n_string API

Code

public function context_translate($context, $string, $options = array()) {
  $i18nstring = $this
    ->build_string($context, $string);
  return $this
    ->string_translate($i18nstring, $options);
}