You are here

function _user_relationship_mailer_ops_translations in User Relationships 7

Same name and namespace in other branches
  1. 6 user_relationship_mailer/user_relationship_mailer_defaults.inc \_user_relationship_mailer_ops_translations()

#515338 Translations of $_user_relationship_mailer_ops above, used on the admin settings form. Keep the two in sync when adding new operations.

1 call to _user_relationship_mailer_ops_translations()
user_relationship_mailer_form_user_relationships_admin_settings_alter in user_relationship_mailer/user_relationship_mailer.module
Implements hook_form_FORM_ID_alter().

File

user_relationship_mailer/user_relationship_mailer_defaults.inc, line 14
User Relationships Mailer implementation. Contains all default strings and action definitions.

Code

function _user_relationship_mailer_ops_translations() {
  return array(
    'request' => t('Request'),
    'send_request' => t('Notify user when a relationship request is made'),
    'cancel' => t('Cancel'),
    'send_cancel' => t('Notify user when a relationship request is cancelled'),
    'approve' => t('Approve'),
    'send_approve' => t('Notify requesting user when a relationship request is approved'),
    'disapprove' => t('Decline'),
    'send_disapprove' => t('Notify requesting user when a relationship request is declined'),
    'remove' => t('Delete'),
    'send_remove' => t('Notify user when an existing relationship is deleted by another user'),
    'pre_approved' => t('Pre-approved'),
    'send_pre_approved' => t('Notify user when a relationship request is pre-approved'),
  );
}