Skip to content

Commit

Permalink
Merge pull request #173 from Regulus0811/refactor/translate
Browse files Browse the repository at this point in the history
日本語フォント適用
  • Loading branch information
Lainari authored Jul 2, 2024
2 parents 6379a49 + e836efa commit edf9fd2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,29 +272,29 @@ const LiveClass: React.FC<LiveClassProps> = ({classId, userId}) => {
onClick={handleStartClass}
className="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded-md"
>
수업 시작
授業開始
</button>
) : (
<>
<button
onClick={handleEndClass}
className="bg-red-500 hover:bg-red-600 text-white font-bold py-2 px-4 rounded-md"
>
수업 종료
授業終了
</button>
{isSharingScreen ? (
<button
onClick={stopScreenShare}
className="bg-yellow-500 hover:bg-yellow-600 text-white font-bold py-2 px-4 rounded-md mt-4"
>
화면 공유 종료
画面共有停止
</button>
) : (
<button
onClick={startScreenShare}
className="bg-green-500 hover:bg-green-600 text-white font-bold py-2 px-4 rounded-md mt-4"
>
화면 공유 시작
画面共有開始
</button>
)}
<div className="flex justify-center space-x-4 mt-4">
Expand All @@ -304,15 +304,15 @@ const LiveClass: React.FC<LiveClassProps> = ({classId, userId}) => {
isMicOn ? 'bg-blue-500 hover:bg-blue-600' : 'bg-gray-500'
} hover:bg-blue-600 text-white font-bold py-2 px-4 rounded-md`}
>
{isMicOn ? '마이크 끄기' : '마이크 켜기'}
{isMicOn ? 'マイクオン' : 'マイクオフ'}
</button>
<button
onClick={toggleCamera}
className={`${
isCameraOn ? 'bg-blue-500 hover:bg-blue-600' : 'bg-gray-500'
} text-white font-bold py-2 px-4 rounded-md`}
>
{isCameraOn ? '카메라 끄기' : '카메라 켜기'}
{isCameraOn ? 'カメラオン' : 'カメラオフ'}
</button>
</div>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,15 +205,15 @@ const LiveClassViewer: React.FC<LiveClassViewerProps> = ({classId, userId}) => {
onClick={handleJoinClass}
className="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded-md"
>
수업 입장
授業参加
</button>
) : (
<>
<button
onClick={handleLeaveClass}
className="bg-red-500 hover:bg-red-600 text-white font-bold py-2 px-4 rounded-md"
>
수업 퇴장
授業退場
</button>
<div className="flex space-x-4 mt-4">
<button
Expand All @@ -222,15 +222,15 @@ const LiveClassViewer: React.FC<LiveClassViewerProps> = ({classId, userId}) => {
isMicMuted ? 'bg-gray-500' : 'bg-blue-500'
} hover:bg-blue-600 text-white font-bold py-2 px-4 rounded-md`}
>
{isMicMuted ? '마이크 켜기' : '마이크 끄기'}
{isMicMuted ? 'マイクオン' : 'マイクオフ'}
</button>
<button
onClick={toggleCamera}
className={`${
isCameraOn ? 'bg-blue-500 hover:bg-blue-600' : 'bg-gray-500'
} text-white font-bold py-2 px-4 rounded-md`}
>
{isCameraOn ? '카메라 끄기' : '카메라 켜기'}
{isCameraOn ? 'カメラオン' : 'カメラオフ'}
</button>
</div>
</>
Expand Down

0 comments on commit edf9fd2

Please sign in to comment.