[StringUtil] Fixed singularification of 'movies'
The word 'movies' was singularified to 'movy'. There seem to be only two words ending in 'ovies', which are 'movies' and 'anchovies'. The singular of the latter is 'anchovy'. All other words ending in 'vies' singularify to 'vy', so the word 'movies' is an exception to the general rule.
This commit is contained in:
parent
36d62eea7d
commit
6f5e95b762
@ -60,6 +60,9 @@ class StringUtil
|
|||||||
// indices (index), appendices (appendix), prices (price)
|
// indices (index), appendices (appendix), prices (price)
|
||||||
array('seci', 4, false, true, array('ex', 'ix', 'ice')),
|
array('seci', 4, false, true, array('ex', 'ix', 'ice')),
|
||||||
|
|
||||||
|
// movies (movie)
|
||||||
|
array('seivom', 6, true, true, 'movie'),
|
||||||
|
|
||||||
// babies (baby)
|
// babies (baby)
|
||||||
array('sei', 3, false, true, 'y'),
|
array('sei', 3, false, true, 'y'),
|
||||||
|
|
||||||
|
@ -99,6 +99,7 @@ class StringUtilTest extends \PHPUnit_Framework_TestCase
|
|||||||
array('men', 'man'),
|
array('men', 'man'),
|
||||||
array('mice', 'mouse'),
|
array('mice', 'mouse'),
|
||||||
array('moves', 'move'),
|
array('moves', 'move'),
|
||||||
|
array('movies', 'movie'),
|
||||||
array('nebulae', 'nebula'),
|
array('nebulae', 'nebula'),
|
||||||
array('neuroses', array('neuros', 'neurose', 'neurosis')),
|
array('neuroses', array('neuros', 'neurose', 'neurosis')),
|
||||||
array('oases', array('oas', 'oase', 'oasis')),
|
array('oases', array('oas', 'oase', 'oasis')),
|
||||||
|
Reference in New Issue
Block a user