Persists marketing attribution and registration metadata for new users across the three signup paths (email, Google, GitHub): - 5 utm_* columns + registration_ip on the users table - PreservesUtmParameters trait stores incoming utm_* query params on the register/redirect GET, retrieves them on the POST/callback — surviving the OAuth round-trip via session - request()->ip() captured at the controller layer Adds GitHub as a second OAuth provider: - GitHubController mirroring the Google one (now renamed from SocialLoginController for symmetry) - Settings → Authentication can connect/disconnect GitHub like Google - Single SocialLogin.vue component replaces the per-provider buttons on Login/Register, rendering each enabled provider plus a single "or continue with" divider UserFactory gains defaults for the new nullable columns so model strict-mode access in tests doesn't trip.
139 lines
5.5 KiB
PHP
139 lines
5.5 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Authentication Language Lines
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The following language lines are used during authentication for various
|
|
| messages that we need to display to the user. You are free to modify
|
|
| these language lines according to your application's requirements.
|
|
|
|
|
*/
|
|
|
|
'failed' => 'Essas credenciais não correspondem aos nossos registros.',
|
|
'password' => 'A senha fornecida está incorreta.',
|
|
'throttle' => 'Muitas tentativas de login. Por favor, tente novamente em :seconds segundos.',
|
|
|
|
'flash' => [
|
|
'welcome' => 'Bem-vindo ao TryPost!',
|
|
'welcome_trial' => 'Bem-vindo ao TryPost! Seu período de teste começou.',
|
|
],
|
|
|
|
'legal' => 'Ao continuar, você concorda com nossos <a href="https://trypost.it/terms" target="_blank">Termos de Serviço</a> e <a href="https://trypost.it/privacy" target="_blank">Política de Privacidade</a>.',
|
|
|
|
'slides' => [
|
|
'calendar' => [
|
|
'title' => 'Calendário Visual',
|
|
'description' => 'Planeje e agende seu conteúdo com um calendário intuitivo de arrastar e soltar em todas as suas contas sociais.',
|
|
],
|
|
'scheduling' => [
|
|
'title' => 'Agendamento Inteligente',
|
|
'description' => 'Agende posts no LinkedIn, X, Instagram, TikTok, YouTube e mais — tudo em um só lugar.',
|
|
],
|
|
'media' => [
|
|
'title' => 'Mídia Rica',
|
|
'description' => 'Publique imagens, carrosséis, stories e reels. Cada plataforma recebe o formato correto automaticamente.',
|
|
],
|
|
'video' => [
|
|
'title' => 'Publicação de Vídeo',
|
|
'description' => 'Envie vídeos uma vez e publique no TikTok, YouTube Shorts, Instagram Reels e Facebook Reels.',
|
|
],
|
|
'team' => [
|
|
'title' => 'Workspaces em Equipe',
|
|
'description' => 'Convide sua equipe, atribua funções e gerencie múltiplas marcas em workspaces separados.',
|
|
],
|
|
'signatures' => [
|
|
'title' => 'Assinaturas',
|
|
'description' => 'Salve assinaturas reutilizáveis (hashtags, links, encerramentos) e anexe nos posts com um clique.',
|
|
],
|
|
],
|
|
|
|
'or_continue_with' => 'Ou continue com',
|
|
'google_login' => 'Entrar com Google',
|
|
'google_signup' => 'Cadastrar com Google',
|
|
'github_login' => 'Entrar com GitHub',
|
|
'github_signup' => 'Cadastrar com GitHub',
|
|
'github_email_unavailable' => 'Não foi possível obter seu e-mail do GitHub. Torne seu e-mail público ou conceda a permissão de e-mail e tente novamente.',
|
|
|
|
'signup_success' => [
|
|
'page_title' => 'Bem-vindo',
|
|
'title' => 'Configurando sua conta',
|
|
'description' => 'Isso geralmente leva apenas alguns segundos...',
|
|
],
|
|
|
|
'login' => [
|
|
'title' => 'Entrar na sua conta',
|
|
'description' => 'Digite seu email e senha abaixo para entrar',
|
|
'page_title' => 'Entrar',
|
|
'email' => 'Endereço de email',
|
|
'password' => 'Senha',
|
|
'forgot_password' => 'Esqueceu a senha?',
|
|
'remember_me' => 'Lembrar de mim',
|
|
'submit' => 'Entrar',
|
|
'no_account' => 'Não tem uma conta?',
|
|
'sign_up' => 'Cadastre-se',
|
|
],
|
|
|
|
'register' => [
|
|
'title' => 'Criar uma conta',
|
|
'description' => 'Digite seus dados abaixo para criar sua conta',
|
|
'page_title' => 'Cadastro',
|
|
'name' => 'Nome',
|
|
'name_placeholder' => 'Nome completo',
|
|
'email' => 'Endereço de email',
|
|
'password' => 'Senha',
|
|
'show_password' => 'Mostrar senha',
|
|
'hide_password' => 'Esconder senha',
|
|
'submit' => 'Criar conta',
|
|
'has_account' => 'Já tem uma conta?',
|
|
'log_in' => 'Entrar',
|
|
],
|
|
|
|
'forgot_password' => [
|
|
'title' => 'Esqueceu a senha',
|
|
'description' => 'Digite seu email para receber um link de redefinição de senha',
|
|
'page_title' => 'Esqueceu a senha',
|
|
'email' => 'Endereço de email',
|
|
'submit' => 'Enviar link de redefinição',
|
|
'return_to' => 'Ou, volte para',
|
|
'log_in' => 'entrar',
|
|
],
|
|
|
|
'reset_password' => [
|
|
'title' => 'Redefinir senha',
|
|
'description' => 'Por favor, digite sua nova senha abaixo',
|
|
'page_title' => 'Redefinir senha',
|
|
'email' => 'Email',
|
|
'password' => 'Senha',
|
|
'confirm_password' => 'Confirmar Senha',
|
|
'confirm_placeholder' => 'Confirmar senha',
|
|
'submit' => 'Redefinir senha',
|
|
],
|
|
|
|
'verify_email' => [
|
|
'title' => 'Verificar email',
|
|
'description' => 'Por favor, verifique seu endereço de email clicando no link que acabamos de enviar.',
|
|
'page_title' => 'Verificação de email',
|
|
'link_sent' => 'Um novo link de verificação foi enviado para o endereço de email que você forneceu durante o cadastro.',
|
|
'resend' => 'Reenviar email de verificação',
|
|
'log_out' => 'Sair',
|
|
],
|
|
|
|
'accept_invite' => [
|
|
'page_title' => 'Aceitar Convite',
|
|
'title' => 'Você foi convidado!',
|
|
'description' => 'Você foi convidado para participar do workspace :workspace.',
|
|
'workspace' => 'Workspace',
|
|
'your_role' => 'Seu cargo',
|
|
'email' => 'Email',
|
|
'accept' => 'Aceitar Convite',
|
|
'decline' => 'Recusar Convite',
|
|
'login_prompt' => 'Entre ou crie uma conta para aceitar este convite.',
|
|
'log_in' => 'Entrar',
|
|
'create_account' => 'Criar Conta',
|
|
],
|
|
|
|
];
|