[nvda-addons] commit/controlUsageAssistant: josephsl: 2.0-dev - translatable strings and translator comments for browse mode messages.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Thu, 30 May 2013 10:49:31 -0000

1 new commit in controlUsageAssistant:

https://bitbucket.org/nvdaaddonteam/controlusageassistant/commits/98bf6b6f3a6c/
Changeset:   98bf6b6f3a6c
Branch:      master
User:        josephsl
Date:        2013-05-30 12:48:36
Summary:     2.0-dev - translatable strings and translator comments for browse 
mode messages.

Affected #:  2 files

diff --git a/addon/globalPlugins/controlUsageAssistant/__init__.py 
b/addon/globalPlugins/controlUsageAssistant/__init__.py
index ca87b80..a2cb954 100755
--- a/addon/globalPlugins/controlUsageAssistant/__init__.py
+++ b/addon/globalPlugins/controlUsageAssistant/__init__.py
@@ -114,12 +114,14 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
                                VBufmsg = ctrltypelist.helpMessages[i]
                        else:
                                VBufmsg = ctrltypelist.helpMessages[obj.role]
-                               VBufmsg += ". To switch to browse mode, press 
NVDA+SPACE or escape key"
+                               # Translators: Additional message when working 
with forms in focus mode.
+                               VBufmsg += _(". To switch to browse mode, press 
NVDA+SPACE or escape key")
                elif i == 252:
                        if not obj.treeInterceptor.passThrough:
                                VBufmsg = ctrltypelist.helpMessages[252]
                        else:
-                               VBufmsg = "To use browse mode and quick 
navigation keys to read the webpage, switch to browse mode by pressing 
NVDA+SPACE"
+                               # Translators: Help message for reading a 
webpage while in focus mode.
+                               VBufmsg = _("To use browse mode and quick 
navigation keys to read the webpage, switch to browse mode by pressing 
NVDA+SPACE")
                else:
                        VBufmsg = ctrltypelist.helpMessages[obj.role]
                return VBufmsg

diff --git a/addon/globalPlugins/controlUsageAssistant/ctrltypelist.py 
b/addon/globalPlugins/controlUsageAssistant/ctrltypelist.py
index 9785af8..04b194b 100755
--- a/addon/globalPlugins/controlUsageAssistant/ctrltypelist.py
+++ b/addon/globalPlugins/controlUsageAssistant/ctrltypelist.py
@@ -48,10 +48,14 @@ helpMessages = {
        64:"Press enter to interact with the embedded object. Press 
CONTROL+NVDA+SPACE to return to the website text",
        
        # 200: Virtual Buffer.
-       206:"To select a radio button, switch to focus mode by pressing 
NVDA+SPACE or ENTER key",
-       208:"To type text into this edit field, switch to focus mode by 
pressing NVDA+SPACE or ENTER key",
-       213:"To select an item in the combo box, switch to focus mode by 
pressing NVDA+SPACE or ENTER key",
-       252:"Use the browse mode and quick navigation commands to read through 
the webpage",
+       # Translators: Help message for radio buttons while in browse mode.
+       206:_("To select a radio button, switch to focus mode by pressing 
NVDA+SPACE or ENTER key"),
+       # Translators: Help message for edit fields while in browse mode.
+       208:_("To type text into this edit field, switch to focus mode by 
pressing NVDA+SPACE or ENTER key"),
+       # Translators: Help message for combo boxes in browse mode.
+       213:_("To select an item in the combo box, switch to focus mode by 
pressing NVDA+SPACE or ENTER key"),
+       # Translators: Help message for reading webpages.
+       252:_("Use the browse mode and quick navigation commands to read 
through the webpage"),
        
        # App-specific case 1: AppeModule for app is present.

Repository URL: https://bitbucket.org/nvdaaddonteam/controlusageassistant/

--

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

Other related posts:

  • » [nvda-addons] commit/controlUsageAssistant: josephsl: 2.0-dev - translatable strings and translator comments for browse mode messages. - commits-noreply