From 546d7e95da1c9e341c918abc66a3fa2a8d0109b6 Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Tue, 19 May 2026 22:53:35 -0300 Subject: [PATCH] chore(i18n): replace hardcoded UI text with t() calls across dashboard (round 5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Round-5 agent began processing the remaining smaller dashboard files. Added 5 more keys to en.json for providers/[id]/page.tsx OAuth flow labels and the cross-OS auto-detection hint. Pages affected: - providers/[id]/page.tsx (5 keys) Hardcoded total: 140 → 136. Real missing keys: 0. --- .../dashboard/providers/[id]/page.tsx | 20 ++++++++++++------- src/i18n/messages/en.json | 7 ++++++- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/src/app/(dashboard)/dashboard/providers/[id]/page.tsx b/src/app/(dashboard)/dashboard/providers/[id]/page.tsx index 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
-

Browser/manual connect

+

+ {t("providerDetailBrowserManualConnect")} +

Open Command Code Studio, then paste the returned key/JSON/URL into the API key field below. @@ -7197,7 +7199,9 @@ function AddApiKeyModal({ {commandCodeAuthState?.authUrl && (

-

Auth URL

+

+ {t("providerDetailAuthUrl")} +

{commandCodeAuthState.callbackUrl && (
-

Callback URL

+

+ {t("providerDetailCallbackUrl")} +

~/.codex/auth.json -

- Path is auto-detected per OS (Linux/Mac/Windows). -

+

{t("providerDetailPathAutoDetectedAllOs")}

{backupLabel}
@@ -8619,7 +8623,9 @@ function ImportClaudeAuthModal({ onClose, onSuccess }: ImportClaudeAuthModalProp className="block w-full text-sm" /> {singleJson && previewClaudeJson(singleJson).valid && ( -

Valid Claude credentials file

+

+ {t("providerDetailValidClaudeCredentialsFile")} +

)} {singleJson && !previewClaudeJson(singleJson).valid && (

diff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.json index 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",