Skip to content

fix: localize audit hub and report strings - #673

Merged
gkhngyk merged 1 commit into
ansvisor:mainfrom
BharadwajKanneveti:fix/audit-i18n-strings
Aug 7, 2026
Merged

gkhngyk merged 1 commit into
ansvisor:mainfrom
BharadwajKanneveti:fix/audit-i18n-strings

Conversation

@BharadwajKanneveti

Copy link
Copy Markdown
Contributor

Summary

Localized audit hub and audit report UI strings by moving hardcoded English text into the audit translation namespace.

Changes include:

  • Replaced hardcoded audit hub labels with t(...) translations.
  • Added audit.status.* translations so audit statuses (running, completed, failed) render as user-friendly labels instead of raw enum values.
  • Localized audit report labels including signals, recommendations, findings, fixes, copy actions, and category sections.
  • Removed user-visible hardcoded strings from audit-related components.

Related issue

Closes #670

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

Checklist

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean sweep of #670 — the raw running/failed enums now go through audit.status.*, and the report literals are all keyed. Verified categoryBreakdown and noBrand already existed in en.json, so every t() call here resolves. Thanks!

@gkhngyk
gkhngyk merged commit bfe0b43 into ansvisor:main Aug 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Site Audit: hardcoded English strings and raw status enums bypass i18n

2 participants