Download & Extend

Fix misspellings: whose instead of whos

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

Title:Whos on first?» Fix misspallings: whose instead of whos
Component:Rules Core» Rules Engine

#2

Title:Fix misspallings: whose instead of whos» Fix misspellings: whose instead of whos

:)

#3

This is my very first patch, hope I got it right.

AttachmentSizeStatusTest resultOperations
fixed-misspelling-1281158-0.patch1.25 KBIdlePASSED: [[SimpleTest]]: [MySQL] 13 pass(es).View details

#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

Status:active» needs review

Changed status.

#6

Status:needs review» fixed

thanks, patch looks good! Committed.

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.