fix: add SDH captions to downloads page
SDH (sdh_captions_vtt) was missing from the Downloads page type labels and filename extensions map. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
05a2fe5101
commit
83919c19b5
1 changed files with 2 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ const DownloadCard = ({
|
|||
'audio_description_mp3': 'audio_descriptions.mp3',
|
||||
'accessible_video_mp4': 'accessible_video.mp4',
|
||||
'accessible_captions_vtt': 'accessible_captions.vtt',
|
||||
'sdh_captions_vtt': 'sdh_captions.vtt',
|
||||
'descriptive_transcript': 'descriptive_transcript.txt'
|
||||
};
|
||||
return `${sanitizedTitle}_${language}_${extensions[type] || type}`;
|
||||
|
|
@ -70,6 +71,7 @@ const DownloadCard = ({
|
|||
'audio_description_mp3': 'Audio Descriptions (MP3)',
|
||||
'accessible_video_mp4': 'Accessible Video (MP4)',
|
||||
'accessible_captions_vtt': 'Re-timed Captions (VTT)',
|
||||
'sdh_captions_vtt': 'SDH Captions (VTT)',
|
||||
'descriptive_transcript': 'Descriptive Transcript (TXT)'
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue