formatConfig['reportTables']=True\r
commandList=info.getTextWithFields(formatConfig)\r
if len(commandList)<3 or commandList[1].field.get('role',None)!=controlTypes.ROLE_TABLE or commandList[2].field.get('role',None)!=controlTypes.ROLE_TABLECELL:\r
+ # Translators: The message reported when a user attempts to use a table movement command\r
+ # when the cursor is not withnin a table.\r
ui.message(_("Not in table"))\r
return False\r
rowCount=commandList[1].field.get('table-rowcount',1)\r
else:\r
columnNumber+=1 if forward else -1\r
if rowNumber<1 or rowNumber>rowCount or columnNumber<1 or columnNumber>columnCount:\r
+ # Translators: The message reported when a user attempts to use a table movement command\r
+ # but the cursor can't be moved in that direction because it is at the edge of the table.\r
ui.message(_("Edge of table"))\r
return False\r
try:\r
else:\r
rowNumber-=1\r
if not cell:\r
- ui.message(_("edge of table"))\r
+ ui.message(_("Edge of table"))\r
return False\r
newInfo=WordDocumentTextInfo(self,textInfos.POSITION_CARET,_rangeObj=cell.range)\r
speech.speakTextInfo(newInfo,reason=controlTypes.REASON_CARET)\r
else:\r
onOff=_("on")\r
config.conf["keyboard"]["speakTypedCharacters"]=True\r
+ # Translators: The message announced when toggling the speak typed characters keyboard setting.\r
ui.message(_("speak typed characters")+" "+onOff)\r
script_toggleSpeakTypedCharacters.__doc__=_("Toggles on and off the speaking of typed characters")\r
\r
if newMode==speech.speechMode_off:\r
name=_("off")\r
elif newMode==speech.speechMode_beeps:\r
+ # Translators: A speech mode which will cause NVDA to beep instead of speaking.\r
name=_("beeps")\r
elif newMode==speech.speechMode_talk:\r
+ # Translators: The normal speech mode; i.e. NVDA will talk as normal.\r
name=_("talk")\r
speech.cancelSpeech()\r
ui.message(_("speech mode %s")%name)\r
try:\r
tableID, origRow, origCol, origRowSpan, origColSpan = self._getTableCellCoords(self.selection)\r
except LookupError:\r
+ # Translators: The message reported when a user attempts to use a table movement command\r
+ # when the cursor is not withnin a table.\r
ui.message(_("Not in a table cell"))\r
return\r
\r
try:\r
info = self._getNearestTableCell(tableID, self.selection, origRow, origCol, origRowSpan, origColSpan, movement, axis)\r
except LookupError:\r
+ # Translators: The message reported when a user attempts to use a table movement command\r
+ # but the cursor can't be moved in that direction because it is at the edge of the table.\r
ui.message(_("edge of table"))\r
# Retrieve the cell on which we started.\r
info = next(self._iterTableCells(tableID, row=origRow, column=origCol))\r