orca r4452 - in branches/gnome-2-24: . src/orca
- From: wwalker svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r4452 - in branches/gnome-2-24: . src/orca
- Date: Thu, 22 Jan 2009 00:34:51 +0000 (UTC)
Author: wwalker
Date: Thu Jan 22 00:34:51 2009
New Revision: 4452
URL: http://svn.gnome.org/viewvc/orca?rev=4452&view=rev
Log:
Additional fix for bug #562060 - Speech should speak multi case strings as words. Make speakCharacter also use pronunciations.
Modified:
branches/gnome-2-24/ChangeLog
branches/gnome-2-24/src/orca/gnomespeechfactory.py
Modified: branches/gnome-2-24/src/orca/gnomespeechfactory.py
==============================================================================
--- branches/gnome-2-24/src/orca/gnomespeechfactory.py (original)
+++ branches/gnome-2-24/src/orca/gnomespeechfactory.py Thu Jan 22 00:34:51 2009
@@ -705,7 +705,10 @@
used to augment/override the default
voice settings.
"""
- self.speak(chnames.getCharacterName(character), acss)
+ chname = chnames.getCharacterName(character)
+ if orca_state.activeScript and orca_state.usePronunciationDictionary:
+ chname = orca_state.activeScript.adjustForPronunciation(chname)
+ self.speak(chname, acss)
def speakUtterances(self, utterances, acss=None, interrupt=True):
"""Speaks the given list of utterances immediately.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]