|
1 | 1 | { |
2 | 2 | "name": "roo-cline", |
3 | | - "displayName": "Roo Code", |
4 | | - "description": "A whole dev team of AI agents in your editor. Previously Roo Cline.", |
| 3 | + "displayName": "%extension.displayName%", |
| 4 | + "description": "%extension.description%", |
5 | 5 | "publisher": "RooVeterinaryInc", |
6 | 6 | "version": "3.11.13", |
7 | 7 | "icon": "assets/icons/icon.png", |
|
54 | 54 | "submenus": [ |
55 | 55 | { |
56 | 56 | "id": "roo-code.contextMenu", |
57 | | - "label": "Roo Code" |
| 57 | + "label": "%views.contextMenu.label%" |
58 | 58 | }, |
59 | 59 | { |
60 | 60 | "id": "roo-code.terminalMenu", |
61 | | - "label": "Roo Code" |
| 61 | + "label": "%views.terminalMenu.label%" |
62 | 62 | } |
63 | 63 | ], |
64 | 64 | "viewsContainers": { |
65 | 65 | "activitybar": [ |
66 | 66 | { |
67 | 67 | "id": "roo-cline-ActivityBar", |
68 | | - "title": "Roo Code", |
| 68 | + "title": "%views.activitybar.title%", |
69 | 69 | "icon": "assets/icons/icon.svg" |
70 | 70 | } |
71 | 71 | ] |
|
82 | 82 | "commands": [ |
83 | 83 | { |
84 | 84 | "command": "roo-cline.plusButtonClicked", |
85 | | - "title": "New Task", |
| 85 | + "title": "%command.newTask.title%", |
86 | 86 | "icon": "$(add)" |
87 | 87 | }, |
88 | 88 | { |
89 | 89 | "command": "roo-cline.mcpButtonClicked", |
90 | | - "title": "MCP Servers", |
| 90 | + "title": "%command.mcpServers.title%", |
91 | 91 | "icon": "$(server)" |
92 | 92 | }, |
93 | 93 | { |
94 | 94 | "command": "roo-cline.promptsButtonClicked", |
95 | | - "title": "Prompts", |
| 95 | + "title": "%command.prompts.title%", |
96 | 96 | "icon": "$(notebook)" |
97 | 97 | }, |
98 | 98 | { |
99 | 99 | "command": "roo-cline.historyButtonClicked", |
100 | | - "title": "History", |
| 100 | + "title": "%command.history.title%", |
101 | 101 | "icon": "$(history)" |
102 | 102 | }, |
103 | 103 | { |
104 | 104 | "command": "roo-cline.popoutButtonClicked", |
105 | | - "title": "Open in Editor", |
| 105 | + "title": "%command.openInEditor.title%", |
106 | 106 | "icon": "$(link-external)" |
107 | 107 | }, |
108 | 108 | { |
109 | 109 | "command": "roo-cline.settingsButtonClicked", |
110 | | - "title": "Settings", |
| 110 | + "title": "%command.settings.title%", |
111 | 111 | "icon": "$(settings-gear)" |
112 | 112 | }, |
113 | 113 | { |
114 | 114 | "command": "roo-cline.helpButtonClicked", |
115 | | - "title": "Documentation", |
| 115 | + "title": "%command.documentation.title%", |
116 | 116 | "icon": "$(question)" |
117 | 117 | }, |
118 | 118 | { |
119 | 119 | "command": "roo-cline.openInNewTab", |
120 | | - "title": "Open In New Tab", |
121 | | - "category": "Roo Code" |
| 120 | + "title": "%command.openInNewTab.title%", |
| 121 | + "category": "%extension.displayName%" |
122 | 122 | }, |
123 | 123 | { |
124 | 124 | "command": "roo-cline.explainCode", |
125 | | - "title": "Explain Code", |
126 | | - "category": "Roo Code" |
| 125 | + "title": "%command.explainCode.title%", |
| 126 | + "category": "%extension.displayName%" |
127 | 127 | }, |
128 | 128 | { |
129 | 129 | "command": "roo-cline.fixCode", |
130 | | - "title": "Fix Code", |
131 | | - "category": "Roo Code" |
| 130 | + "title": "%command.fixCode.title%", |
| 131 | + "category": "%extension.displayName%" |
132 | 132 | }, |
133 | 133 | { |
134 | 134 | "command": "roo-cline.improveCode", |
135 | | - "title": "Improve Code", |
136 | | - "category": "Roo Code" |
| 135 | + "title": "%command.improveCode.title%", |
| 136 | + "category": "%extension.displayName%" |
137 | 137 | }, |
138 | 138 | { |
139 | 139 | "command": "roo-cline.addToContext", |
140 | | - "title": "Add To Context", |
141 | | - "category": "Roo Code" |
| 140 | + "title": "%command.addToContext.title%", |
| 141 | + "category": "%extension.displayName%" |
142 | 142 | }, |
143 | 143 | { |
144 | 144 | "command": "roo-cline.newTask", |
145 | | - "title": "New Task", |
146 | | - "category": "Roo Code" |
| 145 | + "title": "%command.newTask.title%", |
| 146 | + "category": "%extension.displayName%" |
147 | 147 | }, |
148 | 148 | { |
149 | 149 | "command": "roo-cline.terminalAddToContext", |
150 | | - "title": "Add Terminal Content to Context", |
| 150 | + "title": "%command.terminal.addToContext.title%", |
151 | 151 | "category": "Terminal" |
152 | 152 | }, |
153 | 153 | { |
154 | 154 | "command": "roo-cline.terminalFixCommand", |
155 | | - "title": "Fix This Command", |
| 155 | + "title": "%command.terminal.fixCommand.title%", |
156 | 156 | "category": "Terminal" |
157 | 157 | }, |
158 | 158 | { |
159 | 159 | "command": "roo-cline.terminalExplainCommand", |
160 | | - "title": "Explain This Command", |
| 160 | + "title": "%command.terminal.explainCommand.title%", |
161 | 161 | "category": "Terminal" |
162 | 162 | }, |
163 | 163 | { |
164 | 164 | "command": "roo-cline.terminalFixCommandInCurrentTask", |
165 | | - "title": "Fix This Command (Current Task)", |
| 165 | + "title": "%command.terminal.fixCommandInCurrentTask.title%", |
166 | 166 | "category": "Terminal" |
167 | 167 | }, |
168 | 168 | { |
169 | 169 | "command": "roo-cline.terminalExplainCommandInCurrentTask", |
170 | | - "title": "Explain This Command (Current Task)", |
| 170 | + "title": "%command.terminal.explainCommandInCurrentTask.title%", |
171 | 171 | "category": "Terminal" |
172 | 172 | }, |
173 | 173 | { |
174 | 174 | "command": "roo-cline.setCustomStoragePath", |
175 | | - "title": "Set Custom Storage Path", |
176 | | - "category": "Roo Code" |
| 175 | + "title": "%command.setCustomStoragePath.title%", |
| 176 | + "category": "%extension.displayName%" |
177 | 177 | }, |
178 | 178 | { |
179 | 179 | "command": "roo-cline.focusInput", |
180 | | - "title": "Focus Input Field", |
181 | | - "category": "Roo Code" |
| 180 | + "title": "%command.focusInput.title%", |
| 181 | + "category": "%extension.displayName%" |
182 | 182 | } |
183 | 183 | ], |
184 | 184 | "menus": { |
|
310 | 310 | ] |
311 | 311 | }, |
312 | 312 | "configuration": { |
313 | | - "title": "Roo Code", |
| 313 | + "title": "%configuration.title%", |
314 | 314 | "properties": { |
315 | 315 | "roo-cline.allowedCommands": { |
316 | 316 | "type": "array", |
|
325 | 325 | "git diff", |
326 | 326 | "git show" |
327 | 327 | ], |
328 | | - "description": "Commands that can be auto-executed when 'Always approve execute operations' is enabled" |
| 328 | + "description": "%commands.allowedCommands.description%" |
329 | 329 | }, |
330 | 330 | "roo-cline.vsCodeLmModelSelector": { |
331 | 331 | "type": "object", |
332 | 332 | "properties": { |
333 | 333 | "vendor": { |
334 | 334 | "type": "string", |
335 | | - "description": "The vendor of the language model (e.g. copilot)" |
| 335 | + "description": "%settings.vsCodeLmModelSelector.vendor.description%" |
336 | 336 | }, |
337 | 337 | "family": { |
338 | 338 | "type": "string", |
339 | | - "description": "The family of the language model (e.g. gpt-4)" |
| 339 | + "description": "%settings.vsCodeLmModelSelector.family.description%" |
340 | 340 | } |
341 | 341 | }, |
342 | | - "description": "Settings for VSCode Language Model API" |
| 342 | + "description": "%settings.vsCodeLmModelSelector.description%" |
343 | 343 | }, |
344 | 344 | "roo-cline.customStoragePath": { |
345 | 345 | "type": "string", |
346 | 346 | "default": "", |
347 | | - "description": "Custom storage path. Leave empty to use the default location. Supports absolute paths (e.g. 'D:\\RooCodeStorage')" |
| 347 | + "description": "%settings.customStoragePath.description%" |
348 | 348 | } |
349 | 349 | } |
350 | 350 | } |
|
376 | 376 | "publish:marketplace": "vsce publish && ovsx publish", |
377 | 377 | "publish": "npm run build && changeset publish && npm install --package-lock-only", |
378 | 378 | "version-packages": "changeset version && npm install --package-lock-only", |
379 | | - "vscode:prepublish": "npm run package", |
| 379 | + "vscode:prepublish": "npm run l10n:export && npm run package", |
| 380 | + "l10n:export": "npx @vscode/l10n-dev export -o ./l10n ./src", |
| 381 | + "l10n:pseudo": "npx @vscode/l10n-dev generate-pseudo -o ./l10n/ ./l10n/bundle.l10n.json ./package.nls.json", |
| 382 | + "l10n:xlf": "npx @vscode/l10n-dev generate-xlf -o ./l10n-sample.xlf ./l10n/bundle.l10n.json ./package.nls.json", |
380 | 383 | "vsix": "rimraf bin && mkdirp bin && npx vsce package --out bin", |
381 | 384 | "watch": "npm-run-all -l -p watch:*", |
382 | 385 | "watch:esbuild": "node esbuild.js --watch", |
|
409 | 412 | "@types/turndown": "^5.0.5", |
410 | 413 | "@types/vscode": "^1.95.0", |
411 | 414 | "@vscode/codicons": "^0.0.36", |
| 415 | + "@vscode/l10n": "^0.0.18", |
412 | 416 | "axios": "^1.7.4", |
413 | 417 | "cheerio": "^1.0.0", |
414 | 418 | "chokidar": "^4.0.1", |
|
461 | 465 | "@types/diff-match-patch": "^1.0.36", |
462 | 466 | "@types/glob": "^8.1.0", |
463 | 467 | "@types/jest": "^29.5.14", |
| 468 | + "@types/mocha": "^10.0.10", |
464 | 469 | "@types/node": "20.x", |
465 | 470 | "@types/node-ipc": "^9.2.3", |
466 | 471 | "@types/string-similarity": "^4.0.2", |
467 | 472 | "@typescript-eslint/eslint-plugin": "^7.14.1", |
468 | 473 | "@typescript-eslint/parser": "^7.11.0", |
| 474 | + "@vscode/l10n-dev": "^0.0.35", |
| 475 | + "@vscode/test-electron": "^2.5.2", |
469 | 476 | "@vscode/vsce": "^3.3.2", |
470 | 477 | "esbuild": "^0.24.0", |
471 | 478 | "eslint": "^8.57.0", |
|
0 commit comments