fix(716-3): Hopyo 화면 글 「사전조합」 → 「일위대가」 — M02_PrecomboTitle 키로

- 확인 창 [일위대가 생성] 단추 · 엑셀 보기 · 다시 잇기 · 장부 · 고르기 알림 · 구조물 조합으로 설명
- 서버 줄 상태 글 「확인된 일위대가」
- test_m02_hopyo_screen 단추 글 단언을 키 꼴로 고침

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-01 15:42:14 +09:00
co-authored by Claude Opus 5.5
parent 7128579f92
commit cfc5309a4d
9 changed files with 32 additions and 15 deletions
@@ -12,6 +12,7 @@ import { createButton, showToast } from "@ui/ui_template_elements";
import { openModal } from "@ui/ui_template_modal";
import { createDataTable, type DataRow } from "@ui/ui_template_data_table";
import { createText } from "@ui/ui_template_text";
import { t as L } from "@ui/ui_template_locale";
import {
pageScope,
relinkApply,
@@ -43,7 +44,7 @@ const won = (v: number | null | undefined): string =>
export function relinkKeys(keys: string[]): RelinkSource {
const scope = pageScope();
return {
title: `이 공사 단가로 다시 잇기 — 사전조합 ${keys.length}`,
title: `이 공사 단가로 다시 잇기 — ${L("M02_PrecomboTitle")} ${keys.length}`,
priceLabel: "최신 판 단가",
rows: () => relinkRows(scope, { 키: keys }),
apply: async (changes) => {
@@ -51,7 +52,7 @@ export function relinkKeys(keys: string[]): RelinkSource {
const sum = (k: "전" | "후"): number => got.문서.reduce((a, d) => a + (d[k] ?? 0), 0);
return {
back: got.되돌림,
note: `바뀐 줄 ${got.바뀜} · 사전조합 ${got.문서.length} · 1 단위 값 합 ${won(sum("전"))} → ${won(sum("후"))}`,
note: `바뀐 줄 ${got.바뀜} · ${L("M02_PrecomboTitle")} ${got.문서.length} · 1 단위 값 합 ${won(sum("전"))} → ${won(sum("후"))}`,
};
},
};