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