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:
parent
34288fea43
commit
92d99dfff5
3 changed files with 565 additions and 544 deletions
File diff suppressed because it is too large
Load diff
|
@ -345,6 +345,7 @@ Stijn Hisken
|
|||
Bertrik Sikken
|
||||
Karim Boucher
|
||||
James Espinoza
|
||||
Franz Rühmland
|
||||
|
||||
The libmad team
|
||||
The wavpack team
|
||||
|
|
|
@ -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) {
|
||||
printf("%s -> %s\n", $orig, $string) if $verbose;
|
||||
|
|
Loading…
Reference in a new issue