forked from open-webui/open-webui
fix: add missed translations
This commit is contained in:
parent
da0202851f
commit
6d2f462090
14 changed files with 126 additions and 76 deletions
|
@ -216,7 +216,7 @@
|
|||
// Event triggered when an error occurs
|
||||
speechRecognition.onerror = function (event) {
|
||||
console.log(event);
|
||||
toast.error(`Speech recognition error: ${event.error}`);
|
||||
toast.error($i18n.t(`Speech recognition error: {{error}}`, { error: event.error }));
|
||||
isRecording = false;
|
||||
};
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue