[orca] Fix for bug #626713 - Orca fails to speak superscript symbols in the correct language when Up/Down A



commit a6ec99313bbc7c3ff5895edfe757527c9b5a58cd
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Fri Aug 13 09:10:14 2010 -0400

    Fix for bug #626713 - Orca fails to speak superscript symbols in the correct language when Up/Down Arrow is used

 src/orca/script_utilities.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index d8b07fc..2ea6335 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -2520,7 +2520,7 @@ class Utilities:
             # characters, e.g. 'X' followed by 'superscript 2' followed by
             # 'superscript 3' should be presented as 'X superscript 23'.
             #
-            newString = _(" superscript %s" % "".join(new))
+            newString = _(" superscript %s") % "".join(new)
             uString = re.sub(number, newString, uString)
 
         for number in subscripted:
@@ -2530,7 +2530,7 @@ class Utilities:
             # characters, e.g. 'X' followed by 'subscript 2' followed by
             # 'subscript 3', should be presented as 'X subscript 23.'
             #
-            newString = _(" subscript %s" % "".join(new))
+            newString = _(" subscript %s") % "".join(new)
             uString = re.sub(number, newString, uString)
 
         return uString.encode("UTF-8")



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