[orca] Fix for bgo#619574 - Orca fails to speak links in OOo Writer when the localized form of 'link' conta



commit b95d138a0487d83e022bc60b8687739c2d4ce3fc
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Sun May 30 11:28:59 2010 -0400

    Fix for bgo#619574 - Orca fails to speak links in OOo Writer when the localized form of 'link' contains an accented character

 src/orca/script_utilities.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index c4cfda9..56819c4 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -2372,7 +2372,7 @@ class Utilities:
             # Translators: this indicates that this piece of
             # text is a hypertext link.
             #
-            linkString = " " + _("link")
+            linkString = " " + _("link").decode("UTF-8")
 
             # If the link was not followed by a whitespace or punctuation
             # character, then add in a space to make it more presentable.



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