You are here

function custom_search_i18n_locale in Custom Search 6

Same name and namespace in other branches
  1. 7 modules/custom_search_i18n/custom_search_i18n.module \custom_search_i18n_locale()

Implementation of hook_locale().

File

modules/custom_search_i18n/custom_search_i18n.module, line 198
Brings Internationalization to Custom Search

Code

function custom_search_i18n_locale($op = 'groups', $group = NULL) {
  switch ($op) {
    case 'groups':
      return array(
        'custom_search' => t('Custom Search'),
      );
      break;
    case 'info':
      $info['custom_search']['refresh callback'] = 'custom_search_i18n_locale_refresh';
      return $info;
      break;
  }
}