diff options
author | Jonas Häggqvist <rasher@rasher.dk> | 2007-10-02 16:34:06 +0000 |
---|---|---|
committer | Jonas Häggqvist <rasher@rasher.dk> | 2007-10-02 16:34:06 +0000 |
commit | 29f07cdbca1a6d877a67242f63ecfcc7a0d6caad (patch) | |
tree | ba08ed477598735043bb3b76358f51af5b216825 | |
parent | fa1e73172e79064873e8c5913720fb126221542e (diff) | |
download | rockbox-29f07cdbca1a6d877a67242f63ecfcc7a0d6caad.tar.gz rockbox-29f07cdbca1a6d877a67242f63ecfcc7a0d6caad.zip |
Move the "plugins" correction into a Festival-specific switch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14956 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-x | tools/voice.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/voice.pl b/tools/voice.pl index 7d6f84ec4a..83b33c0c43 100755 --- a/tools/voice.pl +++ b/tools/voice.pl | |||
@@ -130,7 +130,11 @@ sub correct_string { | |||
130 | $string =~ s/ID3/I D 3/g; | 130 | $string =~ s/ID3/I D 3/g; |
131 | 131 | ||
132 | case "english" { | 132 | case "english" { |
133 | $string =~ s/plugin(s?)/plug-in$1/ig; | 133 | switch($$tts_object{"name"}) { |
134 | case "festival" { | ||
135 | $string =~ s/plugin(s?)/plug-in$1/ig; | ||
136 | } | ||
137 | } | ||
134 | } | 138 | } |
135 | case "deutsch" { | 139 | case "deutsch" { |
136 | # for all german engines (e.g. for english words) | 140 | # for all german engines (e.g. for english words) |