FS#8126: Translated voice strings for Swedish, with a few changes by me.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15621 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Magnus Holmgren 2007-11-14 17:48:18 +00:00
parent 34288fea43
commit 92d99dfff5
3 changed files with 565 additions and 544 deletions

File diff suppressed because it is too large Load diff

View file

@ -345,6 +345,7 @@ Stijn Hisken
Bertrik Sikken Bertrik Sikken
Karim Boucher Karim Boucher
James Espinoza James Espinoza
Franz Rühmland
The libmad team The libmad team
The wavpack team The wavpack team

View file

@ -166,6 +166,27 @@ sub correct_string {
} }
} }
} }
case "svenska" {
# for all swedish engines (e.g. for english words)
$string =~ s/kilobyte/kilobajt/ig;
$string =~ s/megabyte/megabajt/ig;
$string =~ s/gigabyte/gigabajt/ig;
$string =~ s/\bloudness\b/laudness/ig;
switch($$tts_object{"name"}) {
case "espeak" { # just for eSpeak
$string =~ s/ampere/ampär/ig;
$string =~ s/bokmärken/bok-märken/ig;
$string =~ s/generella/schenerella/ig;
$string =~ s/dithering/diddering/ig;
$string =~ s/\bunicode\b/jynikod/ig;
$string =~ s/uttoning/utoning/ig;
$string =~ s/procent/pro-cent/ig;
$string =~ s/spellistor/spelistor/ig;
$string =~ s/cuesheet/qjyschiit/ig;
}
}
}
} }
if ($orig ne $string) { if ($orig ne $string) {
printf("%s -> %s\n", $orig, $string) if $verbose; printf("%s -> %s\n", $orig, $string) if $verbose;