1
0
Fork 0
forked from len0rd/rockbox

Only replace those abbreviations if they're capitalised.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14610 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2007-09-04 22:13:52 +00:00
parent fcf1f98518
commit 2829aefe02

View file

@ -94,7 +94,7 @@ sub init_tts {
print(CMD_IN "QUERY\tVENDOR\r\n");
my $vendor = readline(CMD_OUT);
$vendor =~ s/\r\n//;
%ret = (%ret,
%ret = (%ret,
"stdin" => *CMD_IN,
"stdout" => *CMD_OUT,
"toolspath" => $path,
@ -126,8 +126,8 @@ sub correct_string {
my $orig = $string;
switch($language) {
# General for all engines and languages
$string =~ s/USB/U S B/ig;
$string =~ s/ID3/I D 3/ig;
$string =~ s/USB/U S B/g;
$string =~ s/ID3/I D 3/g;
case "english" {
switch($$tts_object{"name"}) {