You are here

function i18nviews_locale in Internationalization Views 6.2

Same name and namespace in other branches
  1. 6.3 i18nviews.module \i18nviews_locale()

Implementation of hook_locale().

File

./i18nviews.module, line 27
Views support for Internationalization (i18n) package

Code

function i18nviews_locale($op = 'groups') {
  switch ($op) {
    case 'groups':
      return array(
        'views' => t('Views'),
      );
    case 'info':
      $info['views']['refresh callback'] = 'i18nviews_locale_refresh';
      $info['views']['format'] = TRUE;
      return $info;
  }
}