Skip to content

Commit 0550e66

Browse files
committed
Merge pull request #1395 from tolbier/2.0
Fixed tiny-bug: trans---->transChoice
2 parents fee5487 + a01a9cc commit 0550e66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/translation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ locale to use for translation:
806806
'fr_FR',
807807
);
808808
809-
$this->get('translator')->trans(
809+
$this->get('translator')->transChoice(
810810
'{0} There are no apples|{1} There is one apple|]1,Inf[ There are %count% apples',
811811
10,
812812
array('%count%' => 10),

0 commit comments

Comments
 (0)