diff --git a/B09_Estimation/B09_Estimation_UI_Page.ts b/B09_Estimation/B09_Estimation_UI_Page.ts index ff6538f6..df04452b 100644 --- a/B09_Estimation/B09_Estimation_UI_Page.ts +++ b/B09_Estimation/B09_Estimation_UI_Page.ts @@ -908,11 +908,9 @@ export async function renderB09Estimation(root: HTMLElement): Promise { } if (bill.summary.missing.length > 0) { - const note = document.createElement("div"); - note.className = "b09-hint"; - note.textContent = `${L("B09_Estimation_Boq_Missing")} (${bill.summary.missing.length})`; - body.append(note); - + // ⚠ **머리글을 한 번만 단다.** 종전엔 「못 세운 줄 (16)」 뒤에 갈래별 머리글이 + // 또 붙어 **같은 수가 두 번** 떴다. 안내를 더하는 것이 곧 다른 안내를 묻는 것이라 + // (2026-09-08 메인 창 지적), 한 화면에 뜨는 줄 수를 늘리지 않는다. // ⚠ **할 일이 다르므로 갈라 보인다** — 「사용자가 입력하면 풀리는 것」과 // 「우리가 만들어야 하는 것」. 한 목록에 섞으면 사용자가 무엇을 해야 할지 못 읽는다. const needsInput = bill.summary.missing.filter( @@ -926,7 +924,10 @@ export async function renderB09Estimation(root: HTMLElement): Promise { if (group.length === 0) continue; const head = document.createElement("div"); head.className = "b09-hint"; - head.textContent = `${L(labelKey)} (${group.length})`; + // 갈래가 하나뿐이면 「금액을 못 세운 줄」이라는 말을 앞에 붙여 뜻이 온전하게 한다. + const prefix = + needsInput.length > 0 && rest.length > 0 ? "" : `${L("B09_Estimation_Boq_Missing")} — `; + head.textContent = `${prefix}${L(labelKey)} (${group.length})`; body.append(head); const list = document.createElement("ul"); for (const item of group) { diff --git a/ui_template/ui_template_locale_b2.ts b/ui_template/ui_template_locale_b2.ts index f2ec9e52..f54e751d 100644 --- a/ui_template/ui_template_locale_b2.ts +++ b/ui_template/ui_template_locale_b2.ts @@ -713,15 +713,15 @@ export const ui_locales_b2 = { "Check rows — quantity only, never priced", ], B09_Estimation_Boq_NeedsInput: [ - "입력하면 풀리는 것 — 설계 화면에서 값을 고르면 금액이 섭니다", + "입력하면 풀리는 것 (설계 화면에서 값을 고르면 금액이 섭니다)", "Waiting on input — pick the value on the design screen and the amount appears", ], B09_Estimation_Boq_NeedsWork: [ - "우리가 만들어야 하는 것 — 원단위·전개식이 아직 없습니다", + "우리가 만들어야 하는 것 (원단위·전개식 없음)", "Needs build — unit data or formula is missing", ], B09_Estimation_Boq_Missing: [ - "금액을 못 세운 줄 — 0 으로 채우지 않고 그대로 보입니다", + "금액을 못 세운 줄 — 0 으로 안 채웁니다", "Rows without an amount — shown as-is, not zero-filled", ], B09_Estimation_Boq_Materials: ["자재 (별도 벌)", "Materials (separate set)"],