You are here

function i18ncck_locale in Internationalization 6

Implementation of hook_locale().

File

i18ncck/i18ncck.module, line 11
Internationalization (i18n) submodule: CCK.

Code

function i18ncck_locale($op = 'groups', $group = NULL) {
  switch ($op) {
    case 'groups':
      return array(
        'cck' => t('CCK'),
      );
    case 'info':
      $info['cck']['refresh callback'] = 'i18ncck_locale_refresh';
      $info['cck']['format'] = FALSE;
      return $info;
  }
}