You are here

function i18nblocks_locale in Internationalization 6

Implementation of hook_locale().

This one doesn't need locale refresh because strings are stored from module config form.

File

i18nblocks/i18nblocks.module, line 62
Internationalization (i18n) submodule: Multilingual meta-blocks

Code

function i18nblocks_locale($op = 'groups', $group = NULL) {
  switch ($op) {
    case 'groups':
      return array(
        'blocks' => t('Blocks'),
      );
    case 'info':
      $info['blocks']['refresh callback'] = 'i18nblocks_locale_refresh';
      $info['blocks']['format'] = TRUE;
      return $info;
  }
}