Permalink
Browse files

minor #3605 Fixed a plural issue (benjaminpaap)

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 e34204e5a3029013d5663b8b3ea821ff1c44159f
Showing with 1 addition and 1 deletion.
  1. +1 −1 book/translation.rst
View
@@ -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)
) ?>

0 comments on commit e34204e

Please sign in to comment.