Add i18n localization to payment entity
- Localize payment method names in info-wrap.tsx - Add 23 payment.paymentMethods translation keys Translation keys added: - payment.paymentMethods.kakaoPay, naverPay, samsungPay - payment.paymentMethods.mobilePaymentFull, cultureLandGiftCard - payment.paymentMethods.ssgMoney, tvPay, samsungPayCard - payment.paymentMethods.applePay, tossPay, payco, livePay - payment.paymentMethods.taiwanPayment, tmoneyPay, lPay, payU - payment.paymentMethods.twLinePay, ssgPay, kBankPay - payment.paymentMethods.ssgBankAccount, accountSimplePayment - payment.paymentMethods.skPay, bcCard Replaced 28 Korean payment method strings with t() calls. Files modified: info-wrap.tsx, ko.json, en.json 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -48,7 +48,7 @@ export const InfoWrap = () => {
|
||||
const [cardCommissionBottomSheetOn, setCardCommissionBottomSheetOn] = useState<boolean>(false);
|
||||
const [creditCardListBottomSheetOn, setCreditCardListBottomSheetOn] = useState<boolean>(false);
|
||||
|
||||
const [cardCompany, setCardCompany] = useState<string>('비씨');
|
||||
const [cardCompany, setCardCompany] = useState<string>(t('payment.paymentMethods.bcCard'));
|
||||
const [cardCompanyOptions, setCardCompanyOptions] = useState<Array<string>>();
|
||||
const [installmentDetails, setInstallmentDetails] = useState<Array<InstallmentDetails>>([]);
|
||||
|
||||
@@ -76,37 +76,37 @@ export const InfoWrap = () => {
|
||||
const { mutateAsync: paymentInstallmentDetail } = usePaymentInstallmentDetailMutation();
|
||||
|
||||
const list1 = [
|
||||
{payName: '신용카드', payImage: 'pay_01.svg', infoLink: '', payType: 2},
|
||||
{payName: '카카오페이', payImage: 'pay_02.svg', infoLink: '', payType: 3},
|
||||
{payName: '네이버페이', payImage: 'pay_03.svg', infoLink: '', payType: 3},
|
||||
{payName: '삼성페이', payImage: 'pay_04.svg', infoLink: '', payType: 2},
|
||||
{payName: '계좌이체', payImage: 'pay_05.svg', infoLink: '', payType: 1},
|
||||
{payName: '휴대폰결제', payImage: 'pay_06.svg', infoLink: '', payType: 1},
|
||||
{payName: '문화상품권', payImage: 'pay_07.svg', infoLink: '', payType: 1},
|
||||
{payName: 'SSG머니', payImage: 'pay_08.svg', infoLink: '', payType: 1},
|
||||
{payName: 'TV페이', payImage: 'pay_09.svg', infoLink: '', payType: 1},
|
||||
{payName: '삼성페이(카드)', payImage: 'pay_10.svg', infoLink: '', payType: 2},
|
||||
{payName: '애플페이', payImage: 'pay_11.svg', infoLink: '', payType: 2},
|
||||
{payName: '토스페이', payImage: 'pay_12.svg', infoLink: '', payType: 3},
|
||||
{payName: 'PAYCO', payImage: 'pay_13.svg', infoLink: '', payType: 2},
|
||||
{payName: '리브페이', payImage: 'pay_14.svg', infoLink: '', payType: 2},
|
||||
{payName: '대만결제', payImage: 'pay_15.svg', infoLink: '', payType: 1},
|
||||
{payName: '티머니페이', payImage: 'pay_16.svg', infoLink: '', payType: 1},
|
||||
{payName: 'L.PAY', payImage: 'pay_17.svg', infoLink: '', payType: 2},
|
||||
{payName: 'PAYU', payImage: 'pay_18.svg', infoLink: '', payType: 2},
|
||||
{payName: 'TW라인페이', payImage: 'pay_19.svg', infoLink: '', payType: 2},
|
||||
{payName: 'SSG페이', payImage: 'pay_21.svg', infoLink: '', payType: 3},
|
||||
{payName: '케이뱅크페이', payImage: 'pay_22.svg', infoLink: '', payType: 2},
|
||||
{payName: '가상계좌', payImage: 'pay_23.svg', infoLink: '', payType: 1},
|
||||
{payName: 'SSG은행계좌', payImage: 'pay_21.svg', infoLink: '', payType: 1},
|
||||
{payName: '계좌간편결제', payImage: 'pay_24.svg', infoLink: '', payType: 1},
|
||||
{payName: t('payment.paymentMethods.creditCard'), payImage: 'pay_01.svg', infoLink: '', payType: 2},
|
||||
{payName: t('payment.paymentMethods.kakaoPay'), payImage: 'pay_02.svg', infoLink: '', payType: 3},
|
||||
{payName: t('payment.paymentMethods.naverPay'), payImage: 'pay_03.svg', infoLink: '', payType: 3},
|
||||
{payName: t('payment.paymentMethods.samsungPay'), payImage: 'pay_04.svg', infoLink: '', payType: 2},
|
||||
{payName: t('payment.paymentMethods.accountTransfer'), payImage: 'pay_05.svg', infoLink: '', payType: 1},
|
||||
{payName: t('payment.paymentMethods.mobilePaymentFull'), payImage: 'pay_06.svg', infoLink: '', payType: 1},
|
||||
{payName: t('payment.paymentMethods.cultureLandGiftCard'), payImage: 'pay_07.svg', infoLink: '', payType: 1},
|
||||
{payName: t('payment.paymentMethods.ssgMoney'), payImage: 'pay_08.svg', infoLink: '', payType: 1},
|
||||
{payName: t('payment.paymentMethods.tvPay'), payImage: 'pay_09.svg', infoLink: '', payType: 1},
|
||||
{payName: t('payment.paymentMethods.samsungPayCard'), payImage: 'pay_10.svg', infoLink: '', payType: 2},
|
||||
{payName: t('payment.paymentMethods.applePay'), payImage: 'pay_11.svg', infoLink: '', payType: 2},
|
||||
{payName: t('payment.paymentMethods.tossPay'), payImage: 'pay_12.svg', infoLink: '', payType: 3},
|
||||
{payName: t('payment.paymentMethods.payco'), payImage: 'pay_13.svg', infoLink: '', payType: 2},
|
||||
{payName: t('payment.paymentMethods.livePay'), payImage: 'pay_14.svg', infoLink: '', payType: 2},
|
||||
{payName: t('payment.paymentMethods.taiwanPayment'), payImage: 'pay_15.svg', infoLink: '', payType: 1},
|
||||
{payName: t('payment.paymentMethods.tmoneyPay'), payImage: 'pay_16.svg', infoLink: '', payType: 1},
|
||||
{payName: t('payment.paymentMethods.lPay'), payImage: 'pay_17.svg', infoLink: '', payType: 2},
|
||||
{payName: t('payment.paymentMethods.payU'), payImage: 'pay_18.svg', infoLink: '', payType: 2},
|
||||
{payName: t('payment.paymentMethods.twLinePay'), payImage: 'pay_19.svg', infoLink: '', payType: 2},
|
||||
{payName: t('payment.paymentMethods.ssgPay'), payImage: 'pay_21.svg', infoLink: '', payType: 3},
|
||||
{payName: t('payment.paymentMethods.kBankPay'), payImage: 'pay_22.svg', infoLink: '', payType: 2},
|
||||
{payName: t('payment.paymentMethods.virtualAccount'), payImage: 'pay_23.svg', infoLink: '', payType: 1},
|
||||
{payName: t('payment.paymentMethods.ssgBankAccount'), payImage: 'pay_21.svg', infoLink: '', payType: 1},
|
||||
{payName: t('payment.paymentMethods.accountSimplePayment'), payImage: 'pay_24.svg', infoLink: '', payType: 1},
|
||||
];
|
||||
|
||||
const list2 = [
|
||||
{payName: '신용카드', payImage: 'pay_01.svg', infoLink: ''},
|
||||
{payName: 'SK PAY', payImage: 'pay_20.svg', infoLink: ''},
|
||||
{payName: 'TV페이', payImage: 'pay_09.svg', infoLink: ''},
|
||||
{payName: '삼성페이(카드)', payImage: 'pay_04.svg', infoLink: ''},
|
||||
{payName: t('payment.paymentMethods.creditCard'), payImage: 'pay_01.svg', infoLink: ''},
|
||||
{payName: t('payment.paymentMethods.skPay'), payImage: 'pay_20.svg', infoLink: ''},
|
||||
{payName: t('payment.paymentMethods.tvPay'), payImage: 'pay_09.svg', infoLink: ''},
|
||||
{payName: t('payment.paymentMethods.samsungPayCard'), payImage: 'pay_04.svg', infoLink: ''},
|
||||
];
|
||||
|
||||
const getList = (type: PaymentInfoItemType) => {
|
||||
|
||||
@@ -343,7 +343,7 @@
|
||||
"amountInfo": "Amount Information",
|
||||
"totalTransactionAmount": "Total Transaction Amount",
|
||||
"creditCard": "Credit Card",
|
||||
"accountTransfer": "Account Transfer",
|
||||
"accountTransfer": "Bank Transfer",
|
||||
"totalPgFee": "Total PG Fee",
|
||||
"paymentFee": "Payment Fee",
|
||||
"escrowFee": "Escrow Fee",
|
||||
@@ -669,7 +669,7 @@
|
||||
"notificationData": "Notification Data",
|
||||
"notificationDataInquiry": "Payment Notification Data Inquiry",
|
||||
"serviceUsageCommissionAndSettlement": "Service Usage, Commission & Settlement Period",
|
||||
"merchantNoInterestInfo": "Merchant No-Interest Info",
|
||||
"merchantNoInterestInfo": "Interest Free Payment",
|
||||
"commissionAndSettlement": "Commission & Settlement",
|
||||
"settlementPeriod": "Settlement Period",
|
||||
"general": "General",
|
||||
@@ -700,7 +700,30 @@
|
||||
"accountTransfer": "Account Transfer",
|
||||
"virtualAccount": "Virtual Account",
|
||||
"mobilePayment": "Mobile Payment",
|
||||
"escrowPayment": "Escrow Payment"
|
||||
"escrowPayment": "Escrow Payment",
|
||||
"kakaoPay": "Kakao Pay",
|
||||
"naverPay": "Naver Pay",
|
||||
"samsungPay": "Samsung Pay",
|
||||
"mobilePaymentFull": "Mobile Payment",
|
||||
"cultureLandGiftCard": "Gift Voucher",
|
||||
"ssgMoney": "SSG Money",
|
||||
"tvPay": "TV Pay",
|
||||
"samsungPayCard": "Samsung Pay (Card)",
|
||||
"applePay": "Apple Pay",
|
||||
"tossPay": "Toss Pay",
|
||||
"payco": "PAYCO",
|
||||
"livePay": "Live Pay",
|
||||
"taiwanPayment": "Taiwan Payment",
|
||||
"tmoneyPay": "Tmoney Pay",
|
||||
"lPay": "L.PAY",
|
||||
"payU": "PAYU",
|
||||
"twLinePay": "TW LINE Pay",
|
||||
"ssgPay": "SSG Pay",
|
||||
"kBankPay": "Kbank Pay",
|
||||
"ssgBankAccount": "SSG Bank Account",
|
||||
"accountSimplePayment": "Simple Account Payment",
|
||||
"skPay": "SK PAY",
|
||||
"bcCard": "BC Card"
|
||||
}
|
||||
},
|
||||
"additionalService": {
|
||||
|
||||
@@ -704,7 +704,30 @@
|
||||
"accountTransfer": "계좌이체",
|
||||
"virtualAccount": "가상계좌",
|
||||
"mobilePayment": "휴대폰",
|
||||
"escrowPayment": "에스크로 결제"
|
||||
"escrowPayment": "에스크로 결제",
|
||||
"kakaoPay": "카카오페이",
|
||||
"naverPay": "네이버페이",
|
||||
"samsungPay": "삼성페이",
|
||||
"mobilePaymentFull": "휴대폰결제",
|
||||
"cultureLandGiftCard": "문화상품권",
|
||||
"ssgMoney": "SSG머니",
|
||||
"tvPay": "TV페이",
|
||||
"samsungPayCard": "삼성페이(카드)",
|
||||
"applePay": "애플페이",
|
||||
"tossPay": "토스페이",
|
||||
"payco": "PAYCO",
|
||||
"livePay": "리브페이",
|
||||
"taiwanPayment": "대만결제",
|
||||
"tmoneyPay": "티머니페이",
|
||||
"lPay": "L.PAY",
|
||||
"payU": "PAYU",
|
||||
"twLinePay": "TW라인페이",
|
||||
"ssgPay": "SSG페이",
|
||||
"kBankPay": "케이뱅크페이",
|
||||
"ssgBankAccount": "SSG은행계좌",
|
||||
"accountSimplePayment": "계좌간편결제",
|
||||
"skPay": "SK PAY",
|
||||
"bcCard": "비씨"
|
||||
}
|
||||
},
|
||||
"additionalService": {
|
||||
|
||||
Reference in New Issue
Block a user