diff --git a/static/app-strings.json b/static/app-strings.json index ff7b34a46..a128867f2 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1177,7 +1177,11 @@ "Tap to unmute": "Tap to unmute", "Retry": "Retry", "Playing in %seconds_left% seconds...": "Playing in %seconds_left% seconds...", + "Playing next free content in %seconds_left% seconds...": "Playing next free content in %seconds_left% seconds...", "Autoplay timer paused.": "Autoplay timer paused.", + "Play Previous": "Play Previous", + "Purchase?": "Purchase?", + "Replay?": "Replay?", "0 Bytes": "0 Bytes", "Bytes": "Bytes", "KB": "KB", diff --git a/ui/component/autoplayCountdown/view.jsx b/ui/component/autoplayCountdown/view.jsx index f1fd4b78f..9aa6eb4ed 100644 --- a/ui/component/autoplayCountdown/view.jsx +++ b/ui/component/autoplayCountdown/view.jsx @@ -50,6 +50,14 @@ function AutoplayCountdown(props: Props) { return elm && elm.getBoundingClientRect().top < 0; } + function getMsgPlayingNext() { + if (skipPaid) { + return __('Playing next free content in %seconds_left% seconds...', { seconds_left: timer }); + } else { + return __('Playing in %seconds_left% seconds...', { seconds_left: timer }); + } + } + // Update 'setTimerPaused'. React.useEffect(() => { // Ensure correct 'setTimerPaused' on initial render. @@ -112,10 +120,7 @@ function AutoplayCountdown(props: Props) { )} {!isTimerPaused && (