Skip to content

Commit 6331944

Browse files
feat: add translation check action to pull_request.opened event (#6393)
Co-authored-by: Roo Code <[email protected]>
1 parent f49d8bc commit 6331944

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.roo/roomotes.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ github_events:
2020
- event: pull_request.opened
2121
action:
2222
name: github.pr.review
23+
- event: pull_request.opened
24+
action:
25+
name: general.task
26+
prompt: "Check this pull request for any missing translations in the codebase. First, run the check-translations script using `node scripts/find-missing-translations.js` and carefully review its output for any missing translations. Then look for hardcoded strings that should be internationalized, but focus only on hardcoded strings that were added in this PR rather than existing strings. Verify that all UI text uses i18n functions, and ensure translation files are updated for all supported languages. If the script reports missing translations or you find other translation issues, use the translator mode to add them."
2327
- event: pull_request_review_comment.created
2428
action:
2529
name: github.pr.comment.respond

0 commit comments

Comments
 (0)