trypost/lang/en/billing.php

77 lines
2.7 KiB
PHP
Raw Permalink Normal View History

<?php
return [
'title' => 'Billing',
'past_due_notice' => [
'title' => 'Payment past due',
'description' => 'Update your payment method to keep your subscription active.',
'cta' => 'Update payment',
],
'annual_banner' => [
'title' => 'Get 2 months free',
'description' => 'Switch to annual billing and pay less every month — same plan, nothing else changes.',
'cta' => 'Upgrade to annual',
],
refactor: auth split layout, subscribe redesign, onboarding, i18n, cookie locale Auth pages: - Create AuthSplitLayout with animated feature slides (6 slides, 3 languages) - All auth pages use split layout (form left, visual right) - Add show/hide password toggle with tooltip on Register - Legal footer only shown on Register via showLegal prop Subscribe page: - Redesign to match auth card pattern (centered, clean) - Platform icons, feature checklist, dynamic trial days (trialDays - 1) - Add "Switch workspace" link - Full i18n (en, es, pt-BR) Onboarding: - Rename URLs: step1 -> role, step2 -> connect - Add enforceStep() to prevent skipping/going back steps - Redirect /onboarding to /onboarding/role - Redesign Step2 with AuthSplitLayout and compact platform list - 21 tests covering all step enforcement scenarios Workspaces page: - Redesign with AuthSplitLayout (list with avatars, current badge) Language system: - Move locale from DB to cookie (forever, unencrypted, session.domain) - Create SetLocale middleware (sets cookie if missing, validates against config) - Rename lang/pt-br to lang/pt-BR - Add dayjs es locale Other: - Copy utils.ts from sendkit (formatNumber, formatMoney, copyToClipboard) - ConfirmDeleteModal with text confirmation (sendkit pattern) - i18n for ConfirmDeleteModal internal strings (common.php) - EmptyState component for posts index - Exact match for "All" posts in sidebar - Posts breadcrumbs show current status filter - DialogFooter buttons aligned left - API Keys page redesign with Table, DropdownMenu, EmptyState - Extract CreateApiKeyDialog and InviteMemberDialog to components - Remove API Keys from sidebar - DropdownMenuItem destructive variant for Remove action
2026-03-30 14:53:42 +00:00
'subscribe' => [
'billed_monthly' => 'Billed monthly',
'billed_yearly' => 'Billed annually',
'prices' => [
'workspace' => ['monthly' => '$12', 'yearly_per_month' => '$10', 'yearly' => '$120'],
],
refactor: auth split layout, subscribe redesign, onboarding, i18n, cookie locale Auth pages: - Create AuthSplitLayout with animated feature slides (6 slides, 3 languages) - All auth pages use split layout (form left, visual right) - Add show/hide password toggle with tooltip on Register - Legal footer only shown on Register via showLegal prop Subscribe page: - Redesign to match auth card pattern (centered, clean) - Platform icons, feature checklist, dynamic trial days (trialDays - 1) - Add "Switch workspace" link - Full i18n (en, es, pt-BR) Onboarding: - Rename URLs: step1 -> role, step2 -> connect - Add enforceStep() to prevent skipping/going back steps - Redirect /onboarding to /onboarding/role - Redesign Step2 with AuthSplitLayout and compact platform list - 21 tests covering all step enforcement scenarios Workspaces page: - Redesign with AuthSplitLayout (list with avatars, current badge) Language system: - Move locale from DB to cookie (forever, unencrypted, session.domain) - Create SetLocale middleware (sets cookie if missing, validates against config) - Rename lang/pt-br to lang/pt-BR - Add dayjs es locale Other: - Copy utils.ts from sendkit (formatNumber, formatMoney, copyToClipboard) - ConfirmDeleteModal with text confirmation (sendkit pattern) - i18n for ConfirmDeleteModal internal strings (common.php) - EmptyState component for posts index - Exact match for "All" posts in sidebar - Posts breadcrumbs show current status filter - DialogFooter buttons aligned left - API Keys page redesign with Table, DropdownMenu, EmptyState - Extract CreateApiKeyDialog and InviteMemberDialog to components - Remove API Keys from sidebar - DropdownMenuItem destructive variant for Remove action
2026-03-30 14:53:42 +00:00
],
'plan' => [
'title' => 'Plan',
'description' => 'Manage your subscription plan.',
'label' => 'Plan',
'workspaces' => '{1}:count workspace|[2,*]:count workspaces',
'per_workspace' => 'per workspace',
'price' => 'Price',
'month' => 'month',
'trial' => 'Trial',
'active' => 'Active',
'past_due' => 'Past due',
'cancelling' => 'Cancelling',
'trial_ends' => 'Trial ends',
],
'subscription' => [
'title' => 'Subscription',
'description' => 'Manage your payment method, billing details, and subscription.',
'payment_method' => 'Payment method',
'no_payment_method' => 'No payment method on file yet.',
'expires_on' => 'Expires :month/:year',
'manage_label' => 'Subscription',
'manage_stripe' => 'Manage on Stripe',
],
'invoices' => [
'title' => 'Invoices',
'description' => 'Download your past invoices.',
'empty' => 'No invoices found',
'paid' => 'Paid',
],
'flash' => [
'plan_changed' => 'You are now on the :plan plan.',
'switched_to_yearly' => 'You\'re now on annual billing.',
'cannot_manage' => 'Only the account owner can manage billing.',
'credits_exhausted' => 'Out of AI credits — your monthly :limit allowance has been used. Upgrade your plan or wait until next month.',
'subscription_required' => 'An active subscription is required to use AI features.',
],
'processing' => [
'page_title' => 'Processing...',
'title' => 'Processing your subscription',
'description' => 'Please wait while we set up your account. This will only take a moment.',
'success_title' => 'You\'re all set!',
'success_description' => 'Your subscription is active. Redirecting you to your workspaces...',
'cancelled_title' => 'Checkout cancelled',
'cancelled_description' => 'Your checkout was cancelled. No charges were made.',
'retry' => 'Try again',
],
];