[nvda-addons] Re: commit/googleSpeechRecognition: norrumar: Changed cycleLang script gesture: NVDA+y, in consistence with NVDA+p to cycle punctuation. Useful to switch between languages without saving the set one as default.

  • From: Noelia <nrm1977@xxxxxxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Mon, 5 Aug 2013 07:11:01 +0200

I have only writen some gui messages. Language settings for instance.
Thanks.

2013/8/5, derek riemer <driemer.riemer@xxxxxxxxx>:
> Oh, Ok. Cool so it doesn't probably need translation review then?
>
> Subscribe to my new mailing list for blind people to discuss technology.
> //www.freelists.org/list/at-discuss4vi
>
> On 8/4/2013 22:44, Noelia wrote:
>> Mesar, with some other contributions.
>> Cheers.
>>
>> 2013/8/5, derek riemer <driemer.riemer@xxxxxxxxx>:
>>> Oh ok. So who wrote it anyway?
>>> On 8/4/2013 22:37, Noelia wrote:
>>>> I'm not the author, and the add-on needs some code cleaning and
>>>> documentation, but I have test it and works, though the recognition of
>>>> google sometimes don't give the expected results. However, the add-on
>>>> works fine.
>>>>
>>>> 2013/8/5, derek riemer <driemer.riemer@xxxxxxxxx>:
>>>>> How long until I can try this addon? It sounds cool.
>>>>>
>>>>> Subscribe to my new mailing list for blind people to discuss
>>>>> technology.
>>>>> //www.freelists.org/list/at-discuss4vi
>>>>> On 8/4/2013 22:26, commits-noreply@xxxxxxxxxxxxx wrote:
>>>>>> 1 new commit in googleSpeechRecognition:
>>>>>>
>>>>>> https://bitbucket.org/nvdaaddonteam/googlespeechrecognition/commits/68b79d91291a/
>>>>>> Changeset:   68b79d91291a
>>>>>> Branch:      master
>>>>>> User:        norrumar
>>>>>> Date:        2013-08-05 06:25:52
>>>>>> Summary:     Changed cycleLang script gesture: NVDA+y, in consistence
>>>>>> with
>>>>>> NVDA+p to cycle punctuation. Useful to switch between languages
>>>>>> without
>>>>>> saving the set one as default.
>>>>>>
>>>>>> Affected #:  1 file
>>>>>>
>>>>>> diff --git a/addon/globalPlugins/googleSpeechRecognition/__init__.py
>>>>>> b/addon/globalPlugins/googleSpeechRecognition/__init__.py
>>>>>> index 1b456b5..edefbc5 100644
>>>>>> --- a/addon/globalPlugins/googleSpeechRecognition/__init__.py
>>>>>> +++ b/addon/globalPlugins/googleSpeechRecognition/__init__.py
>>>>>> @@ -86,8 +86,11 @@ class
>>>>>> GlobalPlugin(globalPluginHandler.GlobalPlugin):
>>>>>>                  if result == wx.ID_OK:
>>>>>>                          #tones.beep(500,300)
>>>>>>                  #dlg.Destroy()
>>>>>> +                        selectedLang = 
>>>>>> langslist[lst[dlg.GetSelection()]]
>>>>>> +                        if self.myLang.__eq__(selectedLang):
>>>>>> +                                return
>>>>>>                          global lng
>>>>>> -                        lng = langslist[lst[dlg.GetSelection()]]
>>>>>> +                        lng = selectedLang
>>>>>>                          self.myLang = Ring(langslist.values(), lng)
>>>>>>                          conf["Language settings"]["lang"] = lng
>>>>>>                          try:
>>>>>> @@ -121,5 +124,5 @@ class
>>>>>> GlobalPlugin(globalPluginHandler.GlobalPlugin):
>>>>>>          __gestures = {
>>>>>>                  "kb:NVDA+shift+g": "record",
>>>>>>                  "kb:NVDA+control+shift+g": "accept",
>>>>>> -                "kb:control+NVDA+l": "cycleLang",
>>>>>> +                "kb:NVDA+y": "cycleLang",
>>>>>>          }
>>>>>>
>>>>>> Repository URL:
>>>>>> https://bitbucket.org/nvdaaddonteam/googlespeechrecognition/
>>>>>>
>>>>>> --
>>>>>>
>>>>>> This is a commit notification from bitbucket.org. You are receiving
>>>>>> this because you have the service enabled, addressing the recipient
>>>>>> of
>>>>>> this email.
>>>>>> ----------------------------------------------------------------
>>>>>>
>>>>>> NVDA add-ons Central: A list for discussing NVDA add-ons
>>>>>>
>>>>>> To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.
>>>>>>
>>>>>> To unsubscribe, send an email with the subject line of "unsubscribe"
>>>>>> (without quotes) to nvda-addons-request@xxxxxxxxxxxxx.
>>>>>>
>>>>>> If you have questions for list moderators, please send a message to
>>>>>> nvda-addons-moderators@xxxxxxxxxxxxx.
>>>>>>
>>>>>> Community addons can be found here: http://addons.nvda-project.org
>>>>> ----------------------------------------------------------------
>>>>>
>>>>> NVDA add-ons Central: A list for discussing NVDA add-ons
>>>>>
>>>>> To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.
>>>>>
>>>>> To unsubscribe, send an email with the subject line of "unsubscribe"
>>>>> (without quotes) to nvda-addons-request@xxxxxxxxxxxxx.
>>>>>
>>>>> If you have questions for list moderators, please send a message to
>>>>> nvda-addons-moderators@xxxxxxxxxxxxx.
>>>>>
>>>>> Community addons can be found here: http://addons.nvda-project.org
>>>>>
>>>> ----------------------------------------------------------------
>>>>
>>>> NVDA add-ons Central: A list for discussing NVDA add-ons
>>>>
>>>> To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.
>>>>
>>>> To unsubscribe, send an email with the subject line of "unsubscribe"
>>>> (without quotes) to nvda-addons-request@xxxxxxxxxxxxx.
>>>>
>>>> If you have questions for list moderators, please send a message to
>>>> nvda-addons-moderators@xxxxxxxxxxxxx.
>>>>
>>>> Community addons can be found here: http://addons.nvda-project.org
>>> --
>>>
>>> Subscribe to my new mailing list for blind people to discuss technology.
>>> //www.freelists.org/list/at-discuss4vi
>>>
>>> ----------------------------------------------------------------
>>>
>>> NVDA add-ons Central: A list for discussing NVDA add-ons
>>>
>>> To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.
>>>
>>> To unsubscribe, send an email with the subject line of "unsubscribe"
>>> (without quotes) to nvda-addons-request@xxxxxxxxxxxxx.
>>>
>>> If you have questions for list moderators, please send a message to
>>> nvda-addons-moderators@xxxxxxxxxxxxx.
>>>
>>> Community addons can be found here: http://addons.nvda-project.org
>>>
>> ----------------------------------------------------------------
>>
>> NVDA add-ons Central: A list for discussing NVDA add-ons
>>
>> To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.
>>
>> To unsubscribe, send an email with the subject line of "unsubscribe"
>> (without quotes) to nvda-addons-request@xxxxxxxxxxxxx.
>>
>> If you have questions for list moderators, please send a message to
>> nvda-addons-moderators@xxxxxxxxxxxxx.
>>
>> Community addons can be found here: http://addons.nvda-project.org
>
> ----------------------------------------------------------------
>
> NVDA add-ons Central: A list for discussing NVDA add-ons
>
> To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.
>
> To unsubscribe, send an email with the subject line of "unsubscribe"
> (without quotes) to nvda-addons-request@xxxxxxxxxxxxx.
>
> If you have questions for list moderators, please send a message to
> nvda-addons-moderators@xxxxxxxxxxxxx.
>
> Community addons can be found here: http://addons.nvda-project.org
>
----------------------------------------------------------------

NVDA add-ons Central: A list for discussing NVDA add-ons

To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.

To unsubscribe, send an email with the subject line of "unsubscribe" (without 
quotes) to nvda-addons-request@xxxxxxxxxxxxx.

If you have questions for list moderators, please send a message to 
nvda-addons-moderators@xxxxxxxxxxxxx.

Community addons can be found here: http://addons.nvda-project.org

Other related posts: