src/Ubiquity/utils/base/UString.php
public static function pluralize($count, $zero, $one, $other) {
		$result = $other;
		if ($count === 0) {
			$result = $zero;
		} elseif ($count === 1) {
			$result = $one;
		}
		return \str_replace ( '{count}', $count, $result );
	}
public static function pluralize($count, $zero, $one, $other) {
		$result = $other;
		if ($count === 0) {
			$result = $zero;
		} elseif ($count === 1) {
			$result = $one;
		}
		return \str_replace ( '{count}', $count, $result );
	}
public static function pluralize ( $ count , $ zero , $ one , $ other ) { $ result = $ other ; if ( $ count === 0 ) { $ result = $ zero ; } elseif ( $ count === 1 ) { $ result = $ one ; } return \ str_replace ( '{count}' , $ count , $ result ) ; }
Pluralize an expression

@param int $count
the count of elements
@param string $zero
value to return if count==0, can contains {count} mask
@param string $one
value to return if count==1, can contains {count} mask
@param string $other
value to return if count>1, can contains {count} mask
@return string the pluralized expression
Pluralize an expression