summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-11 13:52:14 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-11 18:28:54 +0000
commitaa20b6af7a860bc40662e141c12fec098048b8c0 (patch)
tree95a9fcdf85325054d4760cf4f7ecfdd63052e713
parentb546d9d172bfca7f050e40244cd5d6f0fbd96c90 (diff)
downloadrockbox-aa20b6af7a860bc40662e141c12fec098048b8c0.tar.gz
rockbox-aa20b6af7a860bc40662e141c12fec098048b8c0.tar.bz2
rockbox-aa20b6af7a860bc40662e141c12fec098048b8c0.zip
voice: Two more fixes.
Change-Id: I5aaf10c588f4396e61942b8fcd6c62c792ea175b
-rw-r--r--tools/builds.pm2
-rwxr-xr-xtools/voice.pl4
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/builds.pm b/tools/builds.pm
index 776f807f9d..f6bb1a80fd 100644
--- a/tools/builds.pm
+++ b/tools/builds.pm
@@ -526,6 +526,7 @@ sub allbuilds {
'gtts' => '-l en-gb',
},
},
+ # Everything else in alphabetical order
'deutsch' => {
'lang' => 'deutsch',
'name' => 'Deutsch (German)',
@@ -536,7 +537,6 @@ sub allbuilds {
'gtts' => '-l de',
},
},
- # Everything else in alphabetical order
'english-us' => {
'lang' => 'english-us',
'name' => 'American English',
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 = (
'english-us' => 'en-us',
'espanol' => 'es-es',
'francais' => 'fr-fr',
- 'greek' => 'gr',
+ 'greek' => 'el',
'magyar' => 'hu',
'italiano' => 'it',
# 'nederlands' => 'nl', # not supported
@@ -166,7 +166,7 @@ sub init_tts {
}
} elsif ($tts_engine eq 'espeak' || $tts_engine eq 'espeak-ng') {
if (defined($espeak_lang_map{$language}) && $tts_engine_opts !~ /-v/) {
- $ret{"ttsoptions"} = "-v$gtts_lang_map{$language} ";
+ $ret{"ttsoptions"} = "-v$espeak_lang_map{$language} ";
}
}