Posted by mrtoner on September 16, 2011 at 5:24am
5 followers
| Project: | Rules |
| Version: | 6.x-1.4 |
| Component: | Rules Core |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Minor misspellings:
<?php
function user_rules_action_info() {
return array(
'rules_action_user_addrole' => array(
'label' => t('Add user role'),
'arguments' => array(
'user' => array('type' => 'user', 'label' => t('User whos roles should be changed')),
),
'module' => 'User',
),
'rules_action_user_removerole' => array(
'label' => t('Remove user role'),
'arguments' => array(
'user' => array('type' => 'user', 'label' => t('User whos roles should be changed')),
),
'module' => 'User',
),
...
?>Both instances of "whos" should be "whose".
Comments
#1
#2
:)
#3
This is my very first patch, hope I got it right.
#4
I haven't learned git, so I'm still doing patches the old way. Unfortunately, that means I don't offer as many patches as I might otherwise.
#5
Changed status.
#6
thanks, patch looks good! Committed.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.