<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.

/**
 * Language strings for mod_modernvideoplayer.
 *
 * @package    mod_modernvideoplayer
 * @copyright  2025 Adebare Showemmo | adebareshowemimo@gmail.com | support@agunfoninteractivity.com | www.agunfoninteractivity.com
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

defined('MOODLE_INTERNAL') || die();

$string['allowfullscreen'] = 'Allow fullscreen';
$string['allownextactivityoverlay'] = 'Show "next activity" overlay when video ends';
$string['allownextactivityoverlay_help'] = 'When enabled, an overlay appears at the end of the video with **Replay** and **Continue** buttons. The Continue target defaults to the next activity in course order, but can be overridden per activity. If the target activity is unavailable, Continue returns the learner to the course page.';
$string['allowpip'] = 'Allow Picture-in-Picture';
$string['allowpip_help'] = 'When enabled, learners can pop the video out into a floating Picture-in-Picture window. Disabled automatically when Focus mode is on so the learner cannot detach the video from the course page.';
$string['allowplaybackspeed'] = 'Allow playback speed control';
$string['allowrewind'] = 'Allow rewind';
$string['allowtranscriptdownload'] = 'Allow transcript download';
$string['allowtranscriptdownload_help'] = 'When enabled, learners see a **Download** button inside the transcript panel that saves the caption cues as a plain-text file. Only available when at least one caption track is uploaded.';
$string['autoplay'] = 'Autoplay';
$string['autoplay_help'] = 'Controls whether the video starts playing automatically when the page loads.

* **Off** — The learner must press play.
* **Muted** — Playback begins automatically with audio muted. Most reliable across browsers.
* **Unmuted (muted fallback if blocked)** — Tries to start playback with sound. If the browser blocks it (most browsers block unmuted autoplay until the learner interacts with the page), playback automatically falls back to muted so the video still starts.

If the learner has a saved resume position, the resume prompt is shown instead and autoplay is suppressed until they choose.';
$string['autoplaymuted'] = 'Muted';
$string['autoplayoff'] = 'Off';
$string['autoplayunmuted'] = 'Unmuted (muted fallback if blocked)';
$string['bookmarklabelrequired'] = 'Bookmarks must have a non-empty label.';
$string['bookmarklimitreached'] = 'You have reached the maximum number of bookmarks for this video.';
$string['bufferedlabel'] = 'Buffered';
$string['captions'] = 'Caption tracks (WebVTT)';
$string['captions_help'] = 'Upload one or more WebVTT (.vtt) caption files. Learners can turn captions on or off with the **CC** button in the player controls.

To support multiple languages, include the language code in the filename using a dot, hyphen, or underscore suffix just before the .vtt extension. For example:

* lecture1.en.vtt — English
* lecture1.fr.vtt — French
* lecture1.es-MX.vtt — Mexican Spanish

Files without a recognised language suffix fall back to the **Default caption language** setting below.';
$string['captionsoff'] = 'Captions off';
$string['captionson'] = 'Captions: {$a}';
$string['captionssettings'] = 'Captions & transcript';
$string['chapterjumpto'] = 'Jump to chapter at {$a}';
$string['chapterlist'] = 'Chapters';
$string['chapters'] = 'Chapter markers (WebVTT)';
$string['chapters_help'] = 'Upload a single WebVTT (.vtt) file containing chapter cues. Each cue becomes a clickable marker on the progress bar and an entry in the chapter list panel.

Example cue:

    00:00:00.000 --> 00:01:30.000
    Introduction

Learners can open the chapter list with the **Chapters** button in the player controls.';
$string['chaptersunavailable'] = 'Chapters unavailable.';
$string['completed'] = 'Completed';
$string['completionmode'] = 'Completion mode';
$string['completionmode_end'] = 'Complete only when end of video is validated';
$string['completionmode_percent'] = 'Complete when required percentage is reached';
$string['completiontime'] = 'Completion time';
$string['completionvideoend'] = 'Require validated video ending';
$string['completionvideoenddesc'] = 'Learner must reach the validated end of the video';
$string['completionvideopercent'] = 'Require video watch percentage';
$string['completionvideopercentdesc'] = 'Learner must watch at least {$a}% of the video';
$string['completionvideopercentgroup'] = 'Require video watch percentage';
$string['currentchapter'] = 'Current chapter: {$a}';
$string['defaultallownextactivityoverlay'] = 'Show next-activity overlay by default';
$string['defaultallowplaybackspeed'] = 'Allow playback speed control by default';
$string['defaultautoplay'] = 'Default autoplay mode';
$string['defaultcaptionlang'] = 'Default caption language';
$string['defaultcaptionlang_help'] = 'BCP-47 language code used when a caption file does not include a recognised suffix, and to select which track the transcript panel parses by default. Examples: en, en-GB, fr, es-MX.';
$string['defaultdefaultcaptionlang'] = 'Default caption language (site default)';
$string['defaultfullscreenenabled'] = 'Enable fullscreen by default';
$string['defaultgraceseconds'] = 'Default forward seek grace seconds';
$string['defaultheartbeatinterval'] = 'Default heartbeat interval';
$string['defaultmaxplaybackspeed'] = 'Default maximum playback speed';
$string['defaultrequiredpercent'] = 'Default required watch percentage';
$string['defaultresumeenabled'] = 'Enable resume by default';
$string['defaultshowcontroltext'] = 'Show text in player controls by default';
$string['defaultshowcourseindex'] = 'Show course index drawer by default';
$string['defaultshowprimarynav'] = 'Show primary navigation header by default';
$string['defaultshowrightblocks'] = 'Show right block drawer by default';
$string['defaultshowsecondarynav'] = 'Default: show secondary navigation and page header';
$string['defaultsuspiciouslogging'] = 'Enable suspicious activity logging by default';
$string['defaulttitleposition'] = 'Default video title position';
$string['downloadcsv'] = 'Download CSV';
$string['downloadreportfilename'] = 'modern-video-player-report';
$string['duration'] = 'Duration';
$string['email'] = 'Email';
$string['enforcefocus'] = 'Enforce focus on the video';
$string['enforcefocus_help'] = 'When enabled, the plugin actively prevents the learner from escaping the video:

* Picture-in-Picture is blocked (browser and plugin button).
* Keyboard shortcuts that skip or scrub the video (J/L, arrow keys, 0-9, < >) are ignored.
* When the browser tab is hidden the video is paused automatically.

Play/pause, fullscreen, captions, chapters and the shortcuts-help dialog still work so the learner retains accessibility controls.';
$string['enforcementsettings'] = 'Enforcement settings';
$string['eventcompletionachieved'] = 'Playback completion achieved';
$string['eventplayerviewed'] = 'Modern video player viewed';
$string['eventprogressupdated'] = 'Playback progress updated';
$string['eventsuspiciousseekdetected'] = 'Suspicious seek detected';
$string['filterall'] = 'All learners';
$string['filterapply'] = 'Apply filters';
$string['filterclear'] = 'Clear filters';
$string['filtercompleted'] = 'Completed only';
$string['filtercompletion'] = 'Completion filter';
$string['filterincomplete'] = 'Incomplete only';
$string['filtersearch'] = 'Search learners';
$string['filtersuspiciousonly'] = 'Suspicious activity only';
$string['focusmodesettings'] = 'Navigation & Drawers Settings';
$string['focuspausedhidden'] = 'Playback paused because the tab was hidden.';
$string['forceservervalidation'] = 'Force server-side validation';
$string['fullname'] = 'Learner';
$string['fullscreen'] = 'Fullscreen';
$string['graceseconds'] = 'Forward seek grace seconds';
$string['heartbeatinterval'] = 'Heartbeat interval';
$string['integrityfailures'] = 'Integrity failures';
$string['invalidvideo'] = 'The configured video could not be found.';
$string['lastheartbeat'] = 'Last heartbeat';
$string['lastplaybackrate'] = 'Last playback rate';
$string['lastposition'] = 'Last position';
$string['lastvisibility'] = 'Last visibility';
$string['maxplaybackspeed'] = 'Maximum playback speed';
$string['maxverifiedposition'] = 'Max verified position';
$string['modernvideoplayer:addinstance'] = 'Add a new modern video player activity';
$string['modernvideoplayer:manage'] = 'Manage modern video player settings';
$string['modernvideoplayer:submitprogress'] = 'Submit modern video player progress';
$string['modernvideoplayer:view'] = 'View modern video player';
$string['modernvideoplayer:viewreports'] = 'View modern video player reports';
$string['modulename'] = 'Modern video player';
$string['modulename_help'] = 'Modern video player provides a controlled Moodle-native video activity with tracked playback progress.';
$string['modulenameplural'] = 'Modern video players';
$string['mute'] = 'Mute';
$string['name'] = 'Activity name';
$string['nextactivity'] = 'Next activity';
$string['nextactivitybody'] = 'Replay this video or continue to the next activity in this course.';
$string['nextactivitycontinue'] = 'Continue';
$string['nextactivityheading'] = 'Up next';
$string['nextactivitymanualcmid'] = 'Activity to continue to';
$string['nextactivityreplay'] = 'Replay';
$string['nextactivitytarget'] = 'Continue button target';
$string['nextactivitytarget_auto'] = 'Next activity in course order (automatic)';
$string['nextactivitytarget_manual'] = 'Specific activity (chosen below)';
$string['no'] = 'No';
$string['noentries'] = 'No learner progress has been recorded yet.';
$string['novideo'] = 'No video file has been uploaded for this activity yet.';
$string['pagesize'] = 'Page size';
$string['pause'] = 'Pause';
$string['percentcomplete'] = 'Percent complete';
$string['pip'] = 'Picture-in-Picture';
$string['pipdisabled'] = 'Picture-in-Picture is disabled for this activity.';
$string['play'] = 'Play';
$string['playbacksettings'] = 'Playback settings';
$string['playbackspeed'] = 'Playback speed';
$string['playerlabel'] = 'Video player';
$string['pluginadministration'] = 'Modern video player administration';
$string['pluginname'] = 'Modern video player';
$string['posterimage'] = 'Poster image';
$string['privacy:metadata'] = 'The Modern video player plugin stores learner playback progress.';
$string['privacy:metadata:modernvideoplayer_bookmarks'] = 'Stores learner-created bookmarks for video timestamps in a modern video player activity.';
$string['privacy:metadata:modernvideoplayer_bookmarks:label'] = 'The label the learner assigned to the bookmark.';
$string['privacy:metadata:modernvideoplayer_bookmarks:modernvideoplayerid'] = 'The activity instance the bookmark belongs to.';
$string['privacy:metadata:modernvideoplayer_bookmarks:position'] = 'The playback position, in seconds, that the bookmark points to.';
$string['privacy:metadata:modernvideoplayer_bookmarks:timecreated'] = 'The time the bookmark was created.';
$string['privacy:metadata:modernvideoplayer_bookmarks:timemodified'] = 'The time the bookmark was last modified.';
$string['privacy:metadata:modernvideoplayer_bookmarks:userid'] = 'The user who owns the bookmark.';
$string['privacy:metadata:modernvideoplayer_progress'] = 'Stores validated playback progress for a learner in a modern video player activity.';
$string['privacy:metadata:modernvideoplayer_progress:completed'] = 'Whether the learner has completed the activity.';
$string['privacy:metadata:modernvideoplayer_progress:completiontime'] = 'The time the learner reached completion.';
$string['privacy:metadata:modernvideoplayer_progress:duration'] = 'The last known duration of the video.';
$string['privacy:metadata:modernvideoplayer_progress:integrityfailures'] = 'The number of integrity failures recorded.';
$string['privacy:metadata:modernvideoplayer_progress:lastheartbeat'] = 'The time of the most recent validated heartbeat.';
$string['privacy:metadata:modernvideoplayer_progress:lastplaybackrate'] = 'The most recently reported playback rate.';
$string['privacy:metadata:modernvideoplayer_progress:lastposition'] = 'The learner last confirmed playback position.';
$string['privacy:metadata:modernvideoplayer_progress:lastvisibility'] = 'The most recently reported tab visibility state.';
$string['privacy:metadata:modernvideoplayer_progress:maxverifiedposition'] = 'The furthest server-validated playback position.';
$string['privacy:metadata:modernvideoplayer_progress:modernvideoplayerid'] = 'The activity instance identifier.';
$string['privacy:metadata:modernvideoplayer_progress:percentcomplete'] = 'The validated watched coverage percentage.';
$string['privacy:metadata:modernvideoplayer_progress:sessiontoken'] = 'The active playback session token.';
$string['privacy:metadata:modernvideoplayer_progress:suspiciousflags'] = 'The number of suspicious playback events recorded.';
$string['privacy:metadata:modernvideoplayer_progress:timecreated'] = 'The time the learner progress row was created.';
$string['privacy:metadata:modernvideoplayer_progress:totalsecondswatched'] = 'The validated watched coverage in seconds.';
$string['privacy:metadata:modernvideoplayer_progress:userid'] = 'The user whose progress is stored.';
$string['privacy:metadata:modernvideoplayer_segments'] = 'Stores merged, validated watched segments for a learner.';
$string['privacy:metadata:modernvideoplayer_segments:progressid'] = 'The progress record the segment belongs to.';
$string['privacy:metadata:modernvideoplayer_segments:segmentend'] = 'The end of the validated watched segment.';
$string['privacy:metadata:modernvideoplayer_segments:segmentstart'] = 'The start of the validated watched segment.';
$string['privacy:metadata:modernvideoplayer_segments:timecreated'] = 'The time the segment was first recorded.';
$string['privacy:metadata:modernvideoplayer_segments:watchedseconds'] = 'The length of the validated watched segment.';
$string['progresslabel'] = 'Progress';
$string['progressunavailable'] = 'Progress data is not available.';
$string['replayeyebrow'] = 'Already watched';
$string['replaypromptbody'] = 'You\'ve already completed this video. Click Replay to watch it again from the beginning.';
$string['replaypromptheading'] = 'Watch this video again?';
$string['replaywatching'] = 'Replay';
$string['report'] = 'Report';
$string['reportaveragecoverage'] = 'Average coverage';
$string['reportcompletedlearners'] = 'Completed learners';
$string['reportcompletionrate'] = 'Completion rate';
$string['reportheader'] = 'Learner progress';
$string['reportintegrityfailures'] = 'Integrity failures';
$string['reportsuspiciousflags'] = 'Suspicious flags';
$string['reporttotallearners'] = 'Total learners';
$string['requiredpercent'] = 'Required watch percentage';
$string['resumeenabled'] = 'Allow resume';
$string['resumeplayback'] = 'Resume watching';
$string['resumeplaybackfrom'] = 'Resume from {$a}';
$string['resumepromptbody'] = 'Pick up from your last verified point or restart from the beginning.';
$string['resumepromptheading'] = 'Continue where you left off?';
$string['rewind'] = 'Rewind';
$string['seekblocked'] = 'Forward seeking is limited until more of the video is verified as watched.';
$string['shortcut_captions'] = 'Toggle captions';
$string['shortcut_forward'] = 'Forward 10 seconds';
$string['shortcut_fullscreen'] = 'Toggle fullscreen';
$string['shortcut_help'] = 'Show this shortcuts help';
$string['shortcut_mute'] = 'Toggle mute';
$string['shortcut_playpause'] = 'Play / pause';
$string['shortcut_rewind'] = 'Rewind 10 seconds';
$string['shortcut_seekpercent'] = 'Seek to 0%, 10%, … , 90% of the video';
$string['shortcut_speed'] = 'Decrease / increase playback speed';
$string['shortcut_volume'] = 'Volume up / down';
$string['shortcutshelp'] = 'Keyboard shortcuts';
$string['shortcutshelpclose'] = 'Close keyboard shortcuts';
$string['shortcutshelptitle'] = 'Keyboard shortcuts';
$string['showcontroltext'] = 'Show text in player controls';
$string['showcourseindex'] = 'Show course index drawer (left)';
$string['showcourseindex_help'] = 'When enabled, the course index drawer on the left side is visible to learners while watching this video. When disabled, it is hidden to keep focus on the video.

**Note:** This setting only affects the learner view. Site administrators and course managers always see the course index when editing mode is on. To preview the learner experience, switch your role to Student.';
$string['showprimarynav'] = 'Show primary navigation bar';
$string['showprimarynav_help'] = 'When enabled, the top navigation bar is visible to learners while watching this video. When disabled, it is hidden to reduce distractions.

**Note:** This setting only affects the learner view. Site administrators and course managers always see the navigation bar when editing mode is on. To preview the learner experience, switch your role to Student.';
$string['showrightblocks'] = 'Show right block drawer';
$string['showrightblocks_help'] = 'When enabled, the right-side block drawer is visible to learners while watching this video. When disabled, it is hidden.

**Note:** This setting only affects the learner view. Site administrators and course managers always see the block drawer when editing mode is on. To preview the learner experience, switch your role to Student.';
$string['showsecondarynav'] = 'Show secondary navigation and page header';
$string['showsecondarynav_help'] = 'When enabled, the secondary navigation tabs and the page header are visible to learners while watching this video. When disabled, they are hidden.

**Note:** This setting only affects the learner view. Site administrators and course managers always see these elements when editing mode is on. To preview the learner experience, switch your role to Student.';
$string['showsuspiciousflags'] = 'Track suspicious activity flags';
$string['speednormal'] = 'Normal';
$string['speedrestricted'] = 'The selected playback speed is not allowed for this activity.';
$string['startfrombeginning'] = 'Start from beginning';
$string['strictendvalidation'] = 'Require end-of-video validation';
$string['suspiciousflags'] = 'Suspicious flags';
$string['titleposition'] = 'Video title position';
$string['titlepositioncenter'] = 'Center';
$string['titlepositionhidden'] = 'Hidden';
$string['titlepositionleft'] = 'Left';
$string['titlepositionright'] = 'Right';
$string['togglecaptions'] = 'Toggle captions';
$string['togglechapters'] = 'Toggle chapters';
$string['toggletranscript'] = 'Toggle transcript';
$string['totalsecondswatched'] = 'Total watched seconds';
$string['transcript'] = 'Transcript';
$string['transcriptdownload'] = 'Download transcript';
$string['transcriptdownloadfilename'] = 'transcript';

$string['transcriptjumpto'] = 'Jump to {$a} in the video';
$string['transcriptloading'] = 'Loading transcript…';
$string['transcriptunavailable'] = 'No transcript is available for this video.';
$string['unmute'] = 'Unmute';
$string['video'] = 'Video file';
$string['videosettings'] = 'Video source';



$string['yes'] = 'Yes';
