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:
Fabien Potencier 2013-04-08 07:28:01 +02:00
commit c5e686605f
2 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,9 @@ class StringUtil
// atlases (atlas), kisses (kiss)
array('ses', 3, true, true, array('s', 'se', 'sis')),
// objectives (objective), alternative (alternatives)
array('sevit', 5, true, true, 'tive'),
// lives (life), wives (wife)
array('sevi', 4, false, true, 'ife'),

View File

@ -117,6 +117,7 @@ class StringUtilTest extends \PHPUnit_Framework_TestCase
array('bees', array('be', 'bee')),
array('cheeses', array('chees', 'cheese', 'cheesis')),
array('radii', 'radius'),
array('objectives', 'objective'),
// test casing: if the first letter was uppercase, it should remain so
array('Men', 'Man'),