[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;
This commit is contained in:
parent
b6a98bfc98
commit
9eb0ef5f10
@ -28,7 +28,7 @@ class MessageSelector
|
||||
*
|
||||
* The message supports two different types of pluralization rules:
|
||||
*
|
||||
* interval: {0} There is no apples|{1} There is one apple|]1,Inf] There is %count% apples
|
||||
* interval: {0} There are no apples|{1} There is one apple|]1,Inf] There are %count% apples
|
||||
* indexed: There is one apple|There is %count% apples
|
||||
*
|
||||
* The indexed solution can also contain labels (e.g. one: There is one apple).
|
||||
@ -36,7 +36,7 @@ class MessageSelector
|
||||
* affect the functionality.
|
||||
*
|
||||
* The two methods can also be mixed:
|
||||
* {0} There is no apples|one: There is one apple|more: There is %count% apples
|
||||
* {0} There are no apples|one: There is one apple|more: There are %count% apples
|
||||
*
|
||||
* @throws InvalidArgumentException
|
||||
* @param string $message The message being translated
|
||||
|
Reference in New Issue
Block a user