Move the "plugins" correction into a Festival-specific switch.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14956 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonas Häggqvist 2007-10-02 16:34:06 +00:00
parent fa1e73172e
commit 29f07cdbca

View file

@ -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)