Skip to content

Commit a01a9cc

Browse files
committed
Fixed tiny-bug: trans---->transChoice
1 parent c58d597 commit a01a9cc

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)