[orca] Fix for bug 666416 - Leading ellipsis cause incorrect speech output.



commit ae29d9714e854d2d0001c9d8771de8a2eb5204aa
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sat Dec 17 14:46:46 2011 -0500

    Fix for bug 666416 - Leading ellipsis cause incorrect speech output.

 src/orca/speechdispatcherfactory.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/speechdispatcherfactory.py b/src/orca/speechdispatcherfactory.py
index 06dee62..8f3691f 100644
--- a/src/orca/speechdispatcherfactory.py
+++ b/src/orca/speechdispatcherfactory.py
@@ -291,7 +291,7 @@ class SpeechServer(speechserver.SpeechServer):
         # new string well.  For example, "Open..." turns into
         # "Open dot dot dot".
         #
-        spokenEllipsis = _(" dot dot dot")
+        spokenEllipsis = _(" dot dot dot") + " "
         newText = re.sub(ELLIPSIS, spokenEllipsis, oldText)
         try:
             newText = newText.decode("UTF-8")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]