bug #18824 Added people - person singularization (Keeo)
This PR was merged into the 3.2-dev branch.
Discussion
----------
Added people - person singularization
| Q | A
| ------------- | ---
| Branch? | 3.0, this 'bug' is present even in older versions
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Proper singularization for people into person. This change does not affect singularization of persons.
Commits
-------
5bc4b36
Added people - person inflection
This commit is contained in:
commit
4c5464cc54
@ -126,6 +126,9 @@ final class Inflector
|
||||
|
||||
// chateaux (chateau)
|
||||
array('xuae', 4, false, true, 'eau'),
|
||||
|
||||
// people (person)
|
||||
array('elpoep', 6, true, true, 'person'),
|
||||
);
|
||||
|
||||
/**
|
||||
|
@ -107,6 +107,8 @@ class InflectorTest extends \PHPUnit_Framework_TestCase
|
||||
array('objectives', 'objective'),
|
||||
array('oxen', 'ox'),
|
||||
array('parties', 'party'),
|
||||
array('people', 'person'),
|
||||
array('persons', 'person'),
|
||||
array('phenomena', array('phenomenon', 'phenomenum')),
|
||||
array('photos', 'photo'),
|
||||
array('pianos', 'piano'),
|
||||
|
Reference in New Issue
Block a user