_n() публичный статический Метод

Return a singular or plural string translated into the current locale based on the count provided
public static _n ( string $singular, string $plural, string $count, string $domain = 'habari' ) : string
$singular string The singular form
$plural string The plural form
$count string The count
$domain string (optional) The domain to search for the message
Результат string The appropriately translated string
Пример #1
0
/**
 * Return a singular or plural string translated into the current locale based on the count provided
 *
 * @param string $singular The singular form
 * @param string $plural The plural form
 * @param string $count The count
 * @param string $domain
 * @return string The appropriately translated string
 */
function _n($singular, $plural, $count, $domain = 'habari')
{
    return Locale::_n($singular, $plural, $count, $domain);
}