Added people - person inflection

This commit is contained in:
Martin Morávek (moravek.martin) 2016-05-21 01:03:47 +09:00 committed by Fabien Potencier
parent f4678599f2
commit 55d9a7a732
2 changed files with 5 additions and 0 deletions

View File

@ -126,6 +126,9 @@ final class Inflector
// chateaux (chateau)
array('xuae', 4, false, true, 'eau'),
// people (person)
array('elpoep', 6, true, true, 'person'),
);
/**

View File

@ -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'),