function _user_relationships_ui_default_message_key_translations in User Relationships 6
Returns translations of message keys, used on the admin settings form. #515338
1 call to _user_relationships_ui_default_message_key_translations()
- _user_relationships_ui_message_settings_form in user_relationships_ui/
user_relationships_ui.module - Helper function to build the settings form for the notification messages
File
- user_relationships_ui/
user_relationships_ui.module, line 109 - UI components of user_relationships @author Jeff Smick (creator) @author Alex Karshakevich (maintainer) http://drupal.org/user/183217 @author Darren Ferguson (contributor) http://drupal.org/user/70179
Code
function _user_relationships_ui_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'),
);
}