From 1ad7d1f6ab0bbd6592dec270dee69b0e778a3e74 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Wed, 30 Jul 2025 10:29:27 -0400 Subject: [PATCH 1/2] Update the auto-translate prompt --- .roo/roomotes.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.roo/roomotes.yml b/.roo/roomotes.yml index ecc4da61ee..8886f3a76b 100644 --- a/.roo/roomotes.yml +++ b/.roo/roomotes.yml @@ -23,7 +23,11 @@ github_events: - event: pull_request.opened action: name: general.task - 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." + prompt: | + 1. Run the script `node scripts/find-missing-translations.js` and carefully review its output for any missing translations. + 2. If the script reports missing translations, switch into `translate` mode and add them in all supported languages. + 3. If you've added new translations, commit and push them to the existing PR. + 4. If you get a permission error trying to push to the PR just give up (i.e don't create a new PR instead). - event: pull_request_review_comment.created action: name: github.pr.comment.respond From e061fe5b84c4ff051a0ed3d4113db04c17644956 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Wed, 30 Jul 2025 10:39:19 -0400 Subject: [PATCH 2/2] PR feedback --- .roo/roomotes.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.roo/roomotes.yml b/.roo/roomotes.yml index 8886f3a76b..af0cd85b40 100644 --- a/.roo/roomotes.yml +++ b/.roo/roomotes.yml @@ -24,10 +24,10 @@ github_events: action: name: general.task prompt: | - 1. Run the script `node scripts/find-missing-translations.js` and carefully review its output for any missing translations. - 2. If the script reports missing translations, switch into `translate` mode and add them in all supported languages. - 3. If you've added new translations, commit and push them to the existing PR. - 4. If you get a permission error trying to push to the PR just give up (i.e don't create a new PR instead). + 1. Run the script `node scripts/find-missing-translations.js` and carefully review its output for any missing translations. + 2. If the script reports missing translations, switch into `translate` mode and add them in all supported languages. + 3. If you've added new translations, commit and push them to the existing PR. + 4. If you get a permission error trying to push to the PR just give up (i.e don't create a new PR instead). - event: pull_request_review_comment.created action: name: github.pr.comment.respond