diff options
Diffstat (limited to 'tools/voice.pl')
-rwxr-xr-x | tools/voice.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/voice.pl b/tools/voice.pl index 9bb94c9c6e..b05ae86f3e 100755 --- a/tools/voice.pl +++ b/tools/voice.pl | |||
@@ -85,7 +85,7 @@ my %gtts_lang_map = ( | |||
85 | 'english-us' => 'en-us', | 85 | 'english-us' => 'en-us', |
86 | 'espanol' => 'es-es', | 86 | 'espanol' => 'es-es', |
87 | 'francais' => 'fr-fr', | 87 | 'francais' => 'fr-fr', |
88 | 'greek' => 'gr', | 88 | 'greek' => 'el', |
89 | 'magyar' => 'hu', | 89 | 'magyar' => 'hu', |
90 | 'italiano' => 'it', | 90 | 'italiano' => 'it', |
91 | # 'nederlands' => 'nl', # not supported | 91 | # 'nederlands' => 'nl', # not supported |
@@ -166,7 +166,7 @@ sub init_tts { | |||
166 | } | 166 | } |
167 | } elsif ($tts_engine eq 'espeak' || $tts_engine eq 'espeak-ng') { | 167 | } elsif ($tts_engine eq 'espeak' || $tts_engine eq 'espeak-ng') { |
168 | if (defined($espeak_lang_map{$language}) && $tts_engine_opts !~ /-v/) { | 168 | if (defined($espeak_lang_map{$language}) && $tts_engine_opts !~ /-v/) { |
169 | $ret{"ttsoptions"} = "-v$gtts_lang_map{$language} "; | 169 | $ret{"ttsoptions"} = "-v$espeak_lang_map{$language} "; |
170 | } | 170 | } |
171 | } | 171 | } |
172 | 172 | ||