You are here

function messaging_locale in Messaging 6.4

Implementation of hook_locale().

File

./messaging.module, line 1090

Code

function messaging_locale($op = 'groups') {
  switch ($op) {
    case 'groups':
      return array(
        'messaging' => t('Messaging'),
      );
    case 'info':
      $info['messaging']['refresh callback'] = 'messaging_locale_refresh';
      $info['messaging']['format'] = TRUE;

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