您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

ClosedCaptionButton.web.js 627B

12345678910111213141516171819202122232425
  1. // @flow
  2. import { connect } from 'react-redux';
  3. import { translate } from '../../base/i18n/index';
  4. import {
  5. AbstractClosedCaptionButton,
  6. _abstractMapStateToProps
  7. } from './AbstractClosedCaptionButton';
  8. /**
  9. * A button which starts/stops the transcriptions.
  10. */
  11. class ClosedCaptionButton
  12. extends AbstractClosedCaptionButton {
  13. accessibilityLabel = 'toolbar.accessibilityLabel.cc';
  14. iconName = 'icon-closed_caption';
  15. toggledIconName = 'icon-closed_caption toggled';
  16. tooltip = 'transcribing.ccButtonTooltip';
  17. }
  18. export default translate(connect(_abstractMapStateToProps)(
  19. ClosedCaptionButton));