trypost/lang/pt-BR/workspaces.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

50 lines
2.3 KiB
PHP

<?php
declare(strict_types=1);
return [
'title' => 'Workspaces',
'select_title' => 'Seus workspaces',
'select_description' => 'Selecione um workspace para continuar',
'current' => 'Atual',
'connections' => ':count conexões',
'posts' => ':count posts',
'create' => [
'page_title' => 'Crie seu workspace',
'title' => 'Configure seu workspace',
'description' => 'Conte um pouco sobre você ou seu projeto. Vamos usar pra personalizar os posts gerados por IA com a sua voz.',
'website' => 'Site',
'website_placeholder' => 'https://suamarca.com',
'autofill' => 'Preencher do site',
'autofill_missing_url' => 'Informe uma URL primeiro.',
'autofill_success' => 'Informações da marca carregadas.',
'autofill_error' => 'Não foi possível preencher automaticamente. Você pode preencher os campos manualmente.',
'autofill_errors' => [
'unreachable' => 'Não conseguimos acessar esse site (:reason).',
'http_status' => 'O site retornou um status inesperado (:status).',
'invalid_scheme' => 'Apenas URLs http e https são suportadas.',
'missing_host' => 'A URL está sem um host.',
'unresolvable_host' => 'Não conseguimos resolver o host (:host).',
'private_network' => 'URLs apontando para redes privadas não são permitidas.',
],
'logo_captured' => 'Logo capturada do seu site.',
'name' => 'Nome do workspace',
'name_placeholder' => 'ex. Acme Inc',
'brand_description' => 'Descrição da marca',
'brand_description_placeholder' => 'O que sua marca faz?',
'content_language' => 'Idioma do conteúdo',
'content_language_description' => 'Legendas geradas por IA serão escritas neste idioma.',
'brand_color' => 'Cor da marca',
'background_color' => 'Cor de fundo',
'text_color' => 'Cor do texto',
'submit' => 'Criar workspace',
'success' => 'Workspace criado. Conecte uma conta social para começar a postar.',
],
'cannot_delete_last' => 'Você não pode excluir seu único workspace. Cancele sua assinatura nas configurações de cobrança para encerrar sua conta.',
'flash' => [
'deleted' => 'Workspace excluído com sucesso.',
],
];