mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
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
This commit is contained in:
parent
85215b0fb2
commit
cc7e5949b5
2 changed files with 7 additions and 5 deletions
|
|
@ -203,11 +203,12 @@ export const OpenAICompatible = ({
|
|||
{t("settings:modelInfo.azureApiVersion")}
|
||||
</Checkbox>
|
||||
{showApiVersionExtraction && (
|
||||
<div className="text-sm text-vscode-descriptionForeground ml-6 mb-2">
|
||||
API version detected in Base URL: <strong>{extractedApiVersion}</strong>
|
||||
<br />
|
||||
This will be used automatically. Enable the checkbox above to override.
|
||||
</div>
|
||||
<div
|
||||
className="text-sm text-vscode-descriptionForeground ml-6 mb-2"
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: t("settings:modelInfo.azureApiVersionDetected", { version: extractedApiVersion }),
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
{azureApiVersionSelected && (
|
||||
<VSCodeTextField
|
||||
|
|
|
|||
|
|
@ -631,6 +631,7 @@
|
|||
"enableR1FormatTips": "Must be enabled when using R1 models such as QWQ to prevent 400 errors",
|
||||
"useAzure": "Use Azure",
|
||||
"azureApiVersion": "Set Azure API version",
|
||||
"azureApiVersionDetected": "API version detected in Base URL: <strong>{{version}}</strong><br />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.",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue