mirror of
https://github.com/eeeXun/GTT.git
synced 2025-05-16 07:40:44 -07:00
style: use EngineName for error message
This commit is contained in:
parent
d816d1f4f1
commit
fe25bd4e2b
@ -18,5 +18,5 @@ func (t *ArgosTranslate) StopTTS() {
|
||||
|
||||
func (t *ArgosTranslate) PlayTTS(lang string, message string) error {
|
||||
t.SoundLock.Release()
|
||||
return errors.New("ArgosTranslate does not support text to speech")
|
||||
return errors.New(t.EngineName + " does not support text to speech")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user