Skip to content

Commit

Permalink
minor #3605 Fixed a plural issue (benjaminpaap)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

Fixed a plural issue

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets |

Commits
-------

1fa4fee Fixed a plural issue
  • Loading branch information
weaverryan committed Mar 8, 2014
2 parents 0c41762 + 1fa4fee commit e34204e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/translation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ The translator service is accessible in PHP templates through the
<?php echo $view['translator']->trans('Symfony2 is great') ?>

<?php echo $view['translator']->transChoice(
'{0} There is no apples|{1} There is one apple|]1,Inf[ There are %count% apples',
'{0} There are no apples|{1} There is one apple|]1,Inf[ There are %count% apples',
10,
array('%count%' => 10)
) ?>
Expand Down

0 comments on commit e34204e

Please sign in to comment.