|
@@ -28,7 +28,7 @@ class MessageSelector
|
|
*
|
|
*
|
|
* The message supports two different types of pluralization rules:
|
|
* 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
|
|
* indexed: There is one apple|There is %count% apples
|
|
*
|
|
*
|
|
* The indexed solution can also contain labels (e.g. one: There is one apple).
|
|
* The indexed solution can also contain labels (e.g. one: There is one apple).
|
|
@@ -36,7 +36,7 @@ class MessageSelector
|
|
* affect the functionality.
|
|
* affect the functionality.
|
|
*
|
|
*
|
|
* The two methods can also be mixed:
|
|
* 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
|
|
* @throws InvalidArgumentException
|
|
* @param string $message The message being translated
|
|
* @param string $message The message being translated
|