Fix display-column toggle highlight polarity on compare board.
Some checks failed
Release Windows / build (push) Has been cancelled

Highlight when display columns are visible, and use a stable toggle label.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-10-09 09:55:38 +08:00
parent 1653a31b16
commit ee053f9990
3 changed files with 7 additions and 6 deletions

View file

@ -527,7 +527,8 @@ const en = {
keyFiltersToggle: "Field filters",
hideDisplayCols: "Hide display cols",
showDisplayCols: "Show display cols",
hideDisplayColsHint: "Compact: hide display-only columns so keys and diffs stand out",
displayColsToggle: "Display cols",
hideDisplayColsHint: "Compact: display-only columns are hidden by default; highlight means they are shown",
ranWithDuration: "Compare finished ({{s}}s)",
unchangedNotStored: "Success rows were counted but not stored. Set “Store success rows” to sample and re-run for spot-check.",
unchangedSampleHint: "{{total}} success rows total; browsing a stratified sample of {{listed}}. Search any route for live source lookup. Pass rate uses all {{total}}.",

View file

@ -526,7 +526,8 @@ const zh = {
keyFiltersToggle: "字段筛选",
hideDisplayCols: "隐藏展示列",
showDisplayCols: "显示展示列",
hideDisplayColsHint: "紧凑模式:默认隐藏不参与比对的展示列,突出 Key 与差异",
displayColsToggle: "展示列",
hideDisplayColsHint: "紧凑模式:默认隐藏不参与比对的展示列;高亮表示当前已显示",
ranWithDuration: "比对完成(耗时 {{s}} 秒)",
unchangedNotStored: "成功行仅统计数量未落库。可在任务配置将「成功行保存」改为抽样后重新比对(抽查用)。",
unchangedSampleHint: "成功共 {{total}} 条,明细抽样 {{listed}} 条(分层抽查)。要查任意路由请输入筛选条件——将按原表即时判定。通过率按全部 {{total}} 计。",