{recurring.has_recurring_discount && (
{format(recurring.full_price)}
)}
/
{recurring.time && recurring.time > 1
? `${recurring.time + "-" + capitalizedType} `
: capitalizedType}
{recurring.description}
{recurring.has_one_time_discount && (
<>
{sprintf(
// translators: 1: amount paid today, 2: amount charged on each renewal.
__("You pay %1$s today. %2$s will be charged from the next renewal.", "subscription"),
format(recurring.first_price),
format(recurring.price),
)}
>
)}
{recurring.has_recurring_discount && recurringLimit > 1 && (
<>
{sprintf(
// translators: 1: number of discounted payments, 2: full price charged afterwards.
__("Discount applies to your first %1$s payments. After that, %2$s.", "subscription"),
recurringLimit,
`${format(recurring.full_price)} / ${periodLabel}`,
)}
>
)}
{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,
format(recurring.price * parseInt(recurring.max_no_payment)),
)}
>
)}
);
})}
}
>