fix(B05): 배수유역 버튼 글 명사형 — 유역 재분할 · 관 삭제 (359-3 덤 · 요구 235-27)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VmC34fsxxbweEG3RUjs3Mn
This commit is contained in:
2026-10-16 21:07:12 +09:00
co-authored by Claude Opus 5.5
parent caebe8e042
commit 73b337f152
2 changed files with 15 additions and 2 deletions
@@ -0,0 +1,13 @@
"""359-3 덤(요구 235-27) — B05 배수유역 버튼 글 명사형."""
from pathlib import Path
LOCALE = Path(__file__).resolve().parents[2] / "ui_template" / "ui_template_locale_b2.ts"
def test_drainage_buttons_are_nouns():
text = LOCALE.read_text(encoding="utf-8")
assert 'B05_Drainage_Btn_Analyze: ["유역 재분할",' in text
assert 'B05_Drainage_Btn_DeleteSelected: ["관 삭제",' in text
assert "유역 다시 나누기" not in text
assert "선택한 관 삭제" not in text
+2 -2
View File
@@ -32,12 +32,12 @@ export const ui_locales_b2 = {
],
// 버튼 이름만으로 무엇이 바뀌는지 알기 어려워 동작을 이름·툴팁에 함께 적는다
// (2026-08-19 사용자 지시 4).
B05_Drainage_Btn_Analyze: ["유역 다시 나누기", "Recompute sub-basins"],
B05_Drainage_Btn_Analyze: ["유역 재분할", "Recompute sub-basins"],
B05_Drainage_Btn_Analyze_Tip: [
"B04에서 분석해 둔 배수유역을 불러와, 지금 배치된 배관을 기준으로 세부유역(관이 담당하는 구역)을 다시 나눕니다. 관이 부족한 구간은 자동으로 보충합니다. B04 분석 결과가 없으면 B04에서 먼저 실행해야 합니다.",
"Reloads the B04 drainage analysis and re-splits sub-basins around the current culverts, adding culverts where spacing requires. Run the analysis in B04 first if none exists.",
],
B05_Drainage_Btn_DeleteSelected: ["선택한 관 삭제", "Delete selected culvert"],
B05_Drainage_Btn_DeleteSelected: ["관 삭제", "Delete selected culvert"],
B05_Drainage_Btn_DeleteSelected_Tip: [
"지도에서 고른 배관 한 개를 지웁니다. 관을 먼저 눌러 고른 뒤에 쓸 수 있습니다.",
"Removes the culvert selected on the map. Select a culvert marker first.",