summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-06-05 06:40:16 +0000
committerJens Arnold <amiconn@rockbox.org>2009-06-05 06:40:16 +0000
commitac30b53cd332157d8a7fe385bc900e135bcfc400 (patch)
treead677c5ae2104c02daa1be550261fde5ef8c62b7 /tools
parentf7fc98905f40a660de336cac88b49cb856834a9a (diff)
downloadrockbox-ac30b53cd332157d8a7fe385bc900e135bcfc400.tar.gz
rockbox-ac30b53cd332157d8a7fe385bc900e135bcfc400.tar.bz2
rockbox-ac30b53cd332157d8a7fe385bc900e135bcfc400.zip
Add language identifiers for Arabic. Also map 'walon' to Belgian French. It is probably not 100% correct, but at least there is a mapping, similar to how the script handles Wallisertitsch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21193 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rw-r--r--tools/sapi_voice.vbs13
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/sapi_voice.vbs b/tools/sapi_voice.vbs
index 57c16f013a..20caaebb14 100644
--- a/tools/sapi_voice.vbs
+++ b/tools/sapi_voice.vbs
@@ -270,6 +270,13 @@ Function LangIDs(ByRef sLanguage)
Dim aIDs
Select Case sLanguage
+ Case "arabic"
+ LangIDs = Array( &h401, &h801, &hc01, &h1001, &h1401, &h1801, _
+ &h1c01, &h2001, &h2401, &h2801, &h2c01, &h3001, _
+ &h3401, &h3801, &h3c01, &h4001)
+ ' Saudi Arabia, Iraq, Egypt, Libya, Algeria, Morocco, Tunisia,
+ ' Oman, Yemen, Syria, Jordan, Lebanon, Kuwait, U.A.E., Bahrain,
+ ' Qatar
Case "afrikaans"
LangIDs = Array(&h436)
Case "bulgarian"
@@ -311,8 +318,8 @@ Function LangIDs(ByRef sLanguage)
Case "finnish"
LangIDs = Array(&h40b)
Case "francais"
- LangIDs = Array(&h40c, &h80c, &hc0c, &h100c, &h140c, &h180c)
- ' Standard, Belgian, Canadian, Swiss, Luxembourg, Monaco
+ LangIDs = Array(&h40c, &hc0c, &h100c, &h140c, &h180c)
+ ' Standard, Canadian, Swiss, Luxembourg, Monaco (Belgian -> walon)
Case "galego"
LangIDs = Array(&h456)
Case "greek"
@@ -361,6 +368,8 @@ Function LangIDs(ByRef sLanguage)
LangIDs = Array(&h41f)
Case "wallisertitsch"
LangIDs = Array(&h807) ' Swiss German
+ Case "walon"
+ LangIDs = Array(&h80c) ' Belgian French
End Select
End Function