You are here

function biblio_locale in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 biblio.module \biblio_locale()
  2. 7 biblio.module \biblio_locale()
  3. 7.2 biblio.module \biblio_locale()

Implementation of hook_locale().

File

./biblio.module, line 97

Code

function biblio_locale($op = 'groups', $group = NULL) {
  switch ($op) {
    case 'groups':
      return array(
        'biblio' => t('Biblio'),
      );
    case 'refresh':
      if ($group == 'biblio') {
        biblio_locale_refresh_fields();
        biblio_locale_refresh_types();
      }
      break;
  }
}