fix: add missed translations

This commit is contained in:
Ased Mammad 2024-03-03 13:31:34 +03:30
parent da0202851f
commit 6d2f462090
14 changed files with 126 additions and 76 deletions

View file

@ -115,7 +115,11 @@
on:change={(e) => {
if (e.target.value !== '') {
navigator.mediaDevices.getUserMedia({ audio: true }).catch(function (err) {
toast.error(`Permission denied when accessing microphone: ${err}`);
toast.error(
$i18n.t(`Permission denied when accessing microphone: {{error}}`, {
error: err
})
);
STTEngine = '';
});
}