Adding fix for Status singular inflection

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4353 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
phpnut 2007-01-31 19:03:43 +00:00
parent 69fc957fd3
commit 719cd36729

View file

@ -202,6 +202,7 @@ class Inflector extends Object {
$_this =& Inflector::getInstance(); $_this =& Inflector::getInstance();
$coreSingularRules = array('/(s)tatuses$/i' => '\1\2tatus', $coreSingularRules = array('/(s)tatuses$/i' => '\1\2tatus',
'/(s)tatus$/i' => '\1\2tatus',
'/(matr)ices$/i' => '\1ix', '/(matr)ices$/i' => '\1ix',
'/(vert|ind)ices$/i' => '\1ex', '/(vert|ind)ices$/i' => '\1ex',
'/^(ox)en/i' => '\1', '/^(ox)en/i' => '\1',