You are here

function i18ncontent_locale in Internationalization 5.3

Same name and namespace in other branches
  1. 6 i18ncontent/i18ncontent.module \i18ncontent_locale()

Implementation of hook_locale().

File

experimental/i18ncontent.module, line 55
Internationalization (i18n) package - translatable content type parameters

Code

function i18ncontent_locale($op = 'groups', $group = NULL) {
  switch ($op) {
    case 'groups':
      return array(
        'nodetype' => t('Content type'),
      );
    case 'refresh':
      if ($group == 'nodetype') {
        return i18ncontent_locale_refresh();
      }
  }
}