Skip to content

Commit 7e3aec4

Browse files
committed
feat: clarify translation check to focus only on PR additions
- Updated roomotes.yml prompt to specify checking only hardcoded strings added in the PR - Addresses feedback to avoid flagging existing hardcoded strings - Maintains focus on new translation requirements for PR changes
1 parent ca678ac commit 7e3aec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.roo/roomotes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ github_events:
2323
- event: pull_request.opened
2424
action:
2525
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, 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."
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."
2727
- event: pull_request_review_comment.created
2828
action:
2929
name: github.pr.comment.respond

0 commit comments

Comments
 (0)