Same name in other branches
  1. 8.x-1.x quicktabs.module \quicktabs_translate()
1 call to quicktabs_translate()
QuickSet::translateString in ./quicktabs.classes.inc
Translates Quicktabs user-defined strings if the i18n module is enabled.

File

./quicktabs.module, line 381

Code

function quicktabs_translate($name, $string, $langcode = NULL, $textgroup = 'quicktabs') {
    return function_exists('i18n_string') ? i18n_string($textgroup . ':' . $name, $string, array(
        'langcode' => $langcode,
    )) : $string;
}