You are here

function notifications_locale in Notifications 6.4

Same name and namespace in other branches
  1. 6.2 notifications.module \notifications_locale()
  2. 6.3 notifications.module \notifications_locale()

Implementation of hook_locale().

File

./notifications.module, line 1985
Notifications module

Code

function notifications_locale($op = 'groups') {
  switch ($op) {
    case 'groups':
      return array(
        'notifications' => t('Notifications'),
      );
    case 'info':
      $info['notifications']['refresh callback'] = 'notifications_locale_refresh';
      $info['notifications']['format'] = FALSE;

      // Strings have no format
      return $info;
  }
}