mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
fix: update indexing API key note to use translation keys
- Replace hardcoded English text with i18n translation keys - Add apiKeyNote.title and apiKeyNote.description to settings.json - Note explains that API keys are shared with provider configuration
This commit is contained in:
parent
2b1e10c530
commit
3f93501d9e
2 changed files with 7 additions and 4 deletions
|
|
@ -660,9 +660,8 @@ export const IndexingSettings = ({ codebaseIndexConfig, onConfigChange, ...props
|
|||
{/* Note about API keys */}
|
||||
<div className="mt-4 p-3 bg-vscode-inputValidation-infoBackground border border-vscode-inputValidation-infoBorder rounded">
|
||||
<p className="text-sm text-vscode-inputValidation-infoForeground m-0">
|
||||
<strong>Note:</strong> API keys for indexing providers (OpenAI, Gemini, Mistral, etc.)
|
||||
are configured in the Codebase Indexing popover accessible from the chat interface
|
||||
status bar.
|
||||
<strong>{t("settings:codeIndex.apiKeyNote.title")}</strong>{" "}
|
||||
{t("settings:codeIndex.apiKeyNote.description")}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -197,7 +197,11 @@
|
|||
"baseUrlRequired": "Base URL is required",
|
||||
"modelDimensionMinValue": "Model dimension must be greater than 0"
|
||||
},
|
||||
"optional": "optional"
|
||||
"optional": "optional",
|
||||
"apiKeyNote": {
|
||||
"title": "Note:",
|
||||
"description": "API keys for embedding providers are shared with your API provider configuration. If you're using OpenAI, Gemini, Mistral, or OpenRouter for indexing, ensure the corresponding API key is configured in your active provider profile."
|
||||
}
|
||||
},
|
||||
"autoApprove": {
|
||||
"description": "Run these actions without asking for permission. Only enable for actions you fully trust and if you understand the security risks.",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue