Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

ClosedCaptionButton.web.js 700B

1234567891011121314151617181920212223242526
  1. // @flow
  2. import { translate } from '../../base/i18n';
  3. import { IconClosedCaption } from '../../base/icons';
  4. import { connect } from '../../base/redux';
  5. import {
  6. AbstractClosedCaptionButton,
  7. _abstractMapStateToProps
  8. } from './AbstractClosedCaptionButton';
  9. /**
  10. * A button which starts/stops the transcriptions.
  11. */
  12. class ClosedCaptionButton
  13. extends AbstractClosedCaptionButton {
  14. accessibilityLabel = 'toolbar.accessibilityLabel.cc';
  15. icon = IconClosedCaption;
  16. tooltip = 'transcribing.ccButtonTooltip';
  17. label = 'toolbar.startSubtitles';
  18. toggledLabel = 'toolbar.stopSubtitles';
  19. }
  20. export default translate(connect(_abstractMapStateToProps)(
  21. ClosedCaptionButton));