summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-09 07:33:19 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-09 11:35:06 +0000
commit5d8a1a305d3e80cf57f38d4206f2efc801e14d73 (patch)
treee65848f09ef5901e45fd624cde25db1c010d4f9c
parent2c3399537cfb9d481a1e31a4b625d2abb97664e2 (diff)
downloadrockbox-5d8a1a305d3e80cf57f38d4206f2efc801e14d73.tar.gz
rockbox-5d8a1a305d3e80cf57f38d4206f2efc801e14d73.zip
voice: Fix some perl warnings
(got lost in the output during my test runs) Change-Id: I3467b96a9607a4d6cf1e26348cd496be508809d3
-rwxr-xr-xtools/voice.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/voice.pl b/tools/voice.pl
index 56195d9e12..e7e1346886 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -67,7 +67,7 @@ USAGE
67; 67;
68} 68}
69 69
70my %festival_lang_map = { 70my %festival_lang_map = (
71 'english' => 'english', 71 'english' => 'english',
72 'english-us' => 'english', 72 'english-us' => 'english',
73 'espanol' => 'spanish', 73 'espanol' => 'spanish',
@@ -75,9 +75,9 @@ my %festival_lang_map = {
75 #'italiano' => 'italian', 75 #'italiano' => 'italian',
76 #'czech' => 'czech', 76 #'czech' => 'czech',
77 #'welsh' => 'welsh' 77 #'welsh' => 'welsh'
78}; 78);
79 79
80my %gtts_lang_map = { 80my %gtts_lang_map = (
81 'english' => 'en-gb', # Always first, it's the golden master 81 'english' => 'en-gb', # Always first, it's the golden master
82 'deutsch' => 'de', 82 'deutsch' => 'de',
83 'english-us' => 'en-us', 83 'english-us' => 'en-us',
@@ -89,7 +89,7 @@ my %gtts_lang_map = {
89 'russian' => 'ru', 89 'russian' => 'ru',
90 'slovak' => 'sk', 90 'slovak' => 'sk',
91 'srpski' => 'sr', 91 'srpski' => 'sr',
92}; 92);
93 93
94# Initialize TTS engine. May return an object or value which will be passed 94# Initialize TTS engine. May return an object or value which will be passed
95# to voicestring and shutdown_tts 95# to voicestring and shutdown_tts