Settings i18n improvements (#22571)

* i18n improvements for settings UI

- deduplicate shared detector translation keys and centralize config translation resolution
- add missing i18n keys

* formatting
This commit is contained in:
Josh Hawkins
2026-03-22 13:03:24 -05:00
committed by GitHub
parent 74c89beaf9
commit b6c03c99de
12 changed files with 217 additions and 809 deletions
@@ -1136,7 +1136,7 @@ export function ConfigSection({
)}
{hasChanges && (
<Badge variant="outline" className="text-xs">
{t("modified", {
{t("button.modified", {
ns: "common",
defaultValue: "Modified",
})}
@@ -1210,7 +1210,10 @@ export function ConfigSection({
variant="secondary"
className="cursor-default bg-danger text-xs text-white hover:bg-danger"
>
{t("modified", { ns: "common", defaultValue: "Modified" })}
{t("button.modified", {
ns: "common",
defaultValue: "Modified",
})}
</Badge>
)}
</div>