Skip to content

Commit 1b6168b

Browse files
committed
feat: Phase 4 - Update user-facing strings in translation files from mode to agent
- Updated all translation files in src/i18n/locales (18 languages) - Updated all translation files in webview-ui/src/i18n/locales (18 languages) - Changed "mode/modes" to "agent/agents" in all user-facing strings - Kept "mode" terminology for .roomodes files and marketplace interactions as required - Updated keys and values consistently across all languages
1 parent e217ab0 commit 1b6168b

File tree

102 files changed

+677
-677
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+677
-677
lines changed

src/i18n/locales/ca/common.json

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/ca/marketplace.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/de/common.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/de/marketplace.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/en/common.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"confirmation": {
1818
"reset_state": "Are you sure you want to reset all state and secret storage in the extension? This cannot be undone.",
1919
"delete_config_profile": "Are you sure you want to delete this configuration profile?",
20-
"delete_custom_mode_with_rules": "Are you sure you want to delete this {scope} mode?\n\nThis will also delete the associated rules folder at:\n{rulesFolderPath}"
20+
"delete_custom_agent_with_rules": "Are you sure you want to delete this {scope} agent?\n\nThis will also delete the associated rules folder at:\n{rulesFolderPath}"
2121
},
2222
"errors": {
2323
"invalid_data_uri": "Invalid data URI format",
@@ -43,7 +43,7 @@
4343
"list_api_config": "Failed to get list api configuration",
4444
"update_server_timeout": "Failed to update server timeout",
4545
"hmr_not_running": "Local development server is not running, HMR will not work. Please run 'npm run dev' before launching the extension to enable HMR.",
46-
"retrieve_current_mode": "Error: failed to retrieve current mode from state.",
46+
"retrieve_current_agent": "Error: failed to retrieve current agent from state.",
4747
"failed_delete_repo": "Failed to delete associated shadow repository or branch: {{error}}",
4848
"failed_remove_directory": "Failed to remove task directory: {{error}}",
4949
"custom_storage_path_unusable": "Custom storage path \"{{path}}\" is unusable, will use default path",
@@ -69,7 +69,7 @@
6969
"share_auth_required": "Authentication required. Please sign in to share tasks.",
7070
"share_not_enabled": "Task sharing is not enabled for this organization.",
7171
"share_task_not_found": "Task not found or access denied.",
72-
"mode_import_failed": "Failed to import mode: {{error}}",
72+
"agent_import_failed": "Failed to import agent: {{error}}",
7373
"delete_rules_folder_failed": "Failed to delete rules folder: {{rulesFolderPath}}. Error: {{error}}",
7474
"claudeCode": {
7575
"processExited": "Claude Code process exited with code {{exitCode}}.",
@@ -102,8 +102,8 @@
102102
"public_share_link_copied": "Public share link copied to clipboard!",
103103
"image_copied_to_clipboard": "Image data URI copied to clipboard",
104104
"image_saved": "Image saved to {{path}}",
105-
"mode_exported": "Mode '{{mode}}' exported successfully",
106-
"mode_imported": "Mode imported successfully"
105+
"agent_exported": "Agent '{{agent}}' exported successfully",
106+
"agent_imported": "Agent imported successfully"
107107
},
108108
"answers": {
109109
"yes": "Yes",
@@ -135,23 +135,23 @@
135135
"customModes": {
136136
"errors": {
137137
"yamlParseError": "Invalid YAML in .roomodes file at line {{line}}. Please check for:\n• Proper indentation (use spaces, not tabs)\n• Matching quotes and brackets\n• Valid YAML syntax",
138-
"schemaValidationError": "Invalid custom modes format in .roomodes:\n{{issues}}",
139-
"invalidFormat": "Invalid custom modes format. Please ensure your settings follow the correct YAML format.",
140-
"updateFailed": "Failed to update custom mode: {{error}}",
141-
"deleteFailed": "Failed to delete custom mode: {{error}}",
142-
"resetFailed": "Failed to reset custom modes: {{error}}",
143-
"modeNotFound": "Write error: Mode not found",
144-
"noWorkspaceForProject": "No workspace folder found for project-specific mode",
145-
"rulesCleanupFailed": "Mode deleted successfully, but failed to delete rules folder at {{rulesFolderPath}}. You may need to delete it manually."
138+
"schemaValidationError": "Invalid custom agents format in .roomodes:\n{{issues}}",
139+
"invalidFormat": "Invalid custom agents format. Please ensure your settings follow the correct YAML format.",
140+
"updateFailed": "Failed to update custom agent: {{error}}",
141+
"deleteFailed": "Failed to delete custom agent: {{error}}",
142+
"resetFailed": "Failed to reset custom agents: {{error}}",
143+
"agentNotFound": "Write error: Agent not found",
144+
"noWorkspaceForProject": "No workspace folder found for project-specific agent",
145+
"rulesCleanupFailed": "Agent deleted successfully, but failed to delete rules folder at {{rulesFolderPath}}. You may need to delete it manually."
146146
},
147147
"scope": {
148148
"project": "project",
149149
"global": "global"
150150
}
151151
},
152152
"marketplace": {
153-
"mode": {
154-
"rulesCleanupFailed": "Mode removed successfully, but failed to delete rules folder at {{rulesFolderPath}}. You may need to delete it manually."
153+
"agent": {
154+
"rulesCleanupFailed": "Agent removed successfully, but failed to delete rules folder at {{rulesFolderPath}}. You may need to delete it manually."
155155
}
156156
},
157157
"mdm": {
@@ -162,10 +162,10 @@
162162
}
163163
},
164164
"prompts": {
165-
"deleteMode": {
166-
"title": "Delete Custom Mode",
167-
"description": "Are you sure you want to delete this {{scope}} mode? This will also delete the associated rules folder at: {{rulesFolderPath}}",
168-
"descriptionNoRules": "Are you sure you want to delete this custom mode?",
165+
"deleteAgent": {
166+
"title": "Delete Custom Agent",
167+
"description": "Are you sure you want to delete this {{scope}} agent? This will also delete the associated rules folder at: {{rulesFolderPath}}",
168+
"descriptionNoRules": "Are you sure you want to delete this custom agent?",
169169
"confirm": "Delete"
170170
}
171171
},

src/i18n/locales/en/marketplace.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"type-group": {
3-
"modes": "Modes",
3+
"agents": "Agents",
44
"mcps": "MCP Servers",
55
"match": "match"
66
},
77
"item-card": {
8-
"type-mode": "Mode",
8+
"type-agent": "Agent",
99
"type-mcp": "MCP Server",
1010
"type-other": "Other",
1111
"by-author": "by {{author}}",
@@ -23,7 +23,7 @@
2323
"type": {
2424
"label": "Type",
2525
"all": "All Types",
26-
"mode": "Mode",
26+
"agent": "Agent",
2727
"mcpServer": "MCP Server"
2828
},
2929
"sort": {

src/i18n/locales/es/common.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/es/marketplace.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/i18n/locales/fr/common.json

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)