diff options
author | Nils Wallménius <nils@rockbox.org> | 2008-04-28 18:12:14 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2008-04-28 18:12:14 +0000 |
commit | e3c61884c59064ecdf5bed8bf941a413ccc8c6b1 (patch) | |
tree | a58797afbe4528c969629d3d2e4b8110ecc15261 /tools/voice.pl | |
parent | ef1ce4336f5838dce794312ca8e64535bb829c14 (diff) | |
download | rockbox-e3c61884c59064ecdf5bed8bf941a413ccc8c6b1.tar.gz rockbox-e3c61884c59064ecdf5bed8bf941a413ccc8c6b1.zip |
Small tweak for festival to correct the spelling of 'A', fixes FS#8889
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17282 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/voice.pl')
-rwxr-xr-x | tools/voice.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/voice.pl b/tools/voice.pl index 6ffc565401..eb6bfc1bf6 100755 --- a/tools/voice.pl +++ b/tools/voice.pl | |||
@@ -132,7 +132,10 @@ sub correct_string { | |||
132 | case "english" { | 132 | case "english" { |
133 | switch($$tts_object{"name"}) { | 133 | switch($$tts_object{"name"}) { |
134 | case ["sapi","festival"] { | 134 | case ["sapi","festival"] { |
135 | $string =~ s/plugin(s?)/plug-in$1/ig; | 135 | $string =~ s/plugin(s?)/plug-in$1/ig; next |
136 | } | ||
137 | case "festival" { | ||
138 | $string =~ s/\ba\b/ay/ig; | ||
136 | } | 139 | } |
137 | } | 140 | } |
138 | } | 141 | } |