summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlessio Lenzi <lenzone10@rockbox.org>2007-11-19 17:44:15 +0000
committerAlessio Lenzi <lenzone10@rockbox.org>2007-11-19 17:44:15 +0000
commitd06e1c6a05663604e1f70bc5b2a668b11f931750 (patch)
tree2aa675b60b53453b2efcc70810534e9a87a35193 /tools
parent2ff513237dbff5ed9bf534dba11504902a15b392 (diff)
downloadrockbox-d06e1c6a05663604e1f70bc5b2a668b11f931750.tar.gz
rockbox-d06e1c6a05663604e1f70bc5b2a668b11f931750.tar.bz2
rockbox-d06e1c6a05663604e1f70bc5b2a668b11f931750.zip
Added Italian exsception strings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15697 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/voice.pl36
1 files changed, 36 insertions, 0 deletions
diff --git a/tools/voice.pl b/tools/voice.pl
index 9935aed618..bac31f7c72 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -187,6 +187,42 @@ sub correct_string {
}
}
}
+ case "italiano" {
+ # for all italian engines (e.g. for english words)
+ $string =~ s/Replaygain/Ripleyghein/ig;
+ $string =~ s/Crossfade/Crossfeid/ig;
+ $string =~ s/beep/Bip/ig;
+ $string =~ s/cuesheet/chiushit/ig;
+ $string =~ s/fade/feid/ig;
+ $string =~ s/Crossfeed/crossfid/ig;
+ $string =~ s/Cache/chash/ig;
+ $string =~ s/\bfirmware(s?)\b/firmuer$1/ig;
+ $string =~ s/\bFile(s?)\b/fail$1/ig;
+ $string =~ s/\bloudness\b/laudness/ig;
+ $string =~ s/\bunicode\b/unikod/ig;
+ $string =~ s/Playlist/pleylist/ig;
+ $string =~ s/WavPack/wave pak/ig;
+ $string =~ s/BITRATE/bit reit/ig;
+ $string =~ s/Codepage/cod page/ig;
+ $string =~ s/PCM Wave/pcm ueiv/ig;
+ $string =~ s/è//ig;
+ $string =~ s/\b(s*)ù\b/$1/ig;
+ $string =~ s/\b(s*)\b/$1/ig;
+ switch($$tts_object{"name"}) {
+ case "sapi" { # just for SAPI
+ switch($$tts_object{"vendor"}) {
+ case "Loquendo" {
+ $string =~ s/Inizializza/inizializa/ig;
+ }
+ case "ScanSoft, Inc" {
+ $string =~ s/V/v/ig;
+ $string =~ s/X/x/ig;
+ $string =~ s/stop/stohp/ig;
+ }
+ }
+ }
+ }
+ }
}
if ($orig ne $string) {
printf("%s -> %s\n", $orig, $string) if $verbose;