Skip to content

Commit efca480

Browse files
committed
fix: add missing i18n keys for UI settings and components
- Added missing API provider configurations (18 providers) - Added experimental feature toggle translations - Added error boundary and chat component keys - Added backend service error messages - Created new locale files for execution, mdm, and tokens Fixes #6599
1 parent 8d05bc1 commit efca480

File tree

9 files changed

+189
-10
lines changed

9 files changed

+189
-10
lines changed

src/i18n/locales/en/embeddings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
"modelNotEmbeddingCapable": "Ollama model is not embedding capable: {{modelId}}",
1818
"hostNotFound": "Ollama host not found: {{baseUrl}}"
1919
},
20+
"openai": {
21+
"invalidResponseFormat": "Invalid response format from OpenAI API"
22+
},
2023
"scanner": {
2124
"unknownErrorProcessingFile": "Unknown error processing file {{filePath}}",
2225
"unknownErrorDeletingPoints": "Unknown error deleting points for {{filePath}}",

src/i18n/locales/en/mcp.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
"invalid_settings_validation": "Invalid MCP settings format: {{errorMessages}}",
66
"create_json": "Failed to create or open .roo/mcp.json: {{error}}",
77
"failed_update_project": "Failed to update project MCP servers",
8-
"invalidJsonArgument": "Roo tried to use {{toolName}} with an invalid JSON argument. Retrying..."
8+
"invalidJsonArgument": "Roo tried to use {{toolName}} with an invalid JSON argument. Retrying...",
9+
"refresh_after_disable": "Failed to refresh after disabling server",
10+
"refresh_after_enable": "Failed to refresh after enabling server"
911
},
1012
"info": {
1113
"server_restarting": "Restarting {{serverName}} MCP server...",

src/i18n/locales/en/mdm.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"errors": {
3+
"cloud_auth_required": "Cloud authentication required",
4+
"organization_mismatch": "Organization mismatch detected",
5+
"verification_failed": "Verification failed"
6+
}
7+
}

webview-ui/src/i18n/locales/en/chat.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
"connectToCloudDescription": "Sign in to Roo Code Cloud to share tasks",
2323
"sharingDisabledByOrganization": "Sharing disabled by organization",
2424
"shareSuccessOrganization": "Organization link copied to clipboard",
25-
"shareSuccessPublic": "Public link copied to clipboard"
25+
"shareSuccessPublic": "Public link copied to clipboard",
26+
"collapse": "Collapse task",
27+
"expand": "Expand task"
2628
},
2729
"unpin": "Unpin",
2830
"pin": "Pin",
@@ -208,6 +210,7 @@
208210
"codebaseSearch": {
209211
"wantsToSearch": "Roo wants to search the codebase for <code>{{query}}</code>:",
210212
"wantsToSearchWithPath": "Roo wants to search the codebase for <code>{{query}}</code> in <code>{{path}}</code>:",
213+
"didSearch": "Searched codebase",
211214
"didSearch_one": "Found 1 result",
212215
"didSearch_other": "Found {{count}} results",
213216
"resultTooltip": "Similarity score: {{score}} (click to open file)"
@@ -376,7 +379,7 @@
376379
}
377380
},
378381
"queuedMessages": {
379-
"title": "Queued Messages:",
382+
"title": "Queued Messages",
380383
"clickToEdit": "Click to edit message"
381384
}
382385
}

webview-ui/src/i18n/locales/en/common.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"errorBoundary": {
33
"title": "Something went wrong",
4-
"reportText": "Please help us improve by reporting this error on",
5-
"githubText": "our GitHub Issues page",
6-
"copyInstructions": "Copy and paste the following error message to include it as part of your submission:",
7-
"errorStack": "Error Stack:",
8-
"componentStack": "Component Stack:"
4+
"reportText": "Please report this error",
5+
"githubText": "Report on GitHub",
6+
"copyInstructions": "Copy error details to clipboard",
7+
"errorStack": "Error Stack",
8+
"componentStack": "Component Stack"
99
},
1010
"answers": {
1111
"yes": "Yes",
@@ -68,6 +68,10 @@
6868
"editWarning": "Editing this message will delete all subsequent messages in the conversation. Do you want to proceed?",
6969
"proceed": "Proceed"
7070
},
71+
"errors": {
72+
"invalid_line_limit": "Invalid line limit specified",
73+
"invalid_character_limit": "Invalid character limit specified"
74+
},
7175
"time_ago": {
7276
"just_now": "just now",
7377
"seconds_ago": "{{count}} seconds ago",
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"running": "Running",
3+
"completed": "Completed",
4+
"error": "Error"
5+
}

webview-ui/src/i18n/locales/en/settings.json

Lines changed: 148 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,83 @@
3333
"language": "Language",
3434
"about": "About Roo Code"
3535
},
36+
"apiKeys": {
37+
"anthropic": {
38+
"name": "Anthropic",
39+
"description": "Configure Anthropic Claude API settings"
40+
},
41+
"bedrock": {
42+
"name": "Amazon Bedrock",
43+
"description": "Configure AWS Bedrock for Claude models"
44+
},
45+
"deepseek": {
46+
"name": "DeepSeek",
47+
"description": "Configure DeepSeek API settings"
48+
},
49+
"gemini": {
50+
"name": "Google Gemini",
51+
"description": "Configure Google Gemini API settings"
52+
},
53+
"glhf": {
54+
"name": "GLHF",
55+
"description": "Configure GLHF API settings"
56+
},
57+
"grok": {
58+
"name": "Grok",
59+
"description": "Configure xAI Grok API settings"
60+
},
61+
"groq": {
62+
"name": "Groq",
63+
"description": "Configure Groq API settings"
64+
},
65+
"hyperbolic": {
66+
"name": "Hyperbolic",
67+
"description": "Configure Hyperbolic API settings"
68+
},
69+
"lmstudio": {
70+
"name": "LM Studio",
71+
"description": "Configure local LM Studio server"
72+
},
73+
"mistral": {
74+
"name": "Mistral",
75+
"description": "Configure Mistral API settings"
76+
},
77+
"ollama": {
78+
"name": "Ollama",
79+
"description": "Configure local Ollama server"
80+
},
81+
"openai": {
82+
"name": "OpenAI",
83+
"description": "Configure OpenAI API settings"
84+
},
85+
"openrouter": {
86+
"name": "OpenRouter",
87+
"description": "Configure OpenRouter API gateway"
88+
},
89+
"sambanova": {
90+
"name": "SambaNova",
91+
"description": "Configure SambaNova API settings"
92+
},
93+
"together": {
94+
"name": "Together AI",
95+
"description": "Configure Together AI API settings"
96+
},
97+
"vscode-openai": {
98+
"name": "VS Code OpenAI",
99+
"description": "Configure VS Code OpenAI integration"
100+
},
101+
"xai": {
102+
"name": "xAI",
103+
"description": "Configure xAI API settings"
104+
}
105+
},
36106
"prompts": {
37107
"description": "Configure support prompts that are used for quick actions like enhancing prompts, explaining code, and fixing issues. These prompts help Roo provide better assistance for common development tasks."
38108
},
109+
"customInstructions": {
110+
"name": "Custom Instructions",
111+
"description": "Provide custom instructions for the AI assistant"
112+
},
39113
"codeIndex": {
40114
"title": "Codebase Indexing",
41115
"description": "Configure codebase indexing settings to enable semantic search of your project. <0>Learn more</0>",
@@ -249,7 +323,8 @@
249323
"hint": "Please reopen the settings to see the latest models.",
250324
"loading": "Refreshing models list...",
251325
"success": "Models list refreshed successfully!",
252-
"error": "Failed to refresh models list. Please try again."
326+
"error": "Failed to refresh models list. Please try again.",
327+
"missingConfig": "Missing configuration. Please provide API key and base URL."
253328
},
254329
"getRequestyApiKey": "Get Requesty API Key",
255330
"openRouterTransformsText": "Compress prompts and message chains to the context size (<a>OpenRouter Transforms</a>)",
@@ -695,6 +770,78 @@
695770
"ASSISTANT_MESSAGE_PARSER": {
696771
"name": "Use new message parser",
697772
"description": "Enable the experimental streaming message parser that provides significant performance improvements for long assistant responses by processing messages more efficiently."
773+
},
774+
"alwaysAllowEditMode": {
775+
"name": "Always Allow Edit Mode",
776+
"description": "Allow editing in all modes without restrictions"
777+
},
778+
"alwaysAllowWriteOnly": {
779+
"name": "Always Allow Write Only",
780+
"description": "Allow write-only operations without confirmation"
781+
},
782+
"autoApproveReadOnly": {
783+
"name": "Auto-Approve Read Only",
784+
"description": "Automatically approve read-only operations"
785+
},
786+
"codebaseIndexer": {
787+
"name": "Codebase Indexer",
788+
"description": "Enable codebase indexing for semantic search"
789+
},
790+
"contextOptimization": {
791+
"name": "Context Optimization",
792+
"description": "Optimize context window usage"
793+
},
794+
"customModes": {
795+
"name": "Custom Modes",
796+
"description": "Enable custom mode creation and management"
797+
},
798+
"debugMode": {
799+
"name": "Debug Mode",
800+
"description": "Enable debug mode for troubleshooting"
801+
},
802+
"diffStrategy": {
803+
"name": "Diff Strategy",
804+
"description": "Configure diff application strategy"
805+
},
806+
"mcpServers": {
807+
"name": "MCP Servers",
808+
"description": "Enable Model Context Protocol servers"
809+
},
810+
"preferredLanguage": {
811+
"name": "Preferred Language",
812+
"description": "Set preferred language for responses"
813+
},
814+
"showAskMode": {
815+
"name": "Show Ask Mode",
816+
"description": "Display Ask mode in mode selector"
817+
},
818+
"showDebugMode": {
819+
"name": "Show Debug Mode",
820+
"description": "Display Debug mode in mode selector"
821+
},
822+
"showDesignEngineerMode": {
823+
"name": "Show Design Engineer Mode",
824+
"description": "Display Design Engineer mode in mode selector"
825+
},
826+
"showDocsExtractorMode": {
827+
"name": "Show Docs Extractor Mode",
828+
"description": "Display Docs Extractor mode in mode selector"
829+
},
830+
"showIntegrationTesterMode": {
831+
"name": "Show Integration Tester Mode",
832+
"description": "Display Integration Tester mode in mode selector"
833+
},
834+
"showIssueFixer": {
835+
"name": "Show Issue Fixer",
836+
"description": "Display Issue Fixer mode in mode selector"
837+
},
838+
"showIssueInvestigatorMode": {
839+
"name": "Show Issue Investigator Mode",
840+
"description": "Display Issue Investigator mode in mode selector"
841+
},
842+
"showIssueWriterMode": {
843+
"name": "Show Issue Writer Mode",
844+
"description": "Display Issue Writer mode in mode selector"
698845
}
699846
},
700847
"promptCaching": {
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"tokens": "tokens"
3+
}

webview-ui/src/i18n/locales/en/welcome.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,10 @@
2323
"allow": "Allow",
2424
"deny": "Deny"
2525
},
26-
"importSettings": "Import Settings"
26+
"importSettings": "Import Settings",
27+
"rooCloudCTA": {
28+
"title": "Join Roo Cloud",
29+
"description": "Get access to cloud features and enhanced capabilities",
30+
"joinWaitlist": "Join Waitlist"
31+
}
2732
}

0 commit comments

Comments
 (0)