public static function properPlural($pluralWordToCheck) {
        $listOfPlurals = [
            'categorys'      => 'categories',
            'kb_item'        => 'item',
            'kb_items'       => 'Items',
            'list_email'     => 'email list',
            'listlist'       => 'list',
            'people'         => 'person',
            'peoples'        => 'people',
            'postupdate'     =>'post update',
            'postupdates'    =>'post updates',
            'social'         => 'social site',
            'socials'        => 'social sites',
            'todo_items'     => 'To Do items',
            'Todo_item'      => 'To Do Item',
            'email_messages' => 'Email Messages',
            'email_message'  => 'Email Message',
        ];

        foreach ($listOfPlurals as $improperPlural => $correctPlural) {

            if (strtolower($improperPlural) == strtolower($pluralWordToCheck)) {
                return $correctPlural;
            }
        }

        return $pluralWordToCheck;
    }
public static function properPlural($pluralWordToCheck) {
        $listOfPlurals = [
            'categorys'      => 'categories',
            'kb_item'        => 'item',
            'kb_items'       => 'Items',
            'list_email'     => 'email list',
            'listlist'       => 'list',
            'people'         => 'person',
            'peoples'        => 'people',
            'postupdate'     =>'post update',
            'postupdates'    =>'post updates',
            'social'         => 'social site',
            'socials'        => 'social sites',
            'todo_items'     => 'To Do items',
            'Todo_item'      => 'To Do Item',
            'email_messages' => 'Email Messages',
            'email_message'  => 'Email Message',
        ];

        foreach ($listOfPlurals as $improperPlural => $correctPlural) {

            if (strtolower($improperPlural) == strtolower($pluralWordToCheck)) {
                return $correctPlural;
            }
        }

        return $pluralWordToCheck;
    }
public static function properPlural ( $ pluralWordToCheck ) { $ listOfPlurals = [ 'categorys' => 'categories' , 'kb_item' => 'item' , 'kb_items' => 'Items' , 'list_email' => 'email list' , 'listlist' => 'list' , 'people' => 'person' , 'peoples' => 'people' , 'postupdate' => 'post update' , 'postupdates' => 'post updates' , 'social' => 'social site' , 'socials' => 'social sites' , 'todo_items' => 'To Do items' , 'Todo_item' => 'To Do Item' , 'email_messages' => 'Email Messages' , 'email_message' => 'Email Message' , ] ; foreach ( $ listOfPlurals as $ improperPlural => $ correctPlural ) { if ( strtolower ( $ improperPlural ) == strtolower ( $ pluralWordToCheck ) ) { return $ correctPlural ; } } return $ pluralWordToCheck ; }
Is the plural word grammatically correct?

Also, a method to specify custom admin form subtitle names (regular create/edit forms),
and called from Formhandler's AdminBaseFormController.

@param  string           $pluralWordToCheck                   Plural word to check
@return string
Is the plural word grammatically correct?