fix(i18n): restore common. prefix and fix false positives

↗ view on GitHub · Federico Cesconi · 2026-05-07 · 0d6cd6a0

- Restore 'common.' namespace prefix for keys under the common namespace
  when using useTranslations() without a namespace argument
- Fix false positives where regex matched non-translation strings:
  document.createElement('a'), import paths, punctuation
- TypeScript compiles cleanly
Repository fedec65/bettercallmitch
Author Federico Cesconi <federico@cesconi.com>
Authored
Parents 198ab24c
Stats 29 files changed , +102 , -102
Part of i18n Translation Hardening Pass

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-0d6cd6a0.md from inside the repo you want the change in.

⬇ Download capture-commit-0d6cd6a0.md