trypost/lang/es/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' => 'Tus workspaces',
'select_description' => 'Selecciona un workspace para continuar',
'current' => 'Actual',
'connections' => ':count conexiones',
'posts' => ':count posts',
'create' => [
'page_title' => 'Crea tu workspace',
'title' => 'Configura tu workspace',
'description' => 'Cuéntanos un poco sobre ti o tu proyecto. Lo usaremos para personalizar las publicaciones generadas por IA con tu voz.',
'website' => 'Sitio web',
'website_placeholder' => 'https://tumarca.com',
'autofill' => 'Autocompletar desde el sitio',
'autofill_missing_url' => 'Ingresa una URL primero.',
'autofill_success' => 'Información de la marca cargada.',
'autofill_error' => 'No se pudo autocompletar. Puedes llenar los campos manualmente.',
'autofill_errors' => [
'unreachable' => 'No pudimos acceder a ese sitio web (:reason).',
'http_status' => 'El sitio web devolvió un estado inesperado (:status).',
'invalid_scheme' => 'Solo se admiten URLs http y https.',
'missing_host' => 'A la URL le falta un host.',
'unresolvable_host' => 'No pudimos resolver el host (:host).',
'private_network' => 'No se permiten URLs que apunten a redes privadas.',
],
'logo_captured' => 'Logo capturado de tu sitio.',
'name' => 'Nombre del workspace',
'name_placeholder' => 'ej. Acme Inc',
'brand_description' => 'Descripción de la marca',
'brand_description_placeholder' => '¿Qué hace tu marca?',
'content_language' => 'Idioma del contenido',
'content_language_description' => 'Las descripciones generadas por IA se escribirán en este idioma.',
'brand_color' => 'Color de marca',
'background_color' => 'Color de fondo',
'text_color' => 'Color de texto',
'submit' => 'Crear workspace',
'success' => 'Workspace creado. Conecta una cuenta social para empezar a publicar.',
],
'cannot_delete_last' => 'No puedes eliminar tu único workspace. Cancela tu suscripción en la configuración de facturación para cerrar tu cuenta.',
'flash' => [
'deleted' => 'Workspace eliminado correctamente.',
],
];