Skip to content

fix(i18n): platform-aware onboarding text#70

Merged
dbfx merged 2 commits intomainfrom
fix/onboarding-platform-text
Mar 24, 2026
Merged

fix(i18n): platform-aware onboarding text#70
dbfx merged 2 commits intomainfrom
fix/onboarding-platform-text

Conversation

@dbfx
Copy link
Contributor

@dbfx dbfx commented Mar 24, 2026

Summary

  • Onboarding hardcoded "Windows" and "registry issues" in the welcome description and startup setting across all 30 locales — incorrect on macOS/Linux
  • Split welcomeDescription and runAtStartupDescription into ...Windows / ...Other variants (matching the existing pattern in DiskAnalyzerPage)
  • Updated Onboarding.tsx to use usePlatform() and select the correct locale key at runtime
  • The "Other" variants use platform-neutral language (no Windows/registry mention, "computer" instead of "PC")

Test plan

  • Run on Windows — onboarding should still show "Windows system cleaner" and "fixes registry issues"
  • Run on macOS/Linux — onboarding should show "system cleaner" without Windows or registry references
  • Verify non-English locales render correctly on both platforms
  • npm test passes (1889 tests)

🤖 Generated with Claude Code

… Windows

The onboarding welcome and startup descriptions hardcoded "Windows" and
"registry" references across all 30 locales. On macOS/Linux this was
incorrect. Split into Windows/Other variants following the existing
pattern used in DiskAnalyzerPage, and select based on platform at runtime.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the ui label Mar 24, 2026
@dbfx dbfx merged commit 8b6457d into main Mar 24, 2026
3 checks passed
@dbfx dbfx deleted the fix/onboarding-platform-text branch March 24, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant