From cc7e5949b581b9f06d99318fa29b106da29e6f55 Mon Sep 17 00:00:00 2001 From: Daniel Riccio Date: Thu, 17 Jul 2025 13:54:17 -0500 Subject: [PATCH] fix: add missing translation for Azure API version detection message - Add translation key 'azureApiVersionDetected' to English locale - Update OpenAICompatible component to use translation function - Addresses Ellipsis bot comment about internationalization --- .../settings/providers/OpenAICompatible.tsx | 11 ++++++----- webview-ui/src/i18n/locales/en/settings.json | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/webview-ui/src/components/settings/providers/OpenAICompatible.tsx b/webview-ui/src/components/settings/providers/OpenAICompatible.tsx index 65f405dd47..eeae65c0f3 100644 --- a/webview-ui/src/components/settings/providers/OpenAICompatible.tsx +++ b/webview-ui/src/components/settings/providers/OpenAICompatible.tsx @@ -203,11 +203,12 @@ export const OpenAICompatible = ({ {t("settings:modelInfo.azureApiVersion")} {showApiVersionExtraction && ( -
- API version detected in Base URL: {extractedApiVersion} -
- This will be used automatically. Enable the checkbox above to override. -
+
)} {azureApiVersionSelected && ( {{version}}
This will be used automatically. Enable the checkbox above to override.", "gemini": { "freeRequests": "* Free up to {{count}} requests per minute. After that, billing depends on prompt size.", "pricingDetails": "For more info, see pricing details.",