diff --git a/ui/component/fileSubtitle/view.jsx b/ui/component/fileSubtitle/view.jsx index ee2403ddb..91e1ae802 100644 --- a/ui/component/fileSubtitle/view.jsx +++ b/ui/component/fileSubtitle/view.jsx @@ -8,17 +8,18 @@ type Props = { uri: string, livestream?: boolean, activeViewers?: number, + stateOfViewers: string, }; function FileSubtitle(props: Props) { - const { uri, livestream = false, activeViewers = 0 } = props; + const { uri, livestream = false, activeViewers = 0, stateOfViewers } = props; return (
{livestream ? {__('Right now')} : } {livestream ? ( - {__('%viewer_count% currently watching', { viewer_count: activeViewers })} + {__('%viewer_count% currently %viewer_state%', { viewer_count: activeViewers, viewer_state: stateOfViewers })} ) : ( )} diff --git a/ui/component/fileTitleSection/view.jsx b/ui/component/fileTitleSection/view.jsx index 57d679fe4..218f131d0 100644 --- a/ui/component/fileTitleSection/view.jsx +++ b/ui/component/fileTitleSection/view.jsx @@ -20,10 +20,11 @@ type Props = { isNsfwBlocked: boolean, livestream?: boolean, activeViewers?: number, + stateOfViewers: string, }; function FileTitleSection(props: Props) { - const { title, uri, nsfw, isNsfwBlocked, livestream = false, activeViewers } = props; + const { title, uri, nsfw, isNsfwBlocked, livestream = false, activeViewers, stateOfViewers } = props; return ( - + } actions={ diff --git a/ui/component/livestreamLayout/view.jsx b/ui/component/livestreamLayout/view.jsx index 85c35cd0c..10c0e76fd 100644 --- a/ui/component/livestreamLayout/view.jsx +++ b/ui/component/livestreamLayout/view.jsx @@ -41,7 +41,7 @@ export default function LivestreamLayout(props: Props) { })}
)} - +