diff --git a/src/shared/components/OAuthModal.tsx b/src/shared/components/OAuthModal.tsx index 483f7a6066..b0d28ddec8 100644 --- a/src/shared/components/OAuthModal.tsx +++ b/src/shared/components/OAuthModal.tsx @@ -98,12 +98,12 @@ export default function OAuthModal({ GOOGLE_OAUTH_PROVIDERS.has(provider) ) { setError( - "redirect_uri_mismatch: As credenciais padrão do Google OAuth só funcionam em localhost. " + - "Para uso remoto, configure suas próprias credenciais OAuth nas variáveis de ambiente: " + + "redirect_uri_mismatch: The default Google OAuth credentials only work on localhost. " + + "For remote use, configure your own OAuth credentials via environment variables: " + (provider === "antigravity" - ? "ANTIGRAVITY_OAUTH_CLIENT_ID e ANTIGRAVITY_OAUTH_CLIENT_SECRET" - : "GEMINI_OAUTH_CLIENT_ID e GEMINI_OAUTH_CLIENT_SECRET") + - ". Veja o README, seção 'OAuth em Servidor Remoto'." + ? "ANTIGRAVITY_OAUTH_CLIENT_ID and ANTIGRAVITY_OAUTH_CLIENT_SECRET" + : "GEMINI_OAUTH_CLIENT_ID and GEMINI_OAUTH_CLIENT_SECRET") + + ". See the README section 'OAuth on a Remote Server'." ); } else { setError(err.message); @@ -512,17 +512,17 @@ export default function OAuthModal({ warning - Acesso remoto + Google OAuth: As credenciais padrão só aceitam - redirect para localhost. Após autorizar, o browser tentará abrir - localhost — copie essa URL completa e cole abaixo. Para uso - totalmente remoto sem esse passo manual,{" "} + Remote access + Google OAuth: The default credentials only accept + redirects to localhost. After authorizing, your browser will try to + open localhost — copy that full URL and paste it below. For fully + remote use without this manual step,{" "} - configure suas próprias credenciais OAuth + configure your own OAuth credentials .