OSDN Git Service

object navigation commands: Change the "No children" and "No parents" messages to...
authorJames Teh <jamie@jantrid.net>
Thu, 1 Dec 2011 04:52:54 +0000 (14:52 +1000)
committerJames Teh <jamie@jantrid.net>
Thu, 1 Dec 2011 04:52:54 +0000 (14:52 +1000)
source/globalCommands.py
user_docs/en/changes.t2t

index 5622e2c..c1a893e 100755 (executable)
@@ -354,7 +354,7 @@ class GlobalCommands(ScriptableObject):
                        api.setNavigatorObject(curObject)\r
                        speech.speakObject(curObject,reason=speech.REASON_QUERY)\r
                else:\r
-                       speech.speakMessage(_("No parents"))\r
+                       speech.speakMessage(_("No containing object"))\r
        script_navigatorObject_parent.__doc__=_("Moves the navigator object to the object containing it")\r
 \r
        def script_navigatorObject_next(self,gesture):\r
@@ -396,8 +396,8 @@ class GlobalCommands(ScriptableObject):
                        api.setNavigatorObject(curObject)\r
                        speech.speakObject(curObject,reason=speech.REASON_QUERY)\r
                else:\r
-                       speech.speakMessage(_("No children"))\r
-       script_navigatorObject_firstChild.__doc__=_("Moves the navigator object to the first object it contains")\r
+                       speech.speakMessage(_("No objects inside"))\r
+       script_navigatorObject_firstChild.__doc__=_("Moves the navigator object to the first object inside it")\r
 \r
        def script_navigatorObject_doDefaultAction(self,gesture):\r
                curObject=api.getNavigatorObject()\r
index 12b6015..43cf210 100644 (file)
@@ -27,8 +27,7 @@
 - Browse mode is now used for full screen Adobe Flash content.\r
 - Fixed poor audio quality in some cases when using Microsoft Speech API version 5 voices with the audio output device set to something other than the default (Microsoft Sound Mapper). (#749)\r
 - Again allow NVDA to be used with the "no speech" synthesizer, relying purely   on braille or the speech viewer. (#1963)\r
-\r
-\r
+- Object navigation commands no longer report "No children" and "No parents", but instead report messages consistent with the documentation.\r
 \r
 \r
 == Changes for Developers ==\r