From 42644f1f676bdb39404a55c082423da4aa5d5932 Mon Sep 17 00:00:00 2001 From: Jay Sheen Date: Thu, 30 Oct 2025 18:15:46 +0900 Subject: [PATCH] Add i18n localization to support entity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add translation keys to support.qna namespace: - support.qna.registrationDate: QnA item registration date label - support.qna.status: QnA item status label - Localize ui/qna-item.tsx: - Replace hardcoded "등록일" with translation key - Replace hardcoded "상태" with translation key - Other support files (notice-item.tsx, faq-item.tsx) already localized 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/entities/support/ui/qna-item.tsx | 4 ++-- src/locales/en.json | 2 ++ src/locales/ko.json | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/entities/support/ui/qna-item.tsx b/src/entities/support/ui/qna-item.tsx index 312c9bc..f28cd3e 100644 --- a/src/entities/support/ui/qna-item.tsx +++ b/src/entities/support/ui/qna-item.tsx @@ -48,8 +48,8 @@ export const SupportQnaItem = ({
{ title }
- 등록일{ moment(requestDate).format('YYYY.MM.DD') } - 상태 [{t(`support.qna.statusCode.${statusCode}`)}] + {t('support.qna.registrationDate')}{ moment(requestDate).format('YYYY.MM.DD') } + {t('support.qna.status')} [{t(`support.qna.statusCode.${statusCode}`)}]
diff --git a/src/locales/en.json b/src/locales/en.json index 853b9a3..935e894 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -184,6 +184,8 @@ "merchant": "Merchant", "all": "All", "inquiryButton": "Submit Inquiry", + "registrationDate": "Registered", + "status": "Status", "categories": { "all": "All", "choose": "Choose", diff --git a/src/locales/ko.json b/src/locales/ko.json index e5a73d8..e4c1b9c 100644 --- a/src/locales/ko.json +++ b/src/locales/ko.json @@ -189,6 +189,8 @@ "merchant": "가맹점", "all": "전체", "inquiryButton": "1:1 문의하기", + "registrationDate": "등록일", + "status": "상태", "categories": { "all": "모두", "choose": "선택",