feat(793-3b): 시트 상태줄 원래 금액 글 — 가져온 식이면 「엑셀 원래」(브레인 승인 · sub3 시트 파일 두 줄)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-05 18:51:36 +09:00
co-authored by Claude Opus 5.5
parent 141c45061a
commit 9456935d2d
2 changed files with 4 additions and 1 deletions
@@ -72,6 +72,7 @@ const TEXT = {
Paper: ["산출서", "Statement"],
Mode: ["시트 보기", "Sheet view"],
Origin: ["M01 원래", "M01 original"],
Excel: ["엑셀 원래", "Excel original"], // 793-3b 가져온 식(셈 답 `가져온`) = 원래 = 엑셀 금액
Now: ["지금", "Now"],
Before: ["고치기 전", "Before edit"],
근거: ["근거", "Basis"],
@@ -194,7 +195,7 @@ export function createSangeunSheet(
],
});
status.replaceChildren(
part("origin", t("Origin"), s.원래),
part("origin", t(d.ans && "가져온" in d.ans ? "Excel" : "Origin"), s.원래),
part("now", t("Now"), s.지금, diffText(s.지금, s.원래)),
part("before", t("Before"), s.전, diffText(s.지금, s.전)),
...(ctx ? restoreAll(ctx) : []),
@@ -111,6 +111,8 @@ def test_단산_줄_길_잇기():
assert "skPick(sk" in imp and "o.onLink" in imp # [이 줄에 잇기] = 줄 고른 것 SK
for how in ('run("price"', 'run("link"', 'run("to-base"'):
assert how in imp, how
sheet = _src("Sangeun_Sheet") # 상태줄 원래 = 가져온 식이면 「엑셀 원래」
assert 'Excel: ["엑셀 원래"' in sheet and '"가져온" in d.ans ? "Excel" : "Origin"' in sheet
locale = (ROOT / "ui_template/ui_template_locale_m2_judge.ts").read_text(encoding="utf-8")
assert 'M02_CheckImported: ["가져온 식으로 열기"' in locale