Function Details
-
-
-
(string) format_number_choice ($text, $args, $number, $catalogue)
Browse code
| $text |
Text used for different number values |
| $args |
Arguments to replace in the string |
| $number |
Number to use to determine the string to use |
| $catalogue |
Catalogue for translation |
Format a string according to a number.
Every segment is separated with |
Each segment defines an intervale and a value. For example : * [0]Nobody is logged|[1]There is 1 person logged|(1,+Inf]There are %number persons logged
returns Result of the translation
-
|