mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 06:45:39 +00:00
SpeechSynthesis.Voice.toString should report the language code (not the voice name), so the correct language name is displayed
This commit is contained in:
@@ -274,7 +274,7 @@ public class SpeechSynthesis {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return name;
|
||||
return locale.toString().replace('_', '-');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user