OSDN Git Service
(root)
/
nvdajp
/
nvdajp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a650717
)
speech: for now only use NVDA's locale for character descriptions, the synth language...
author
Michael Curran
<mick@kulgan.net>
Mon, 4 Apr 2011 06:43:24 +0000
(16:43 +1000)
committer
Michael Curran
<mick@kulgan.net>
Mon, 4 Apr 2011 06:43:24 +0000
(16:43 +1000)
source/speech.py
patch
|
blob
|
history
diff --git
a/source/speech.py
b/source/speech.py
index
88b88cf
..
f316980
100755
(executable)
--- a/
source/speech.py
+++ b/
source/speech.py
@@
-152,10
+152,8
@@
def speakSpelling(text,locale=None,useCharacterDescriptions=False):
if isPaused:
\r
cancelSpeech()
\r
beenCanceled=False
\r
- locale=getSynth().language
\r
- if not locale:
\r
- from languageHandler import getLanguage
\r
- locale=getLanguage()
\r
+ from languageHandler import getLanguage
\r
+ locale=getLanguage()
\r
if not isinstance(text,basestring) or len(text)==0:
\r
return getSynth().speakText(processSymbol(""))
\r
if not text.isspace():
\r