trypost/lang/en/common.php
Paulo Castellano 0619f2a0f4 refactor: address code review for per-workspace pricing
Bug fix
- Surface the localized "network already connected" message on the
  Facebook/Instagram/InstagramFacebook/LinkedInPage/Threads/YouTube OAuth
  callbacks: catch NetworkAlreadyConnectedException before the generic catch
  so the conflict no longer falls through to a generic error + Log::error.

Scope / dead code
- Remove the orphaned BillingController::checkout() + app.billing.checkout route
  (onboarding starts checkout directly); delete the now-dead DiscordWidget and
  useFeatureAccess composable; prune orphaned i18n keys left by removing the
  plan picker / upgrade dialog / count limits (billing.subscribe.*,
  accounts.limit_reached, workspaces.limit_reached, common.discord.*).
- Drop the unused `plan` prop from the usage page and the unused `label` from
  the onboarding persona payload (labels come from i18n); remove
  Persona::options()/label().

Conventions
- declare(strict_types=1) on the two new migrations.
- Extract autofill validation into AutofillBrandRequest (FormRequest).
- Drop the unused $plan param from AccountPolicy::swapPlan.
- CreateUser: drop the stale config('cashier.trial_days', 7) fallback (now 8).
- Rename LimitEnforcementTest to InvitePermissionTest; use Pest mock() helper in
  WorkspaceQuantitySyncTest; move shared test helpers into Pest.php.
- Memoize BillingCycle window() + subscription lookup.
2026-06-21 21:28:47 -03:00

59 lines
1.5 KiB
PHP

<?php
declare(strict_types=1);
return [
'back' => 'Back',
'confirm_modal' => [
'cannot_be_undone' => 'This cannot be undone.',
'type' => 'Type',
'to_confirm' => 'to confirm.',
'copy_to_clipboard' => 'Copy to clipboard',
'delete_keyword' => 'delete',
],
'photo_upload' => [
'upload' => 'Upload',
'uploading' => 'Uploading...',
'remove' => 'Remove photo',
'hint' => 'Recommended: square image, max 2 MB.',
],
'timezone' => [
'select' => 'Select timezone',
'search' => 'Search timezone...',
'empty' => 'No timezone found',
],
'date_picker' => [
'select' => 'Select date',
],
'date_range_picker' => [
'placeholder' => 'Pick a date range',
'today' => 'Today',
'yesterday' => 'Yesterday',
'last_7_days' => 'Last 7 days',
'last_30_days' => 'Last 30 days',
'last_3_months' => 'Last 3 months',
'last_6_months' => 'Last 6 months',
'last_12_months' => 'Last 12 months',
'this_month' => 'This month',
'last_month' => 'Last month',
'year_to_date' => 'Year to date',
'last_year' => 'Last year',
],
'cancel' => 'Cancel',
'clear' => 'Clear',
'close' => 'Close',
'loading_more' => 'Loading more...',
'actions' => [
'copy' => 'Copy',
'copied' => 'Copied',
'copy_failed' => 'Failed to copy to clipboard',
],
];