diff --git a/src/components/marketplace/ticket.tsx b/src/components/marketplace/ticket.tsx index 0dbf463..3d1e589 100644 --- a/src/components/marketplace/ticket.tsx +++ b/src/components/marketplace/ticket.tsx @@ -119,7 +119,7 @@ export default function Ticket() { { type: 'custom', label: '', - component: , + component: , hidden: metadata.id === -1, }, { @@ -132,7 +132,7 @@ export default function Ticket() { setOpenGallery(true); }} > - Replace a existing work + {t('ticket.replace')} ), hidden: metadata.id !== -1, @@ -142,10 +142,10 @@ export default function Ticket() { return ( - {metadata.id === -1 ? 'Uploading to gallery' : 'Updating your work'} - {t('basic information')} + {t('ticket.title')} + {t('ticket.infoSection')}
- + - {t('new or replace')} + {t('ticket.operationSection')} diff --git a/src/i18n/translations/en.json b/src/i18n/translations/en.json index 1b96150..6fffffe 100644 --- a/src/i18n/translations/en.json +++ b/src/i18n/translations/en.json @@ -75,5 +75,24 @@ "type": "Type", "label": "Label" } + }, + "ticket": { + "title": "Uploading to gallery", + "infoSection": "Basic information", + "operationSection": "New or replacement", + "cityName": "Work name (English required)", + "description": "Description (Optional, English required)", + "change": "Change work in designer", + "replace": "Replace a existing work", + "new": "As a new work", + "back": "Back", + "submit": "Submit", + "submitTemplate": "Submit work" + }, + "multiLangEntry": { + "lang": "Language", + "name": "Name", + "add": "Add a name in another language", + "remove": "Remove this name" } } \ No newline at end of file diff --git a/src/i18n/translations/ja.json b/src/i18n/translations/ja.json index 9bba76e..b3c64d7 100644 --- a/src/i18n/translations/ja.json +++ b/src/i18n/translations/ja.json @@ -75,5 +75,24 @@ "type": "タイプ", "label": "ラベル" } + }, + "ticket": { + "title": "ギャラリーにアップロード", + "infoSection": "基本情報", + "operationSection": "新規または置換", + "cityName": "作品名(英語が必要)", + "description": "説明(任意、英語が必要)", + "change": "デザイナーで作品を変更", + "replace": "既存の作品を置換", + "new": "新しい作品として", + "back": "戻る", + "submit": "送信", + "submitTemplate": "作品を送信" + }, + "multiLangEntry": { + "lang": "言語", + "name": "名前", + "add": "他の言語で名前を追加", + "remove": "この名前を削除" } } \ No newline at end of file diff --git a/src/i18n/translations/ko.json b/src/i18n/translations/ko.json index 588b37f..de1b52f 100644 --- a/src/i18n/translations/ko.json +++ b/src/i18n/translations/ko.json @@ -75,5 +75,24 @@ "type": "유형", "label": "라벨" } + }, + "ticket": { + "title": "갤러리에 업로드", + "infoSection": "기본 정보", + "operationSection": "새로 만들기 또는 교체", + "cityName": "작품 이름(영어 필수)", + "description": "설명(선택 사항, 영어 필수)", + "change": "디자이너에서 작품 변경", + "replace": "기존 작품 교체", + "new": "새로운 작품으로", + "back": "뒤로", + "submit": "제출", + "submitTemplate": "작품 제출" + }, + "multiLangEntry": { + "lang": "언어", + "name": "이름", + "add": "다른 언어로 이름 추가", + "remove": "이 이름 제거" } } \ No newline at end of file diff --git a/src/i18n/translations/zh-Hans.json b/src/i18n/translations/zh-Hans.json index 897bda1..024fac0 100644 --- a/src/i18n/translations/zh-Hans.json +++ b/src/i18n/translations/zh-Hans.json @@ -75,5 +75,24 @@ "type": "类型", "label": "标签" } + }, + "ticket": { + "title": "上传至画廊", + "infoSection": "基本信息", + "operationSection": "新建或替换", + "cityName": "作品名称(需要英文)", + "description": "描述(可选,需英文)", + "change": "在设计器中更改作品", + "replace": "替换现有作品", + "new": "作为新作品", + "back": "返回", + "submit": "提交", + "submitTemplate": "提交作品" + }, + "multiLangEntry": { + "lang": "语言", + "name": "名称", + "add": "添加其他语言的名称", + "remove": "移除此名称" } } \ No newline at end of file diff --git a/src/i18n/translations/zh-Hant.json b/src/i18n/translations/zh-Hant.json index 9aa122b..14db127 100644 --- a/src/i18n/translations/zh-Hant.json +++ b/src/i18n/translations/zh-Hant.json @@ -75,5 +75,24 @@ "type": "類型", "label": "標籤" } + }, + "ticket": { + "title": "上傳至畫廊", + "infoSection": "基本信息", + "operationSection": "新建或替換", + "cityName": "作品名稱(需要英文)", + "description": "描述(可選,需英文)", + "change": "在設計器中更改作品", + "replace": "替換現有作品", + "new": "作為新作品", + "back": "返回", + "submit": "提交", + "submitTemplate": "提交作品" + }, + "multiLangEntry": { + "lang": "語言", + "name": "名稱", + "add": "添加其他語言的名稱", + "remove": "移除此名稱" } } \ No newline at end of file