Skip to content

Commit 9eb0ef5

Browse files
author
Drak
committed
[Transation] Fix grammar.
In English, zero is plural so need to use 'are' - "there are no apples". English's pluralisation rule is: nplurals=2; plural=n != 1;
1 parent b6a98bf commit 9eb0ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Translation/MessageSelector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ class MessageSelector
2828
*
2929
* The message supports two different types of pluralization rules:
3030
*
31-
* interval: {0} There is no apples|{1} There is one apple|]1,Inf] There is %count% apples
31+
* interval: {0} There are no apples|{1} There is one apple|]1,Inf] There are %count% apples
3232
* indexed: There is one apple|There is %count% apples
3333
*
3434
* The indexed solution can also contain labels (e.g. one: There is one apple).
3535
* This is purely for making the translations more clear - it does not
3636
* affect the functionality.
3737
*
3838
* The two methods can also be mixed:
39-
* {0} There is no apples|one: There is one apple|more: There is %count% apples
39+
* {0} There are no apples|one: There is one apple|more: There are %count% apples
4040
*
4141
* @throws InvalidArgumentException
4242
* @param string $message The message being translated

0 commit comments

Comments
 (0)