Convert transaction constants to i18n-compatible getter functions
- Convert all hardcoded constant arrays to functions accepting TFunction - Add transaction.constants namespace with 40+ translation keys - Update contant.ts: All exports now use get* prefix (e.g., getCashReceiptPurposeTypeBtnGroup) - Replace ko/en properties with single name property using t() function Updated constants: - getAllTransactionMoidTidOptionsGroup(t) - getAllTransactionStatusCodeBtnGroup(t) - getAllTransactionServiceCodeOptionsGroup(t) - getAllTransactionStatusCode(t) - getCashReceiptPurposeTypeBtnGroup(t) - getCashReceiptTransactionTypeBtnGroup(t) - getCashReceiptProcessResultBtnGroup(t) - getEscrowSearchTypeOptionsGroup(t) - getEscrowDeliveryStatusBtnGroup(t) - getEscrowSettlementStatusBtnGroup(t) - getBillingSearchTypeOptionsGroup(t) - getBillingRequestStatusBtnGroup(t) - getBillingProcessResultBtnGroup(t) - getBillingPaymentMethodBtnGroup(t) Updated components (9 files): - Filter components: all-transaction, cash-receipt, billing, escrow - List pages: billing, cash-receipt, escrow - UI components: list-item, important-info-section All constants now properly support Korean/English language switching. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -514,6 +514,46 @@
|
||||
"customerName": "Customer Name",
|
||||
"transactionConfirmation": "Transaction Confirmation"
|
||||
},
|
||||
"constants": {
|
||||
"all": "All",
|
||||
"orderNumber": "Order Number",
|
||||
"tid": "TID",
|
||||
"approval": "Approval",
|
||||
"approvalComplete": "Approval/Payment Complete",
|
||||
"cancel": "Cancel",
|
||||
"cancelShort": "Cancellation",
|
||||
"totalCancel": "Total Cancellation/Cancel",
|
||||
"totalCancelShort": "Total Cancellation",
|
||||
"refund": "Refund",
|
||||
"deposit": "Deposit",
|
||||
"waitingDeposit": "Waiting Deposit",
|
||||
"issueCancel": "Issue Cancel",
|
||||
"creditCard": "Credit Card",
|
||||
"virtualAccount": "Virtual Account",
|
||||
"accountTransfer": "Account Transfer",
|
||||
"accountSimpleTransfer": "Account Simple Payment",
|
||||
"mobilePayment": "Mobile Payment",
|
||||
"ssgMoney": "SSG Money",
|
||||
"ssgBank": "SSG Bank Account",
|
||||
"cultureLand": "Culture Gift Certificate",
|
||||
"tmoneyPay": "Tmoney Pay",
|
||||
"request": "Request",
|
||||
"requestCancel": "Request Cancel",
|
||||
"requestComplete": "Request Complete",
|
||||
"issueComplete": "Issue Complete",
|
||||
"requestFail": "Request Failed",
|
||||
"issueFail": "Issue Failed",
|
||||
"paymentComplete": "Payment Complete",
|
||||
"deliveryRegistration": "Delivery Registration",
|
||||
"deliveryComplete": "Delivery Complete",
|
||||
"purchaseConfirm": "Purchase Confirm",
|
||||
"purchaseReject": "Purchase Reject",
|
||||
"refundProcessing": "Refund Processing",
|
||||
"depositComplete": "Deposit Complete",
|
||||
"inProgress": "In Progress",
|
||||
"success": "Success",
|
||||
"failure": "Failure"
|
||||
},
|
||||
"handWrittenIssuance": {
|
||||
"step1Title": "Enter Issue Information",
|
||||
"step2Title": "Enter Issue Amount",
|
||||
|
||||
@@ -518,6 +518,46 @@
|
||||
"customerName": "고객명",
|
||||
"transactionConfirmation": "거래 확인서"
|
||||
},
|
||||
"constants": {
|
||||
"all": "전체",
|
||||
"orderNumber": "주문번호",
|
||||
"tid": "TID",
|
||||
"approval": "승인",
|
||||
"approvalComplete": "승인/입금완료",
|
||||
"cancel": "취소",
|
||||
"cancelShort": "후취소",
|
||||
"totalCancel": "전취소/취소",
|
||||
"totalCancelShort": "전취소",
|
||||
"refund": "환불",
|
||||
"deposit": "입금",
|
||||
"waitingDeposit": "입금대기",
|
||||
"issueCancel": "채번취소",
|
||||
"creditCard": "신용카드",
|
||||
"virtualAccount": "가상계좌",
|
||||
"accountTransfer": "계좌이체",
|
||||
"accountSimpleTransfer": "계좌간편결제",
|
||||
"mobilePayment": "휴대폰",
|
||||
"ssgMoney": "SSG 머니",
|
||||
"ssgBank": "SSG 은행계좌",
|
||||
"cultureLand": "문화상품권",
|
||||
"tmoneyPay": "티머니페이",
|
||||
"request": "요청",
|
||||
"requestCancel": "요청취소",
|
||||
"requestComplete": "요청완료",
|
||||
"issueComplete": "발급완료",
|
||||
"requestFail": "요청실패",
|
||||
"issueFail": "발급실패",
|
||||
"paymentComplete": "결제완료",
|
||||
"deliveryRegistration": "배송등록",
|
||||
"deliveryComplete": "배송완료",
|
||||
"purchaseConfirm": "구매확인",
|
||||
"purchaseReject": "구매거절",
|
||||
"refundProcessing": "환불처리",
|
||||
"depositComplete": "지급완료",
|
||||
"inProgress": "진행중",
|
||||
"success": "성공",
|
||||
"failure": "실패"
|
||||
},
|
||||
"handWrittenIssuance": {
|
||||
"step1Title": "발행 정보 입력",
|
||||
"step2Title": "발행 금액 입력",
|
||||
|
||||
Reference in New Issue
Block a user