Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
chore(i18n): replace hardcoded UI text with t() calls across dashboard (round 5)
diegosouzapw546d7e95da1c
diff --git a/src/app/(dashboard)/dashboard/providers/[id]/page.tsx b/src/app/(dashboard)/dashboard/providers/[id]/page.tsxindex bfc3c06f35..c86be6e8e2 100644--- a/src/app/(dashboard)/dashboard/providers/[id]/page.tsx+++ b/src/app/(dashboard)/dashboard/providers/[id]/page.tsx@@ -7184,7 +7184,9 @@ function AddApiKeyModal({open_in_new</span><div className="min-w-0 flex-1">- <p className="font-medium text-text-main">Browser/manual connect</p>+ <p className="font-medium text-text-main">+ {t("providerDetailBrowserManualConnect")}+ </p><p className="mt-1 text-xs text-text-muted">Open Command Code Studio, then paste the returned key/JSON/URL into the APIkey field below.@@ -7197,7 +7199,9 @@ function AddApiKeyModal({{commandCodeAuthState?.authUrl && (<div className="mt-3 space-y-2"><div>- <p className="mb-1 text-xs font-medium text-text-main">Auth URL</p>+ <p className="mb-1 text-xs font-medium text-text-main">+ {t("providerDetailAuthUrl")}+ </p><div className="flex gap-2"><Inputvalue={commandCodeAuthState.authUrl}@@ -7216,7 +7220,9 @@ function AddApiKeyModal({</div>{commandCodeAuthState.callbackUrl && (<div>- <p className="mb-1 text-xs font-medium text-text-main">Callback URL</p>+ <p className="mb-1 text-xs font-medium text-text-main">+ {t("providerDetailCallbackUrl")}+ </p><div className="flex gap-2"><Inputvalue={commandCodeAuthState.callbackUrl}@@ -8163,9 +8169,7 @@ function ApplyCodexAuthModal({<code className="block rounded bg-sidebar px-2 py-1.5 text-xs font-mono text-text-main">~/.codex/auth.json</code>- <p className="mt-1 text-xs text-text-muted">- Path is auto-detected per OS (Linux/Mac/Windows).- </p>+ <p className="mt-1 text-xs text-text-muted">{t("providerDetailPathAutoDetectedAllOs")}</p></div><div><div className="text-xs uppercase text-text-muted mb-1">{backupLabel}</div>@@ -8619,7 +8623,9 @@ function ImportClaudeAuthModal({ onClose, onSuccess }: ImportClaudeAuthModalPropclassName="block w-full text-sm"/>{singleJson && previewClaudeJson(singleJson).valid && (- <p className="mt-1 text-xs text-emerald-500">Valid Claude credentials file</p>+ <p className="mt-1 text-xs text-emerald-500">+ {t("providerDetailValidClaudeCredentialsFile")}+ </p>)}{singleJson && !previewClaudeJson(singleJson).valid && (<p className="mt-1 text-xs text-red-500">diff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.jsonindex 9b076f8a55..2bb38a8d82 100644--- a/src/i18n/messages/en.json+++ b/src/i18n/messages/en.json@@ -3615,7 +3615,12 @@"ideProvidersDesc": "Editors with built-in AI subscription. Use the provider page to import credentials directly from the IDE keychain.","noIdeProviders": "No IDE providers match the current filters.","providerDetailFastTierTooltip": "Apply Codex Fast tier to all Codex connections by default",- "providerDetailFastDefaultLabel": "Fast default"+ "providerDetailFastDefaultLabel": "Fast default",+ "providerDetailBrowserManualConnect": "Browser/manual connect",+ "providerDetailAuthUrl": "Auth URL",+ "providerDetailCallbackUrl": "Callback URL",+ "providerDetailValidClaudeCredentialsFile": "Valid Claude credentials file",+ "providerDetailPathAutoDetectedAllOs": "Path is auto-detected per OS (Linux/Mac/Windows)."},"settings": {"title": "Settings",