fix(i18n): restore translated telemetry banner copy for opt-in semantics - #3
Conversation
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
📝 WalkthroughWalkthroughAdded telemetry setup translations to 17 welcome-page locale files. Updated an English branding test to require “Bolt” and reject “Roo” and “Zoo”. ChangesTelemetry localization
Branding test update
Estimated code review effort: 1 (Trivial) | ~5 minutes Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 4
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@webview-ui/src/i18n/locales/id/welcome.json`:
- Line 15: Update the Indonesian helpImproveMessage translation so “anonymous”
clearly applies to both error and usage reporting, using wording equivalent to
“pelaporan anonim terkait kesalahan dan penggunaan” while preserving the rest of
the message.
In `@webview-ui/src/i18n/locales/it/welcome.json`:
- Line 15: Update the helpImproveMessage translation in
webview-ui/src/i18n/locales/it/welcome.json at lines 15-15 to use “nelle” before
the settingsLink label, and update webview-ui/src/i18n/locales/nl/welcome.json
at lines 15-15 to use “in de” before settingsLink; leave the remaining
translations unchanged.
In `@webview-ui/src/i18n/locales/ko/welcome.json`:
- Line 14: Update the helpImprove translation in the Korean welcome locale to
use grammatically correct Korean, replacing the current phrase with “Bolt Code
개선을 도와주세요” or “Bolt Code 개선에 도움을 주세요”.
In `@webview-ui/src/i18n/locales/pl/welcome.json`:
- Line 15: Update the Polish helpImproveMessage translation to use “prompty” or
the project’s established Polish term for user prompts instead of “podpowiedzi”,
preserving the statement that prompts, suggestions, and personal data are never
collected.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 21780043-f1bc-447c-8d73-5e4a51108017
📒 Files selected for processing (17)
webview-ui/src/i18n/locales/ca/welcome.jsonwebview-ui/src/i18n/locales/de/welcome.jsonwebview-ui/src/i18n/locales/es/welcome.jsonwebview-ui/src/i18n/locales/fr/welcome.jsonwebview-ui/src/i18n/locales/hi/welcome.jsonwebview-ui/src/i18n/locales/id/welcome.jsonwebview-ui/src/i18n/locales/it/welcome.jsonwebview-ui/src/i18n/locales/ja/welcome.jsonwebview-ui/src/i18n/locales/ko/welcome.jsonwebview-ui/src/i18n/locales/nl/welcome.jsonwebview-ui/src/i18n/locales/pl/welcome.jsonwebview-ui/src/i18n/locales/pt-BR/welcome.jsonwebview-ui/src/i18n/locales/ru/welcome.jsonwebview-ui/src/i18n/locales/tr/welcome.jsonwebview-ui/src/i18n/locales/vi/welcome.jsonwebview-ui/src/i18n/locales/zh-CN/welcome.jsonwebview-ui/src/i18n/locales/zh-TW/welcome.json
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
Co-authored-by: Codesmith <codesmith-bot@users.noreply.github.com>
The check-translations CI job fails on main because #2 removed the
telemetryblock from 17 localewelcome.jsonfiles (intending an English fallback), butscripts/find-missing-translations.jsrequires every locale to carry every key. This restores the block in all 17 locales with the new opt-in wording translated, e.g.:Each message mirrors the English opt-in copy ("Telemetry is off by default...") and reuses the previously translated
helpImprovetitles, preserving each locale's tone.node scripts/find-missing-translations.jsnow reports all translations complete.Also updates the stale branding assertion in
src/i18n/__tests__/tools-missing-param.spec.ts(it still expected "Zoo" after the Bolt rebrand), which was failing the platform-unit-test job on this branch and on main.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is enabled.Summary by CodeRabbit