summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-12-12 13:42:46 -0500
committerSolomon Peachy <pizza@shaftnet.org>2020-12-12 13:43:13 -0500
commitf7005eb4e46854587bd513168830766af3da51a2 (patch)
tree9c834183c4d242d97342ac39506b71e8d38cbd22 /tools
parentafad2c1dcc12c629b176fcfa0592e68237bb578f (diff)
downloadrockbox-f7005eb4e46854587bd513168830766af3da51a2.tar.gz
rockbox-f7005eb4e46854587bd513168830766af3da51a2.zip
voice: Generate Dutch voice file now that the translation is complete
Change-Id: Ic5fd45002e94f99d4557fca9ffa75df7fa6f20d8
Diffstat (limited to 'tools')
-rw-r--r--tools/builds.pm21
-rwxr-xr-xtools/voice.pl15
2 files changed, 24 insertions, 12 deletions
diff --git a/tools/builds.pm b/tools/builds.pm
index 3ddd732830..c8734bb83f 100644
--- a/tools/builds.pm
+++ b/tools/builds.pm
@@ -22,25 +22,25 @@ $releasenotes="/wiki/ReleaseNotes315";
name => 'Archos FM Recorder',
status => 0,
ram => 2,
- release => '3.15',
+ release => '3.15',
},
'archosondiofm' => {
name => 'Archos Ondio FM',
status => 0,
ram => 2,
- release => '3.15',
+ release => '3.15',
},
'archosondiosp' => {
name => 'Archos Ondio SP',
status => 0,
ram => 2,
- release => '3.15',
+ release => '3.15',
},
'archosplayer' => {
name => 'Archos Player/Studio',
status => 0,
ram => 2,
- release => '3.15',
+ release => '3.15',
},
'archosrecorder' => {
name => 'Archos Recorder v1',
@@ -53,7 +53,7 @@ $releasenotes="/wiki/ReleaseNotes315";
status => 0,
ram => 2,
manual => "archosfmrecorder",
- release => '3.15',
+ release => '3.15',
},
'cowond2' => {
name => 'Cowon D2',
@@ -605,6 +605,17 @@ sub allbuilds {
},
'enabled' => 1,
},
+ 'nederlands' => {
+ 'lang' => 'nederlands',
+ 'name' => 'Nederlands (Dutch)',
+ 'short' => 'nl',
+ 'defengine' => 'espeak',
+ 'engines' => {
+ 'espeak' => '-vnl',
+ 'gtts' => '-l nl',
+ },
+ 'enabled' => 1,
+ },
'norsk' => {
'lang' => 'norsk',
'name' => 'Norsk (Norwegian)',
diff --git a/tools/voice.pl b/tools/voice.pl
index fefcc49a10..7962232a0e 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -90,8 +90,8 @@ my %gtts_lang_map = (
'greek' => 'el',
'magyar' => 'hu',
'italiano' => 'it',
-# 'nederlands' => 'nl', # not supported
- 'norsk' => 'no',
+ 'nederlands' => 'nl',
+ 'norsk' => 'no',
'polski' => 'pl',
'russian' => 'ru',
'slovak' => 'sk',
@@ -112,13 +112,14 @@ my %espeak_lang_map = (
'magyar' => 'hu',
'italiano' => 'it',
'japanese' => 'ja',
- 'norsk' => 'no',
- 'polski' => 'pl',
- 'russian' => 'ru',
- 'slovak' => 'sk',
+ 'nederlands' => 'nl',
+ 'norsk' => 'no',
+ 'polski' => 'pl',
+ 'russian' => 'ru',
+ 'slovak' => 'sk',
'srpski' => 'sr',
'svenska' => 'sv',
- 'turkce' => 'tr',
+ 'turkce' => 'tr',
);
# Initialize TTS engine. May return an object or value which will be passed