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

ClosedCaptionButton.native.js 635B

12345678910111213141516171819202122232425
  1. // @flow
  2. import { translate } from '../../base/i18n';
  3. import { connect } from '../../base/redux';
  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 = 'closed_caption';
  15. label = 'transcribing.start';
  16. toggledIconName = 'closed_caption';
  17. toggledLabel = 'transcribing.stop';
  18. }
  19. export default translate(connect(_abstractMapStateToProps)(
  20. ClosedCaptionButton));