From 143c6b9dccef1ca851bdeb7bee502e6b50c11db3 Mon Sep 17 00:00:00 2001 From: MU-Software Date: Mon, 23 Sep 2024 11:50:10 +0900 Subject: [PATCH] =?UTF-8?q?=ED=83=9C=EA=B7=B8=20=EB=B2=88=EC=97=AD=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locale/English/translation.ts | 12 ++++++++++++ src/pages/Session/detail.tsx | 2 +- src/pages/Session/list.tsx | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/locale/English/translation.ts b/src/locale/English/translation.ts index 81ea9e1..9fcb490 100644 --- a/src/locale/English/translation.ts +++ b/src/locale/English/translation.ts @@ -216,6 +216,18 @@ const EnglishTranslation = { "영어": "English", "한국어": "Korean", "일본어": "Japanese", + "교육": "Education", + "데이터 과학": "Data Science", + "라이브러리 / 코어": "Library / Core", + "보안": "Security", + "블록체인": "Blockchain", + "실무": "Work", + "오픈소스 / 커뮤니티": "Open Source / Community", + "웹 서비스": "Web Service", + "인공지능": "Artificial Intelligence", + "일상 / 사회": "Daily life / Society", + "자동화": "Automation", + "컴퓨터 비전": "Computer Vision", } export default EnglishTranslation diff --git a/src/pages/Session/detail.tsx b/src/pages/Session/detail.tsx index 6cfdbff..1e41f59 100644 --- a/src/pages/Session/detail.tsx +++ b/src/pages/Session/detail.tsx @@ -55,7 +55,7 @@ const SessionDetail: React.FC<{ session: APIPretalxSessions[0] }> = ({ session }

{t('태그')} :
- {session.tags.map(tag => {tag})} + {session.tags.map(tag => {t(tag)})} {session.do_not_record && {t('녹화 불가')}}

diff --git a/src/pages/Session/list.tsx b/src/pages/Session/list.tsx index 5911f3e..cbdea41 100644 --- a/src/pages/Session/list.tsx +++ b/src/pages/Session/list.tsx @@ -29,7 +29,7 @@ const SessionItem: React.FC<{ session: APIPretalxSessions[0] }> = ({ session })

{session.abstract}

by {session.speakers.map((speaker) => {speaker.name})} - {session.tags.map(tag => {tag})} + {session.tags.map(tag => {t(tag)})} {session.do_not_record && {t('녹화 불가')}} @@ -58,7 +58,7 @@ export const SessionListPage = () => {
{tags.map((tag) => setOrUnsetTag(tag)} className={tag === currentTag ? 'selected' : ''}> - {tag} + {t(tag)} )}