bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio/captions/select/container.jsx
Pedro Beschorner Marin d6dc66f57e feat(captions): language selector
Replace the checkbox with a selector up with 3 languages: en-US, es-ES and pt-BR.

Add setting option to enable by default with predetermined locale.
2022-07-20 17:20:50 +00:00

12 lines
368 B
JavaScript

import React from 'react';
import { withTracker } from 'meteor/react-meteor-data';
import Service from '/imports/ui/components/audio/captions/speech/service';
import Select from './component';
const Container = (props) => <Select {...props} />;
export default withTracker(() => ({
enabled: Service.isEnabled(),
locale: Service.getSpeechLocale(),
}))(Container);