You are here

function _user_relationships_default_message_key_translations in User Relationships 7

Returns translations of message keys, used on the admin settings form. #515338

1 call to _user_relationships_default_message_key_translations()
_user_relationships_message_settings_form in ./user_relationships.admin.inc
Helper function to build the settings form for the notification messages

File

./user_relationships.module, line 1024
User Relationships API. Module shell.

Code

function _user_relationships_default_message_key_translations() {
  return array(
    'informational' => t('Informational Messages'),
    'submitted' => t('Submitted'),
    'accepted' => t('Accepted'),
    'disapproved' => t('Declined'),
    'disapprove' => t('Decline'),
    'cancel' => t('Cancel'),
    'default' => t('Default'),
    'removed' => t('Removed'),
    'pending' => t('Pending'),
    'pre_approved' => t('Pre-approved'),
    'error' => t('Error Messages'),
    'too_many_relationships' => t('Too many relationships'),
    'existing_request' => t('Existing request'),
    'existing_relationship' => t('Existing relationship'),
    'not_accepting_requests' => t('Not accepting requests'),
    'self_request' => t('Self request'),
    'non_existent_user' => t('Non-existent user'),
    'non_existent_type' => t('Non-existent type'),
    'unknown_error' => t('Unknown error'),
    'relationship_type_not_set' => t('Relationship type not set'),
    'relationship_type_not_allowed' => t('Relationship type not allowed'),
  );
}