refactor: settings redesign, Spanish translations, language system, strict_types
Settings pages:
- Redesign layout to match Sendkit (max-w-4xl, space-y-12, Separator sections)
- Merge Members page into Workspace settings with Table, invite Dialog, ConfirmDeleteModal
- Add workspace logo upload/delete routes and controller methods
- Translate all hardcoded strings in Workspace.vue modals
Language system:
- Drop languages table, replace language_id FK with locale string column on users
- Create config/languages.php for available languages and default locale
- Add Spanish (es) translations (13 files)
- Simplify HandleInertiaRequests, ProfileController, RegisteredUserController
Code quality:
- Add declare(strict_types=1) to all PHP files
- Fix MastodonPublisher using wrong attribute (filename -> original_filename)
- Fix HasMediaTest for new has_photo/photo_url accessors
- Fix PublishToSocialPlatformTest type error revealed by strict_types
- Remove orphaned Language model from AppServiceProvider morph map
- Update User TypeScript interface (has_photo, photo_url, locale)
- Eager load media relation on workspaces to prevent N+1
- Add 8 new tests for workspace logo upload/delete
- Update workspace settings test to assert members/invitations props
All 710 tests passing.
2026-03-30 03:20:43 +00:00
< ? php
return [
'failed' => 'Estas credenciales no coinciden con nuestros registros.' ,
'password' => 'La contraseña proporcionada es incorrecta.' ,
'throttle' => 'Demasiados intentos de inicio de sesión. Inténtalo de nuevo en :seconds segundos.' ,
'flash' => [
'welcome' => '¡Bienvenido a TryPost!' ,
'welcome_trial' => '¡Bienvenido a TryPost! Tu prueba ha comenzado.' ,
],
refactor: auth split layout, subscribe redesign, onboarding, i18n, cookie locale
Auth pages:
- Create AuthSplitLayout with animated feature slides (6 slides, 3 languages)
- All auth pages use split layout (form left, visual right)
- Add show/hide password toggle with tooltip on Register
- Legal footer only shown on Register via showLegal prop
Subscribe page:
- Redesign to match auth card pattern (centered, clean)
- Platform icons, feature checklist, dynamic trial days (trialDays - 1)
- Add "Switch workspace" link
- Full i18n (en, es, pt-BR)
Onboarding:
- Rename URLs: step1 -> role, step2 -> connect
- Add enforceStep() to prevent skipping/going back steps
- Redirect /onboarding to /onboarding/role
- Redesign Step2 with AuthSplitLayout and compact platform list
- 21 tests covering all step enforcement scenarios
Workspaces page:
- Redesign with AuthSplitLayout (list with avatars, current badge)
Language system:
- Move locale from DB to cookie (forever, unencrypted, session.domain)
- Create SetLocale middleware (sets cookie if missing, validates against config)
- Rename lang/pt-br to lang/pt-BR
- Add dayjs es locale
Other:
- Copy utils.ts from sendkit (formatNumber, formatMoney, copyToClipboard)
- ConfirmDeleteModal with text confirmation (sendkit pattern)
- i18n for ConfirmDeleteModal internal strings (common.php)
- EmptyState component for posts index
- Exact match for "All" posts in sidebar
- Posts breadcrumbs show current status filter
- DialogFooter buttons aligned left
- API Keys page redesign with Table, DropdownMenu, EmptyState
- Extract CreateApiKeyDialog and InviteMemberDialog to components
- Remove API Keys from sidebar
- DropdownMenuItem destructive variant for Remove action
2026-03-30 14:53:42 +00:00
'legal' => 'Al continuar, aceptas nuestros <a href="https://trypost.it/terms" target="_blank">Términos de Servicio</a> y <a href="https://trypost.it/privacy" target="_blank">Política de Privacidad</a>.' ,
'slides' => [
'calendar' => [
'title' => 'Calendario Visual' ,
'description' => 'Planifica y programa tu contenido con un calendario intuitivo de arrastrar y soltar en todas tus cuentas sociales.' ,
],
'scheduling' => [
'title' => 'Programación Inteligente' ,
'description' => 'Programa posts en LinkedIn, X, Instagram, TikTok, YouTube y más — todo desde un solo lugar.' ,
],
'media' => [
'title' => 'Contenido Multimedia' ,
'description' => 'Publica imágenes, carruseles, historias y reels. Cada plataforma recibe el formato correcto automáticamente.' ,
],
'video' => [
'title' => 'Publicación de Video' ,
'description' => 'Sube videos una vez y publícalos en TikTok, YouTube Shorts, Instagram Reels y Facebook Reels.' ,
],
'team' => [
'title' => 'Workspaces en Equipo' ,
'description' => 'Invita a tu equipo, asigna roles y gestiona múltiples marcas en workspaces separados.' ,
],
2026-05-03 18:23:30 +00:00
'signatures' => [
'title' => 'Firmas' ,
'description' => 'Guarda firmas reutilizables (hashtags, links, despedidas) y añádelas a tus posts con un clic.' ,
refactor: auth split layout, subscribe redesign, onboarding, i18n, cookie locale
Auth pages:
- Create AuthSplitLayout with animated feature slides (6 slides, 3 languages)
- All auth pages use split layout (form left, visual right)
- Add show/hide password toggle with tooltip on Register
- Legal footer only shown on Register via showLegal prop
Subscribe page:
- Redesign to match auth card pattern (centered, clean)
- Platform icons, feature checklist, dynamic trial days (trialDays - 1)
- Add "Switch workspace" link
- Full i18n (en, es, pt-BR)
Onboarding:
- Rename URLs: step1 -> role, step2 -> connect
- Add enforceStep() to prevent skipping/going back steps
- Redirect /onboarding to /onboarding/role
- Redesign Step2 with AuthSplitLayout and compact platform list
- 21 tests covering all step enforcement scenarios
Workspaces page:
- Redesign with AuthSplitLayout (list with avatars, current badge)
Language system:
- Move locale from DB to cookie (forever, unencrypted, session.domain)
- Create SetLocale middleware (sets cookie if missing, validates against config)
- Rename lang/pt-br to lang/pt-BR
- Add dayjs es locale
Other:
- Copy utils.ts from sendkit (formatNumber, formatMoney, copyToClipboard)
- ConfirmDeleteModal with text confirmation (sendkit pattern)
- i18n for ConfirmDeleteModal internal strings (common.php)
- EmptyState component for posts index
- Exact match for "All" posts in sidebar
- Posts breadcrumbs show current status filter
- DialogFooter buttons aligned left
- API Keys page redesign with Table, DropdownMenu, EmptyState
- Extract CreateApiKeyDialog and InviteMemberDialog to components
- Remove API Keys from sidebar
- DropdownMenuItem destructive variant for Remove action
2026-03-30 14:53:42 +00:00
],
],
2026-03-31 00:18:07 +00:00
'or_continue_with' => 'O continuar con' ,
'google_login' => 'Iniciar sesión con Google' ,
'google_signup' => 'Registrarse con Google' ,
2026-03-31 00:32:43 +00:00
'signup_success' => [
'page_title' => 'Bienvenido' ,
'title' => 'Configurando tu cuenta' ,
'description' => 'Esto suele tardar solo unos segundos...' ,
],
refactor: settings redesign, Spanish translations, language system, strict_types
Settings pages:
- Redesign layout to match Sendkit (max-w-4xl, space-y-12, Separator sections)
- Merge Members page into Workspace settings with Table, invite Dialog, ConfirmDeleteModal
- Add workspace logo upload/delete routes and controller methods
- Translate all hardcoded strings in Workspace.vue modals
Language system:
- Drop languages table, replace language_id FK with locale string column on users
- Create config/languages.php for available languages and default locale
- Add Spanish (es) translations (13 files)
- Simplify HandleInertiaRequests, ProfileController, RegisteredUserController
Code quality:
- Add declare(strict_types=1) to all PHP files
- Fix MastodonPublisher using wrong attribute (filename -> original_filename)
- Fix HasMediaTest for new has_photo/photo_url accessors
- Fix PublishToSocialPlatformTest type error revealed by strict_types
- Remove orphaned Language model from AppServiceProvider morph map
- Update User TypeScript interface (has_photo, photo_url, locale)
- Eager load media relation on workspaces to prevent N+1
- Add 8 new tests for workspace logo upload/delete
- Update workspace settings test to assert members/invitations props
All 710 tests passing.
2026-03-30 03:20:43 +00:00
'login' => [
'title' => 'Inicia sesión en tu cuenta' ,
'description' => 'Introduce tu correo y contraseña para iniciar sesión' ,
'page_title' => 'Iniciar sesión' ,
'email' => 'Correo electrónico' ,
'password' => 'Contraseña' ,
'forgot_password' => '¿Olvidaste tu contraseña?' ,
'remember_me' => 'Recuérdame' ,
'submit' => 'Iniciar sesión' ,
'no_account' => '¿No tienes una cuenta?' ,
'sign_up' => 'Regístrate' ,
],
'register' => [
'title' => 'Crear una cuenta' ,
'description' => 'Introduce tus datos para crear tu cuenta' ,
'page_title' => 'Registro' ,
'name' => 'Nombre' ,
'name_placeholder' => 'Nombre completo' ,
'email' => 'Correo electrónico' ,
'password' => 'Contraseña' ,
refactor: auth split layout, subscribe redesign, onboarding, i18n, cookie locale
Auth pages:
- Create AuthSplitLayout with animated feature slides (6 slides, 3 languages)
- All auth pages use split layout (form left, visual right)
- Add show/hide password toggle with tooltip on Register
- Legal footer only shown on Register via showLegal prop
Subscribe page:
- Redesign to match auth card pattern (centered, clean)
- Platform icons, feature checklist, dynamic trial days (trialDays - 1)
- Add "Switch workspace" link
- Full i18n (en, es, pt-BR)
Onboarding:
- Rename URLs: step1 -> role, step2 -> connect
- Add enforceStep() to prevent skipping/going back steps
- Redirect /onboarding to /onboarding/role
- Redesign Step2 with AuthSplitLayout and compact platform list
- 21 tests covering all step enforcement scenarios
Workspaces page:
- Redesign with AuthSplitLayout (list with avatars, current badge)
Language system:
- Move locale from DB to cookie (forever, unencrypted, session.domain)
- Create SetLocale middleware (sets cookie if missing, validates against config)
- Rename lang/pt-br to lang/pt-BR
- Add dayjs es locale
Other:
- Copy utils.ts from sendkit (formatNumber, formatMoney, copyToClipboard)
- ConfirmDeleteModal with text confirmation (sendkit pattern)
- i18n for ConfirmDeleteModal internal strings (common.php)
- EmptyState component for posts index
- Exact match for "All" posts in sidebar
- Posts breadcrumbs show current status filter
- DialogFooter buttons aligned left
- API Keys page redesign with Table, DropdownMenu, EmptyState
- Extract CreateApiKeyDialog and InviteMemberDialog to components
- Remove API Keys from sidebar
- DropdownMenuItem destructive variant for Remove action
2026-03-30 14:53:42 +00:00
'show_password' => 'Mostrar contraseña' ,
'hide_password' => 'Ocultar contraseña' ,
refactor: settings redesign, Spanish translations, language system, strict_types
Settings pages:
- Redesign layout to match Sendkit (max-w-4xl, space-y-12, Separator sections)
- Merge Members page into Workspace settings with Table, invite Dialog, ConfirmDeleteModal
- Add workspace logo upload/delete routes and controller methods
- Translate all hardcoded strings in Workspace.vue modals
Language system:
- Drop languages table, replace language_id FK with locale string column on users
- Create config/languages.php for available languages and default locale
- Add Spanish (es) translations (13 files)
- Simplify HandleInertiaRequests, ProfileController, RegisteredUserController
Code quality:
- Add declare(strict_types=1) to all PHP files
- Fix MastodonPublisher using wrong attribute (filename -> original_filename)
- Fix HasMediaTest for new has_photo/photo_url accessors
- Fix PublishToSocialPlatformTest type error revealed by strict_types
- Remove orphaned Language model from AppServiceProvider morph map
- Update User TypeScript interface (has_photo, photo_url, locale)
- Eager load media relation on workspaces to prevent N+1
- Add 8 new tests for workspace logo upload/delete
- Update workspace settings test to assert members/invitations props
All 710 tests passing.
2026-03-30 03:20:43 +00:00
'submit' => 'Crear cuenta' ,
'has_account' => '¿Ya tienes una cuenta?' ,
'log_in' => 'Iniciar sesión' ,
],
'forgot_password' => [
'title' => 'Olvidé mi contraseña' ,
'description' => 'Introduce tu correo para recibir un enlace de restablecimiento' ,
'page_title' => 'Olvidé mi contraseña' ,
'email' => 'Correo electrónico' ,
'submit' => 'Enviar enlace de restablecimiento' ,
'return_to' => 'O vuelve a' ,
'log_in' => 'iniciar sesión' ,
],
'reset_password' => [
'title' => 'Restablecer contraseña' ,
'description' => 'Introduce tu nueva contraseña' ,
'page_title' => 'Restablecer contraseña' ,
'email' => 'Correo electrónico' ,
'password' => 'Contraseña' ,
'confirm_password' => 'Confirmar contraseña' ,
'confirm_placeholder' => 'Confirmar contraseña' ,
'submit' => 'Restablecer contraseña' ,
],
'verify_email' => [
'title' => 'Verificar correo' ,
'description' => 'Verifica tu correo electrónico haciendo clic en el enlace que acabamos de enviarte.' ,
'page_title' => 'Verificación de correo' ,
'link_sent' => 'Se ha enviado un nuevo enlace de verificación al correo electrónico proporcionado durante el registro.' ,
'resend' => 'Reenviar correo de verificación' ,
'log_out' => 'Cerrar sesión' ,
],
'accept_invite' => [
'page_title' => 'Aceptar invitación' ,
'title' => '¡Has sido invitado!' ,
'description' => 'Has sido invitado a unirte al workspace :workspace.' ,
'workspace' => 'Workspace' ,
'your_role' => 'Tu rol' ,
'email' => 'Correo electrónico' ,
'accept' => 'Aceptar invitación' ,
'decline' => 'Rechazar invitación' ,
'login_prompt' => 'Inicia sesión o crea una cuenta para aceptar esta invitación.' ,
'log_in' => 'Iniciar sesión' ,
'create_account' => 'Crear cuenta' ,
],
];