1 import { c } from 'ttag';
3 import Price from '@proton/components/components/price/Price';
4 import { PLANS, PLAN_NAMES } from '@proton/payments';
5 import { type Currency } from '@proton/payments';
7 export const getCTAContent = () => {
8 return c('mailtrial2024: Action').t`Get the deal`;
11 export const getExpires = () => {
12 return c('mailtrial2024: Info').t`Limited-time offer, expires April 2 2024`;
15 export const getRenews = (currency: Currency) => {
16 const renewablePrice = (
17 <Price key="renewable-price" currency={currency} suffix={c('Suffix').t`/month`} isDisplayedInSentence>
21 return c('mailtrial2024: Footer').jt`Renews at ${renewablePrice}, cancel anytime`;
24 const planName = PLAN_NAMES[PLANS.MAIL];
26 export const getTitle = (currency: Currency) => {
28 <Price key="plan-price" currency={currency} isDisplayedInSentence>
32 return c('mailtrial2024: Title').jt`Get ${planName} for only ${planPrice}`;