You are here

function i18nmenu_locale in Internationalization 6

Implementation of hook_locale().

File

i18nmenu/i18nmenu.module, line 14
Internationalization (i18n) submodule: Menu translation.

Code

function i18nmenu_locale($op = 'groups', $group = NULL) {
  switch ($op) {
    case 'groups':
      return array(
        'menu' => t('Menu'),
      );
    case 'info':
      $info['menu']['refresh callback'] = 'i18nmenu_locale_refresh';
      $info['menu']['format'] = FALSE;
      return $info;
  }
}