From 10bb43b38028956be326bd1cd8509ac607a7e164 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Fri, 28 Aug 2026 10:14:28 +0900 Subject: [PATCH] =?UTF-8?q?feat(B05,B06):=20[=EC=9E=84=EC=8B=9C=EC=A0=80?= =?UTF-8?q?=EC=9E=A5]=20=EB=B2=84=ED=8A=BC=EB=AA=85=EC=9D=84=20[=EC=A0=80?= =?UTF-8?q?=EC=9E=A5]=EC=9C=BC=EB=A1=9C=20=EB=B0=94=EA=BE=BC=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 상태로 보면 '변경사항 저장'이 맞고 '확정 전 임시'라는 이름이 혼선을 줬다 (2026-08-28 사용자 지시). 기능 변경 없음 — 라벨·토스트 문구만 바꾼다. - B05_Route_Btn_TempSave / B06_Profile_Btn_Save: 임시저장 -> 저장 - 토스트 4건: '임시 저장했습니다' -> '변경 내용을 저장했습니다' 등 - [편집 되돌리기] 툴팁의 '이미 임시저장한 내용은' 문구 정리 검증: tsc --noEmit 통과. 공용 브라우저 실측 — B05 하단 액션이 [초기화][저장][횡단 이동], '임시저장' 라벨 0건. Co-Authored-By: Claude Opus 5 (1M context) --- B05_Profile/B05_Profile_UI_Profile_Balance.ts | 4 ++-- ui_template/ui_template_locale_b2.ts | 21 +++++++++---------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/B05_Profile/B05_Profile_UI_Profile_Balance.ts b/B05_Profile/B05_Profile_UI_Profile_Balance.ts index df555b41..92ab128b 100644 --- a/B05_Profile/B05_Profile_UI_Profile_Balance.ts +++ b/B05_Profile/B05_Profile_UI_Profile_Balance.ts @@ -111,14 +111,14 @@ export function renderBalanceBar(params: BalanceBarParams): void { reset.type = "button"; reset.className = "b05-route-profile__balance-reset"; // 이 버튼이 지우는 것은 **화면에 쌓인 편집 델타**다(계획선 변화점 이동·비정규 - // 측점). 임시저장을 거치면 그 편집이 정본에 반영되므로 결과적으로 "마지막 저장 + // 측점). [저장]을 거치면 그 편집이 정본에 반영되므로 결과적으로 "마지막 저장 // 상태"가 되는 것뿐, 저장 지점으로 되돌아가는 기능이 아니다. 최초 자동 계산 // 상태로의 복귀는 좌측 하단 [초기화](B05·B06 재계산)가 맡는다(2026-08-19 정정). // 자리도 값 칩들 뒤 — 편집 상태(미저장 배지) 옆이 맥락에 맞다. reset.textContent = "편집 되돌리기"; reset.title = "화면에서 수정한 계획선 변화점과 추가한 비정규 측점을 지웁니다.\n" + - "이미 임시저장한 내용은 정본에 반영돼 있어 그대로 남습니다.\n" + + "이미 저장한 내용은 정본에 반영돼 있어 그대로 남습니다.\n" + "최초 자동 계산 상태로 되돌리려면 좌측 하단 [초기화]를 쓰세요."; reset.addEventListener("click", () => { params.onResetAll(); diff --git a/ui_template/ui_template_locale_b2.ts b/ui_template/ui_template_locale_b2.ts index 0414aed0..7370cc15 100644 --- a/ui_template/ui_template_locale_b2.ts +++ b/ui_template/ui_template_locale_b2.ts @@ -139,14 +139,13 @@ export const ui_locales_b2 = { B05_Route_Field_Smooth: ["경로 스무딩", "Smooth route"], B05_Route_Btn_Solve: ["경로 탐색 실행", "Solve Route"], B05_Route_Btn_Confirm: ["경로 확정", "Confirm Route"], - /* 2026-08-08 워크플로우 재정의 — B05 하단 액션 [초기화][임시저장][횡단 이동] */ - B05_Route_Btn_TempSave: ["임시저장", "Save Draft"], + /* 2026-08-08 워크플로우 재정의 — B05 하단 액션 [초기화][저장][횡단 이동]. + "임시저장"은 확정 전이라는 뜻이었으나 상태로 보면 변경사항 저장이라 + 이름이 혼선을 줬다 — [저장]으로 바꾼다(2026-08-28 사용자 지시). */ + B05_Route_Btn_TempSave: ["저장", "Save"], B05_Route_Btn_GoCross: ["횡단 이동", "Go to Cross"], - B05_Route_TempSave_Success: [ - "현재 편집 내용을 임시 저장했습니다.", - "Current edits saved as draft.", - ], - B05_Route_TempSave_Failed: ["임시 저장에 실패했습니다.", "Failed to save draft."], + B05_Route_TempSave_Success: ["변경 내용을 저장했습니다.", "Changes saved."], + B05_Route_TempSave_Failed: ["저장에 실패했습니다.", "Failed to save."], B05_Route_Reset_Confirm: [ "초기 자동 계산 상태로 되돌립니다. 사용자 수정 내용(경로·계획선·횡단 설계)이 모두 사라지고 재계산에 시간이 걸립니다. 계속할까요?", "Reset to the initial auto-computed state? All user edits (route, profile, cross design) will be discarded and recomputation takes a while.", @@ -197,14 +196,14 @@ export const ui_locales_b2 = { /* 2026-08-08 재정의 — 확정은 종+횡 통합(stage 2·3 함께 완료), 종단 이동은 저장 없이 B05로. */ B06_Profile_Btn_Confirm: ["확정", "Confirm"], B06_Profile_Btn_GoProfile: ["종단 이동", "Go to Profile"], - /* 임시 저장 — 확정과 같은 내용을 저장하되 경로 상태·워크플로 단계는 건드리지 않는다. */ - B06_Profile_Btn_Save: ["임시저장", "Save draft"], + /* 저장 — 확정과 같은 내용을 저장하되 경로 상태·워크플로 단계는 건드리지 않는다. */ + B06_Profile_Btn_Save: ["저장", "Save"], B06_Profile_Btn_Save_Tip: [ "지금까지 편집한 내용을 확정하지 않고 저장합니다. 페이지는 그대로 있습니다.", "Saves the current edits without confirming. You stay on this page.", ], - B06_Profile_Save_Success: ["편집 내용을 저장했습니다.", "Draft saved."], - B06_Profile_Save_Failed: ["임시 저장에 실패했습니다.", "Failed to save the draft."], + B06_Profile_Save_Success: ["편집 내용을 저장했습니다.", "Changes saved."], + B06_Profile_Save_Failed: ["저장에 실패했습니다.", "Failed to save."], B06_Profile_Result_Title: ["종·횡단 생성 결과", "Section Result"], B06_Profile_Context_Failed: [ "경로 정보를 불러오지 못했습니다. 서버 상태를 확인하세요.",