gettext('Language: Press the UP arrow key to enter the language menu, then use UP and DOWN arrow keys to navigate language options. Press ENTER to change to the selected language.'),
'" aria-disabled="false">',
'<span class="icon-fallback-img">',
'<span class="icon fa fa-caret-left" aria-hidden="true"></span>',
.text(gettext('Transcript will be displayed when you start playing the video.'))// jshint ignore: line
.wrapInner('<li></li>');
}else{
self.renderCaption(start,captions);
}
...
...
@@ -747,6 +738,24 @@
self.isMouseFocus=false;
self.rendered=true;
self.state.el.addClass('is-captions-rendered');
self.subtitlesEl
.attr('aria-label',gettext('Activating a link in this group will skip to the corresponding point in the video.'));// jshint ignore:line
self.subtitlesEl.find('.transcript-title')
.text(gettext('Video transcript'));
self.subtitlesEl.find('.transcript-start')
.text(gettext('Start of transcript. Skip to the end.'));
self.subtitlesEl.find('.transcript-end')
.text(gettext('End of transcript. Skip to the start.'));
self.container.find('.menu-container .control')
.attr('aria-label',gettext('Language: Press the UP arrow key to enter the language menu then use UP and DOWN arrow keys to navigate language options. Press ENTER to change to the selected language.'));// jshint ignore:line