#464 covers the DtRow field labels, but the results view also has empty and loading states written as English literals, so they show up in English in every locale:
frontend/src/components/views/ScanResults.tsx
156 Loading map...
170 No geolocation data available
277 Loading graph...
366 - add the key to .env to enable this module.
1023 No security findings
1110 No DNS records found
1254 No threats detected
1274 No threats detected
Line 366 is the hint under a skipped module, and it would also be better if it named the variable rather than saying ".env" in general. The module result already carries it in status_reason.
What to do:
- Add the strings under
results.common.* in messages/en.json (the two "No threats detected" share one key) and use them through t().
- Add every key to all ten locale files by hand.
npm run test:i18n checks they line up.
Done when none of these literals remain in ScanResults.tsx and npm run test:i18n and npm run build pass.
#464 covers the
DtRowfield labels, but the results view also has empty and loading states written as English literals, so they show up in English in every locale:Line 366 is the hint under a skipped module, and it would also be better if it named the variable rather than saying ".env" in general. The module result already carries it in
status_reason.What to do:
results.common.*inmessages/en.json(the two "No threats detected" share one key) and use them throught().npm run test:i18nchecks they line up.Done when none of these literals remain in
ScanResults.tsxandnpm run test:i18nandnpm run buildpass.