merged branch franmomu/add_objective_to_plurals (PR #7594)
This PR was merged into the 2.2 branch.
Discussion
----------
[PropertyAccess] Add objectives to pluralMap
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #7483
| License | MIT
| Doc PR |
Commits
-------
6ef92fd
[PropertyAccess] Add objectives to pluralMap
This commit is contained in:
commit
c5e686605f
@ -69,6 +69,9 @@ class StringUtil
|
|||||||
// atlases (atlas), kisses (kiss)
|
// atlases (atlas), kisses (kiss)
|
||||||
array('ses', 3, true, true, array('s', 'se', 'sis')),
|
array('ses', 3, true, true, array('s', 'se', 'sis')),
|
||||||
|
|
||||||
|
// objectives (objective), alternative (alternatives)
|
||||||
|
array('sevit', 5, true, true, 'tive'),
|
||||||
|
|
||||||
// lives (life), wives (wife)
|
// lives (life), wives (wife)
|
||||||
array('sevi', 4, false, true, 'ife'),
|
array('sevi', 4, false, true, 'ife'),
|
||||||
|
|
||||||
|
@ -117,6 +117,7 @@ class StringUtilTest extends \PHPUnit_Framework_TestCase
|
|||||||
array('bees', array('be', 'bee')),
|
array('bees', array('be', 'bee')),
|
||||||
array('cheeses', array('chees', 'cheese', 'cheesis')),
|
array('cheeses', array('chees', 'cheese', 'cheesis')),
|
||||||
array('radii', 'radius'),
|
array('radii', 'radius'),
|
||||||
|
array('objectives', 'objective'),
|
||||||
|
|
||||||
// test casing: if the first letter was uppercase, it should remain so
|
// test casing: if the first letter was uppercase, it should remain so
|
||||||
array('Men', 'Man'),
|
array('Men', 'Man'),
|
||||||
|
Reference in New Issue
Block a user