Included missing locale
This commit is contained in:
parent
e1a74bed6b
commit
25f9bca149
@ -103,6 +103,10 @@ class Pad extends PureComponent {
|
||||
}
|
||||
|
||||
handleListen() {
|
||||
const {
|
||||
locale,
|
||||
} = this.props;
|
||||
|
||||
const {
|
||||
listening,
|
||||
} = this.state;
|
||||
@ -147,7 +151,7 @@ class Pad extends PureComponent {
|
||||
// Changes to the finalTranscript are shown to in the captions
|
||||
if (newEntry) {
|
||||
const text = finalTranscript.trimRight();
|
||||
CaptionsService.appendText(text);
|
||||
CaptionsService.appendText(text, locale);
|
||||
finalTranscript = '';
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user