We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5002057 commit bbf95a9Copy full SHA for bbf95a9
src/renderer/views/Translate.tsx
@@ -337,9 +337,10 @@ export default class Translate extends Vue {
337
338
public async speak(type: 'source' | 'target') {
339
const { value: text, key: from } = this[type];
340
+ const [, com] = this.translateParams;
341
if (text) {
342
this[type].action = false;
- const uri = await tjs.google.audio({ text, from, com: true });
343
+ const uri = await tjs.google.audio({ text, from, com });
344
await Tools.sleep(600);
345
if (text === this[type].value) {
346
this.audio.src = uri;
0 commit comments