chore(billing): surface trial copy and rename signup test

Show the checkout-based trial duration again on the subscribe page and rename the signup billing test file so it matches the current no-trial-at-signup behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Paulo Castellano 2026-05-21 09:57:46 -03:00
parent 26c738c0ba
commit a8f999f45f
5 changed files with 12 additions and 2 deletions

View file

@ -27,6 +27,7 @@
'eyebrow' => 'Pricing',
'title' => 'Choose the right plan for you',
'description' => 'Pick the plan that fits you. Billed monthly or annually.',
'trial_info' => ':days-day free trial, then billed automatically',
'monthly' => 'Monthly',
'yearly' => 'Yearly',
'per_month' => 'monthly',
@ -37,6 +38,7 @@
'everything_in' => 'Everything in :plan, plus:',
'save_months' => '2 months free',
'popular' => 'Most popular',
'start_trial' => 'Start :days-day free trial',
'subscribe_cta' => 'Subscribe',
'prices' => [
'starter' => ['monthly' => '$19', 'yearly_per_month' => '$16', 'yearly' => '$190'],

View file

@ -27,6 +27,7 @@
'eyebrow' => 'Precios',
'title' => 'Elige el plan ideal para ti',
'description' => 'Elige el plan que te queda. Facturación mensual o anual.',
'trial_info' => 'Prueba gratuita de :days días, luego se cobra automáticamente',
'monthly' => 'Mensual',
'yearly' => 'Anual',
'per_month' => 'mensual',
@ -37,6 +38,7 @@
'everything_in' => 'Todo lo de :plan, más:',
'save_months' => '2 meses gratis',
'popular' => 'Más popular',
'start_trial' => 'Comenzar prueba de :days días',
'subscribe_cta' => 'Suscribirse',
'prices' => [
'starter' => ['monthly' => '$19', 'yearly_per_month' => '$16', 'yearly' => '$190'],

View file

@ -27,6 +27,7 @@
'eyebrow' => 'Preços',
'title' => 'Escolha o plano ideal pra você',
'description' => 'Escolha o plano que combina com você. Cobrança mensal ou anual.',
'trial_info' => ':days dias grátis, depois cobrança automática',
'monthly' => 'Mensal',
'yearly' => 'Anual',
'per_month' => 'mensal',
@ -37,6 +38,7 @@
'everything_in' => 'Tudo do :plan, mais:',
'save_months' => '2 meses grátis',
'popular' => 'Mais popular',
'start_trial' => 'Iniciar teste de :days dias',
'subscribe_cta' => 'Assinar',
'prices' => [
'starter' => ['monthly' => 'R$ 95', 'yearly_per_month' => 'R$ 79', 'yearly' => 'R$ 950'],

View file

@ -27,8 +27,9 @@ interface Highlight {
tooltip?: string;
}
defineProps<{
const { plans, trialDays } = defineProps<{
plans: Plan[];
trialDays: number;
}>();
const isYearly = ref(true);
@ -121,6 +122,9 @@ const planTones: Record<PlanSlug, string> = {
<p class="mx-auto max-w-2xl text-balance text-base text-muted-foreground sm:text-lg">
{{ $t('billing.subscribe.description') }}
</p>
<p class="text-sm font-semibold text-foreground/70">
{{ trans('billing.subscribe.trial_info', { days: String(trialDays) }) }}
</p>
</div>
</div>
@ -227,7 +231,7 @@ const planTones: Record<PlanSlug, string> = {
]"
@click="selectPlan(plan)"
>
{{ $t('billing.subscribe.subscribe_cta') }}
{{ trans('billing.subscribe.start_trial', { days: String(trialDays) }) }}
<IconArrowRight class="size-4" />
</button>