function custom_search_i18n_locale in Custom Search 7
Same name and namespace in other branches
- 6 modules/custom_search_i18n/custom_search_i18n.module \custom_search_i18n_locale()
Implements hook_locale().
File
- modules/
custom_search_i18n/ custom_search_i18n.module, line 231 - Brings Internationalization to Custom Search
Code
function custom_search_i18n_locale($op = 'groups', $group = NULL) {
$value = array();
switch ($op) {
case 'groups':
$value['custom_search'] = t('Custom Search');
break;
case 'info':
$value['custom_search']['refresh callback'] = 'custom_search_i18n_locale_refresh';
break;
}
return $value;
}