Add i18n localization to support entity
- 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 <noreply@anthropic.com>
This commit is contained in:
@@ -48,8 +48,8 @@ export const SupportQnaItem = ({
|
||||
<div className="inq-line">
|
||||
<div className="inq-title-text">{ title }</div>
|
||||
<div className="inq-meta">
|
||||
등록일<span>{ moment(requestDate).format('YYYY.MM.DD') }</span>
|
||||
<span className="sai">ㅣ</span>상태 <span>[{t(`support.qna.statusCode.${statusCode}`)}]</span>
|
||||
{t('support.qna.registrationDate')}<span>{ moment(requestDate).format('YYYY.MM.DD') }</span>
|
||||
<span className="sai">ㅣ</span>{t('support.qna.status')} <span>[{t(`support.qna.statusCode.${statusCode}`)}]</span>
|
||||
</div>
|
||||
<span className={`dot ${(statusCode === '03')? 'blue': 'gray'}`}></span>
|
||||
</div>
|
||||
|
||||
@@ -184,6 +184,8 @@
|
||||
"merchant": "Merchant",
|
||||
"all": "All",
|
||||
"inquiryButton": "Submit Inquiry",
|
||||
"registrationDate": "Registered",
|
||||
"status": "Status",
|
||||
"categories": {
|
||||
"all": "All",
|
||||
"choose": "Choose",
|
||||
|
||||
@@ -189,6 +189,8 @@
|
||||
"merchant": "가맹점",
|
||||
"all": "전체",
|
||||
"inquiryButton": "1:1 문의하기",
|
||||
"registrationDate": "등록일",
|
||||
"status": "상태",
|
||||
"categories": {
|
||||
"all": "모두",
|
||||
"choose": "선택",
|
||||
|
||||
Reference in New Issue
Block a user