You are here

function biblio_locale in Bibliography Module 7

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

Implements hook_locale().

File

./biblio.module, line 72
Bibliography Module for Drupal.

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;
  }
}