summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/voice.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/voice.pl b/tools/voice.pl
index 7d6f84e..83b33c0 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -130,7 +130,11 @@ sub correct_string {
$string =~ s/ID3/I D 3/g;
case "english" {
- $string =~ s/plugin(s?)/plug-in$1/ig;
+ switch($$tts_object{"name"}) {
+ case "festival" {
+ $string =~ s/plugin(s?)/plug-in$1/ig;
+ }
+ }
}
case "deutsch" {
# for all german engines (e.g. for english words)