Added people - person inflection

This commit is contained in:
Martin Morávek (moravek.martin) 2016-05-21 01:03:47 +09:00
parent ea9d6e7235
commit 5bc4b367c0
No known key found for this signature in database
GPG Key ID: D25483250891698F
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'),