From 6c499ae061d280c5de009d369aa69d94b7eb235a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=84=B1=EA=B2=BD?= Date: Fri, 26 Jun 2026 11:50:08 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9E=A5=EB=A5=B4=20=EC=84=A0=ED=83=9D=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 1 - src/components/VideoDetailContent.tsx | 46 +++++++-------- src/components/VideoDetailModal.tsx | 2 +- src/locales/en.json | 46 +++++++++++---- src/locales/ko.json | 28 ++++++++- src/pages/Dashboard/CompletionContent.tsx | 8 +-- .../Dashboard/ContentCalendarContent.tsx | 6 +- src/pages/Dashboard/GenerationFlow.tsx | 4 +- src/pages/Dashboard/SoundStudioContent.tsx | 58 ++++++++++--------- src/styles/business-settings.css | 1 + src/styles/contents-social.css | 6 +- src/styles/dashboard.css | 2 +- src/styles/generation-flow.css | 24 +++++++- src/styles/landing.css | 43 ++++---------- src/styles/studio-assets.css | 4 +- 15 files changed, 167 insertions(+), 112 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 2a5ad82..2e33306 100755 --- a/src/App.tsx +++ b/src/App.tsx @@ -507,7 +507,6 @@ const App: React.FC = () => { onAnalyze={handleStartAnalysis} onAutocomplete={handleAutocomplete} onManualInput={handleManualInput} - onTestData={handleTestData} onNext={() => scrollToSection(1)} error={error} scrollProgress={scrollProgress} diff --git a/src/components/VideoDetailContent.tsx b/src/components/VideoDetailContent.tsx index 153a00d..3c65db4 100644 --- a/src/components/VideoDetailContent.tsx +++ b/src/components/VideoDetailContent.tsx @@ -94,7 +94,7 @@ const VideoDetailContent: React.FC = ({ videoId, isModa const formatDate = (dateString: string) => { const date = new Date(dateString); - return `${date.getFullYear()}년 ${date.getMonth() + 1}월 ${date.getDate()}일`; + return t('videoDetail.dateFormat', { year: date.getFullYear(), month: date.getMonth() + 1, day: date.getDate() }); }; const formatCommentDate = (dateString: string) => { @@ -120,12 +120,12 @@ const VideoDetailContent: React.FC = ({ videoId, isModa kakao.Share.sendDefault({ objectType: 'feed', content: { - title: video?.store_name ?? 'ADO2 영상', - description: `${video?.region ?? ''} · ADO2 AI 마케팅 영상`, + title: video?.store_name ?? t('videoDetail.kakaoDefaultTitle'), + description: t('videoDetail.kakaoDescription', { region: video?.region ?? '' }), imageUrl: 'https://demo.castad.net/favicon_48.svg', link: { mobileWebUrl: shareUrl, webUrl: shareUrl }, }, - buttons: [{ title: '영상 보기', link: { mobileWebUrl: shareUrl, webUrl: shareUrl } }], + buttons: [{ title: t('videoDetail.kakaoButtonTitle'), link: { mobileWebUrl: shareUrl, webUrl: shareUrl } }], }); } else if (navigator.share) { navigator.share({ url: shareUrl }).catch(() => {}); @@ -222,7 +222,7 @@ const VideoDetailContent: React.FC = ({ videoId, isModa }; const renderCommentContent = (content: string | null, isDeleted: boolean) => { - if (isDeleted) return (삭제된 댓글입니다.); + if (isDeleted) return {t('videoDetail.deletedComment')}; return content; }; @@ -231,7 +231,7 @@ const VideoDetailContent: React.FC = ({ videoId, isModa {/* 헤더 */}
{isModal ? ( - {shareMenuOpen && (
@@ -303,21 +303,21 @@ const VideoDetailContent: React.FC = ({ videoId, isModa - 카카오톡 + {t('videoDetail.shareKakao')} {/* 페이스북 */} {/* X (트위터) */} {/* URL 복사 */}
)} @@ -335,7 +335,7 @@ const VideoDetailContent: React.FC = ({ videoId, isModa {/* 댓글 섹션 */}
-

댓글

+

{t('videoDetail.commentsTitle')}

{commentsTotal}
@@ -344,16 +344,16 @@ const VideoDetailContent: React.FC = ({ videoId, isModa
아바타 변경 setCommentNickname(e.target.value)} maxLength={20} @@ -365,7 +365,7 @@ const VideoDetailContent: React.FC = ({ videoId, isModa