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:
parent
fa1e73172e
commit
29f07cdbca
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue