tweak subscriptions page

This commit is contained in:
2023-04-14 12:57:48 +01:00
parent fe788853c9
commit 0f7964bfa6
6 changed files with 92 additions and 98 deletions

View File

@ -58,9 +58,10 @@ export function SubscribePage() {
<h2>{mapPlanName(a.id)}</h2>
<p>
<FormattedMessage
defaultMessage="Support Snort every month for {price} sats and receive the following rewards"
defaultMessage="Subscribe to Snort {plan} for {price} and receive the following rewards"
values={{
price: <b>{formatShort(a.price)}</b>,
plan: mapPlanName(a.id),
price: <b>{formatShort(a.price)} sats/mo</b>,
}}
/>
:
@ -86,10 +87,7 @@ export function SubscribePage() {
{a.disabled ? (
<FormattedMessage defaultMessage="Coming soon" />
) : (
<FormattedMessage
defaultMessage="Subscribe for {amount}/mo"
values={{ amount: formatShort(a.price) }}
/>
<FormattedMessage defaultMessage="Subscribe" />
)}
</AsyncButton>
</div>