diff --git a/frontend/src/components/Playlists.tsx b/frontend/src/components/Playlists.tsx index 910d9d8..93512f0 100644 --- a/frontend/src/components/Playlists.tsx +++ b/frontend/src/components/Playlists.tsx @@ -110,6 +110,7 @@ function Row({ onPlay: () => void; onRemove: () => void; }) { + const { t } = useTranslation(); const { attributes, listeners, setNodeRef, transform, transition, isDragging } = useSortable({ id: video.id, disabled: readOnly }); const style = { @@ -151,11 +152,21 @@ function Row({
{video.title}
{video.channel_title}
- {video.duration_seconds != null && ( + {video.duration_seconds != null ? ( {formatDuration(video.duration_seconds)} - )} + ) : video.live_status === "live" || video.live_status === "upcoming" ? ( + + {t(`card.${video.live_status}`)} + + ) : null} {!readOnly && (