diff --git a/web/public/locales/en/components/player.json b/web/public/locales/en/components/player.json index 3b50ff5ed..411d9990b 100644 --- a/web/public/locales/en/components/player.json +++ b/web/public/locales/en/components/player.json @@ -6,6 +6,10 @@ "title": "Submit this frame to Frigate+?", "submit": "Submit" }, + "eventNavigation": { + "previous": "Previous Event", + "next": "Next Event" + }, "livePlayerRequiredIOSVersion": "iOS 17.1 or greater is required for this live stream type.", "streamOffline": { "title": "Stream Offline", diff --git a/web/src/components/player/VideoControls.tsx b/web/src/components/player/VideoControls.tsx index f3f29db0d..4d2cf49c1 100644 --- a/web/src/components/player/VideoControls.tsx +++ b/web/src/components/player/VideoControls.tsx @@ -100,6 +100,8 @@ export default function VideoControls({ toggleFullscreen, containerRef, }: VideoControlsProps) { + const { t } = useTranslation(["components/player"]); + // layout const controlsContainerRef = useRef(null); @@ -300,7 +302,7 @@ export default function VideoControls({ <> { e.stopPropagation(); onJumpToEvent("previous"); @@ -308,7 +310,7 @@ export default function VideoControls({ /> { e.stopPropagation(); onJumpToEvent("next");