Function t2

Translate text (plural form).

Example: t2('%d child', '%d children', $n) will return translated '%d child' if $n is 1, translated '%d children' otherwise.
Example: t2('%d child', '%d children', $n, $n) will return translated '1 child' if $n is 1, translated '2 children' if $n is 2.
Located at bootstrap/helpers.php

Parameters summary

string $singular The singular form.
string $plural The plural form.
integer $number The number.

Return value summary

string Returns the translated text.