summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-10-23 17:58:38 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-10-23 17:58:38 +0000
commitde79e68b094da6a82843eab4b81934c8105fc19a (patch)
treec404268d32206bec19494a316eb1e02640311a3a /apps
parentd69c4995f67aef16ea5cc1ae881cbdfc38977e03 (diff)
new voice ID for the space character, allows to spell with a pause, once this is in the voice files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5333 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/lang/deutsch.lang15
-rw-r--r--apps/lang/english.lang15
-rw-r--r--apps/talk.c5
3 files changed, 32 insertions, 3 deletions
diff --git a/apps/lang/deutsch.lang b/apps/lang/deutsch.lang
index 0ff4778721..8aa8425c47 100644
--- a/apps/lang/deutsch.lang
+++ b/apps/lang/deutsch.lang
@@ -2256,7 +2256,7 @@ voice: "Plus"
new:
id: VOICE_POINT
-desc: spoken only, for composing numbers
+desc: spoken only, decimal separator for composing numbers
eng: ""
voice: "Komma"
new:
@@ -2833,3 +2833,16 @@ desc: before acknowledging usb in case an MMC is inserted (Ondio)
eng: "Please remove inserted MMC"
voice: "Bitte Multimediakarte entfernen"
new: "Bitte eingelegte MMC entfernen"
+
+id: VOICE_DOT
+desc: spoken only, for spelling
+eng: ""
+voice: "Punkt"
+new:
+
+id: VOICE_PAUSE
+desc: spoken only, for spelling, a split second of silence (difficult to author)
+eng: ""
+voice: " "
+new:
+
diff --git a/apps/lang/english.lang b/apps/lang/english.lang
index fd3d4d297a..698a7a65ce 100644
--- a/apps/lang/english.lang
+++ b/apps/lang/english.lang
@@ -2270,7 +2270,7 @@ voice: "plus"
new:
id: VOICE_POINT
-desc: spoken only, for composing numbers
+desc: spoken only, decimal separator for composing numbers
eng: ""
voice: "point"
new:
@@ -2847,3 +2847,16 @@ desc: before acknowledging usb in case an MMC is inserted (Ondio)
eng: "Please remove inserted MMC"
voice: "Please remove multimedia card"
new:
+
+id: VOICE_DOT
+desc: spoken only, for spelling
+eng: ""
+voice: "dot"
+new:
+
+id: VOICE_PAUSE
+desc: spoken only, for spelling, a split second of silence (difficult to author)
+eng: ""
+voice: " "
+new:
+
diff --git a/apps/talk.c b/apps/talk.c
index db52afc834..6e59cde90e 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -610,7 +610,10 @@ int talk_spell(const char* spell, bool enqueue)
else if (c == '+')
talk_id(VOICE_PLUS, true);
else if (c == '.')
- talk_id(VOICE_POINT, true);
+ talk_id(VOICE_POINT, true);
+ /* fixme: change to VOICE_DOT when settled in the voice files */
+ else if (c == ' ')
+ talk_id(VOICE_PAUSE, true);
}
return 0;