- Move billing routes from /billing to /settings/billing
- Add billing translations (en/pt-br)
- Update billing/Index.vue to use $t() for all strings
- Fix all controllers using route('dashboard') to use route('calendar') or route('accounts')
- Replace ->with('error', ...) pattern with session()->flash('flash.banner', ...)
- Add self-hosted mode support for hasActiveSubscription() and workspace methods
- Add flash translations for account connection errors
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
37 lines
1 KiB
PHP
37 lines
1 KiB
PHP
<?php
|
|
|
|
return [
|
|
'title' => 'Subscription',
|
|
'description' => 'Manage your subscription and payment method',
|
|
|
|
'trial' => [
|
|
'title' => 'Trial period active',
|
|
'description' => 'Your trial ends on :date. After that, your subscription will be charged automatically.',
|
|
],
|
|
|
|
'subscription' => [
|
|
'title' => 'Your Subscription',
|
|
'workspaces' => 'Workspaces',
|
|
'quantity' => 'Subscription quantity',
|
|
'expires' => 'Expires :date',
|
|
'canceled_on' => 'Your subscription will be canceled on :date',
|
|
'manage' => 'Manage on Stripe',
|
|
],
|
|
|
|
'invoices' => [
|
|
'title' => 'Invoices',
|
|
'description' => 'Payment history',
|
|
'empty' => 'No invoices found',
|
|
'paid' => 'Paid',
|
|
],
|
|
|
|
'status' => [
|
|
'active' => 'Active',
|
|
'canceled' => 'Canceled',
|
|
'incomplete' => 'Incomplete',
|
|
'incomplete_expired' => 'Expired',
|
|
'past_due' => 'Past due',
|
|
'trialing' => 'Trial',
|
|
'unpaid' => 'Unpaid',
|
|
],
|
|
];
|