|
252 | 252 | - [ ] No linting errors |
253 | 253 |
|
254 | 254 | If any criteria fail, return to implementation step. |
255 | | - </instructions> |
256 | | - </step> |
257 | | - |
258 | | - <step number="7"> |
259 | | - <name>Run Tests and Checks</name> |
| 255 | + </instructions> |
| 256 | + </step> |
| 257 | + |
| 258 | + <step number="7"> |
| 259 | + <name>Check for Translation Requirements</name> |
| 260 | + <instructions> |
| 261 | + After implementing changes, analyze if any translations are required: |
| 262 | + |
| 263 | + Translation is needed if the implementation includes: |
| 264 | + 1. New user-facing text strings in UI components |
| 265 | + 2. New error messages or user notifications |
| 266 | + 3. Updated documentation files that need localization |
| 267 | + 4. New command descriptions or tooltips |
| 268 | + 5. Changes to announcement files or release notes |
| 269 | + 6. New configuration options with user-visible descriptions |
| 270 | + |
| 271 | + Check for these patterns: |
| 272 | + - Hard-coded strings in React components (.tsx/.jsx files) |
| 273 | + - New entries needed in i18n JSON files |
| 274 | + - Updated markdown documentation files |
| 275 | + - New VSCode command contributions |
| 276 | + - Changes to user-facing configuration schemas |
| 277 | + |
| 278 | + If translations are required: |
| 279 | + |
| 280 | + <new_task> |
| 281 | + <mode>translate</mode> |
| 282 | + <message>Translation needed for issue #[issue-number] implementation. |
| 283 | + |
| 284 | + The following changes require translation into all supported languages: |
| 285 | + |
| 286 | + **Files with new/updated user-facing content:** |
| 287 | + - [List specific files and what content needs translation] |
| 288 | + - [Include context about where the strings appear] |
| 289 | + - [Note any special formatting or constraints] |
| 290 | + |
| 291 | + **Translation scope:** |
| 292 | + - [Specify if it's new strings, updated strings, or both] |
| 293 | + - [List specific JSON keys that need attention] |
| 294 | + - [Note any markdown files that need localization] |
| 295 | + |
| 296 | + **Context for translators:** |
| 297 | + - [Explain the feature/fix being implemented] |
| 298 | + - [Provide context about how the text is used] |
| 299 | + - [Note any technical terms or constraints] |
| 300 | + |
| 301 | + Please ensure all translations maintain consistency with existing terminology and follow the project's localization guidelines.</message> |
| 302 | + </new_task> |
| 303 | + |
| 304 | + Wait for the translation task to complete before proceeding to testing. |
| 305 | + |
| 306 | + If no translations are required, continue to the next step. |
| 307 | + </instructions> |
| 308 | + </step> |
| 309 | + |
| 310 | + <step number="8"> |
| 311 | + <name>Run Tests and Checks</name> |
260 | 312 | <instructions> |
261 | 313 | Run comprehensive tests to ensure quality: |
262 | 314 |
|
|
289 | 341 | </instructions> |
290 | 342 | </step> |
291 | 343 |
|
292 | | - <step number="8"> |
| 344 | + <step number="9"> |
293 | 345 | <name>Prepare Summary</name> |
294 | 346 | <instructions> |
295 | 347 | Create a comprehensive summary of the implementation: |
|
341 | 393 | </instructions> |
342 | 394 | </step> |
343 | 395 |
|
344 | | - <step number="9"> |
| 396 | + <step number="10"> |
345 | 397 | <name>Prepare for Pull Request</name> |
346 | 398 | <instructions> |
347 | 399 | If user wants to create a pull request, prepare everything needed: |
|
429 | 481 | </instructions> |
430 | 482 | </step> |
431 | 483 |
|
432 | | - <step number="10"> |
| 484 | + <step number="11"> |
433 | 485 | <name>Create Pull Request</name> |
434 | 486 | <instructions> |
435 | 487 | Once user approves, create the pull request using GitHub MCP: |
|
492 | 544 | </instructions> |
493 | 545 | </step> |
494 | 546 |
|
495 | | - <step number="11"> |
| 547 | + <step number="12"> |
496 | 548 | <name>Monitor PR Checks</name> |
497 | 549 | <instructions> |
498 | 550 | After the PR is created, monitor the CI/CD checks to ensure they pass: |
|
0 commit comments