/
{recurring.time && recurring.time > 1
? `${recurring.time + "-" + capitalizedType} `
: capitalizedType}
{recurring.description}
{recurring.can_user_cancel === "yes" &&
(recurring.max_no_payment === "" || parseInt(recurring.max_no_payment) === 0) && (
<>
{__("You can cancel subscription at any time!", "subscription")}
>
)}
{parseInt(recurring.max_no_payment) > 0 && (
<>
{sprintf(
// translators: 1: number of installments, 2: total amount.
__(
"This subscription will be billed in %1$s installments, for a total of %2$s.",
"subscription",
),
recurring.max_no_payment,
formatPrice(Math.round(recurring.price * multiplier * parseInt(recurring.max_no_payment)), {
currency: currency.code,
currency_symbol: currency.symbol,
decimal_separator: currency.decimalSeparator,
thousand_separator: currency.thousandSeparator,
precision: currency.minorUnit,
price_format: currency.priceFormat,
}),
)}
>
)}
);
})}
}
>