/* ============================================================================= * line_stack_text.ts * 줄 쌓기 화면 글(PLAN 804-2) — [국문, 영문] · 수식 탭과 같은 글은 `formula_doc_text.ts` * ========================================================================== */ import { currentLanguageIndex } from "@ui/ui_template_locale"; const TEXT = { Tab: ["줄 쌓기", "Line stack"], Basis: ["산 출 근 거", "Basis"], Total: ["합 계", "Total"], Sum: ["계", "Sum"], Sub_Sum: ["소 계", "Subtotal"], Add_Item: ["+ 항목", "+ Item"], Add_Line: ["+ 줄", "+ Line"], Del_Item: ["항목 지움", "Delete item"], Del: ["지움", "Delete"], Up: ["위로", "Up"], Down: ["아래로", "Down"], Title: ["항목 이름(비우면 번호 없음)", "Item title"], Gana: ["가나다", "Sub"], K_인력: ["인력", "Labor"], K_재료: ["재료", "Material"], K_기계: ["기계", "Machine"], K_단가산출: ["다른 단가산출", "Unit price"], K_율: ["율 · 식", "Rate"], K_공식: ["공식", "Formula"], K_새공식: ["공식 — 새 공식(빈 묶음)", "Formula — new"], K_틀: ["공식 — 틀 찾기(단가산출 결과)", "Formula — template"], K_글: ["글 · 근거", "Text"], Name: ["이름", "Name"], Unit: ["단위", "Unit"], Cost: ["비목", "Cost"], Qty: ["수량", "Qty"], Price: ["단가", "Price"], Machine: ["기계", "Machine"], Find: ["찾기", "Find"], Pick: ["고름 ▾", "Pick ▾"], None_Found: ["찾은 것 없음", "Nothing found"], Unfold: ["식으로 풀기", "Unfold"], Fold: ["접기", "Fold"], Save_Tpl: ["틀로 저장", "Save as template"], Tpl_Name: ["틀 이름", "Template name"], New_Formula: ["새 공식", "New formula"], My_Formula: ["내 공식", "My formula"], My_Tpl: ["내 틀", "My template"], Changed_From: ["에서 변경", "changed"], Add_Row: ["+ 「이름 = 식」 줄", "+ Row"], Row_Name: ["이름", "Name"], Row_Expr: ["값 또는 식", "Value or expr"], Bad_Name: ["못 쓰는 이름 · 같은 이름 있음", "Bad or duplicate name"], Empty_Item: ["줄 없음 — [+ 줄]", "No lines — [+ Line]"], Empty: ["빈 단가산출 — [+ 항목] 으로 시작", "Empty — start with [+ Item]"], Text_Ph: ["< 품셈 근거 > · ※ 메모 · 별산", "Note"], Notes: [ "줄 쌓기에서 못 고치는 칸(보존됨 · 수식 탭에서 고침)", "Kept fields (edit in Equation tab)", ], Unsaved_New: ["저장한 단가산출만 — 페이지 [저장] 뒤", "Saved unit prices only"], Find_Title: ["찾아 넣기", "Find and add"], Repick: ["찾아 바꾸기", "Find and change"], Close: ["닫기", "Close"], Tbl: ["표", "Table"], Tbl_Missing: ["표를 못 읽음", "Table not found"], Tbl_Hint: ["값 칸을 누르면 그 값이 들어감", "Click a value cell to use it"], Tbl_Bound: [ "이 값의 줄은 위 옵션이 고름(다른 줄은 옵션에서 바꿈 · 여기선 칸만)", "Row follows the option above (change it there; pick a column here)", ], } as const; export type LsKey = keyof typeof TEXT; export const lt = (key: LsKey): string => TEXT[key][currentLanguageIndex === 1 ? 1 : 0];