- Sidebar reorganized: Workspace group (connections, hashtags, labels, API keys, settings) and Account group (settings, usage, billing) - Account group only visible to owner and hidden in self-hosted mode - Onboarding simplified: role -> account (connect socials) -> completed -> redirect to /subscribe. Removed Subscription setup step. - Subscribe page redesigned with 4 plan cards, monthly/yearly toggle, trial info, and per-plan features list - Billing page redesigned following Sendkit layout (sections with sidebar labels) - Processing page uses usePoll with immediate watch for subscription activation - Cancel URL redirects directly to /subscribe - Account settings page with name and billing_email (syncs with Stripe) - Usage page with ring meters for all plan limits - Settings layout tabs only for user pages (profile, password, notifications). Workspace/API keys/billing are standalone pages. - GoogleAuthButton extracted as reusable component - WorkspaceRole TypeScript enum for type-safe role checks in frontend - Trial period changed to 7 days - Fixed onboarding loop when user confirms email - All 1101 tests passing
24 lines
707 B
PHP
24 lines
707 B
PHP
<?php
|
|
|
|
return [
|
|
'title' => 'Usage',
|
|
|
|
'section_account' => 'Account',
|
|
'section_account_description' => 'Quotas and limits for your :plan plan.',
|
|
'section_ai' => 'AI Generation',
|
|
'section_ai_description' => 'AI image and video generation usage for the current month.',
|
|
'section_data' => 'Data',
|
|
'section_data_description' => 'Data retention and storage for your plan.',
|
|
|
|
'workspaces' => 'Workspaces',
|
|
'social_accounts' => 'Social Accounts',
|
|
'members' => 'Members',
|
|
'ai_images' => 'Images',
|
|
'ai_videos' => 'Videos',
|
|
'data_retention' => 'Data Retention',
|
|
|
|
'unlimited' => 'Unlimited',
|
|
'days' => 'days',
|
|
'year' => 'year',
|
|
'years' => 'years',
|
|
];
|