[orca/570658-whereami] Additional tweak suggested by Will.



commit fbcf4cf4fc6db6830192c865b911f4a7b7f0c8d4
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Mon Jun 8 23:00:02 2009 -0400

    Additional tweak suggested by Will.
---
 src/orca/speech_generator.py           |    2 +-
 test/keystrokes/firefox/moz_slider.py  |    2 +-
 test/keystrokes/firefox/uiuc_slider.py |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/orca/speech_generator.py b/src/orca/speech_generator.py
index b920384..13649d5 100644
--- a/src/orca/speech_generator.py
+++ b/src/orca/speech_generator.py
@@ -1515,7 +1515,7 @@ class SpeechGenerator:
                 * 100.0
             # Translators: this is the percentage value of a progress bar.
             #
-            percentage = _("%d percent.") % percentValue
+            percentage = _("%d percent") % percentValue
             result.append(percentage)
         return result
 
diff --git a/test/keystrokes/firefox/moz_slider.py b/test/keystrokes/firefox/moz_slider.py
index 622ffec..6ca62fc 100644
--- a/test/keystrokes/firefox/moz_slider.py
+++ b/test/keystrokes/firefox/moz_slider.py
@@ -46,7 +46,7 @@ sequence.append(utils.AssertPresentationAction(
     "basic whereAmI",
     ["BRAILLE LINE:  '10% Slider'",
      "     VISIBLE:  '10% Slider', cursor=1",
-     "SPEECH OUTPUT: 'slider 10% 10 percent.'"]))
+     "SPEECH OUTPUT: 'slider 10% 10 percent'"]))
 
 ########################################################################
 # Move the slider several times.  The following will be presented for each.
diff --git a/test/keystrokes/firefox/uiuc_slider.py b/test/keystrokes/firefox/uiuc_slider.py
index 14f4f00..e1007a3 100644
--- a/test/keystrokes/firefox/uiuc_slider.py
+++ b/test/keystrokes/firefox/uiuc_slider.py
@@ -46,7 +46,7 @@ sequence.append(utils.AssertPresentationAction(
     "basic whereAmI", 
     ["BRAILLE LINE:  'Slider Control 1 50 Slider'",
      "     VISIBLE:  'Slider Control 1 50 Slider', cursor=1",
-     "SPEECH OUTPUT: 'Slider Control 1 slider 50 50 percent.'"]))
+     "SPEECH OUTPUT: 'Slider Control 1 slider 50 50 percent'"]))
     
 ########################################################################
 # Increment slider several times



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