From 2292c50fbb6fcd7e0198092afb0fdb20a6d918d1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Sep 2026 01:17:06 -0700 Subject: [PATCH] fix(i18n): drop orphan TerminalPane.minimumContrast entries that broke main #18126 added a `auto.components.settings.TerminalPane.minimumContrast` block to en.json alongside the `settings.contrast.*` keys the shipped TerminalContrastSetting component actually reads. Nothing references the TerminalPane block: zero call sites, zero tests, zero other locales, and no dynamic key builder under `auto.components.settings.*` can produce it (the only template-literal builder in that namespace is a test consumer that reads paths from the catalog, not one that constructs them). An unreferenced entry is treated as runtime-required by generate-runtime-required-english-catalog (possible dynamic key), so the seven orphans made `verify:localization-runtime-catalog` demand they ship in en-runtime-required.json. #18126 never regenerated it, and its own static-analysis gate was cancelled rather than run, so main has failed that step for every PR since 53852c9 merged. Delete the orphans rather than regenerate the catalog around them: regenerating would enshrine seven keys nothing reads. --- src/renderer/src/i18n/locales/en.json | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/renderer/src/i18n/locales/en.json b/src/renderer/src/i18n/locales/en.json index 4fa36b54a9f..8e6d862e3b5 100644 --- a/src/renderer/src/i18n/locales/en.json +++ b/src/renderer/src/i18n/locales/en.json @@ -8627,15 +8627,6 @@ "fastDescription": "Extra multiplier while scrolling with a modifier key.", "tui": "TUI", "tuiDescription": "Discrete wheel reports for full-screen terminal apps." - }, - "minimumContrast": { - "title": "Minimum Contrast Ratio", - "description": "Lifts terminal foreground colors that sit too close to the background. Leave blank for automatic, or set 1 to render program colors exactly as sent.", - "automatic": "Automatic: {{light}} on light backgrounds, {{dark}} on dark.", - "disabled": "Correction off. Programs that rely on low contrast, like Powerline separators, render as sent.", - "pinned": "Targets {{ratio}}:1 contrast for foreground colors, where possible.", - "placeholder": "Auto", - "suffix": "blank = automatic, 1 = off" } }, "TerminalSettingsPreview": {