Skip to content

Commit

Permalink
speech: Fix tiny error we've somehow missed for years: "listwith x it…
Browse files Browse the repository at this point in the history
…ems" -> "list with x items".

Fixes #1515.
  • Loading branch information
jcsteh committed May 24, 2011
1 parent 0096728 commit 29b7f28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/speech.py
Expand Up @@ -855,7 +855,7 @@ def getControlFieldSpeech(attrs,ancestorAttrs,fieldType,formatConfig=None,extraD
# Special cases
if fieldType=="start_addedToControlFieldStack" and role==controlTypes.ROLE_LIST and controlTypes.STATE_READONLY in states:
# List.
return roleText+_("with %s items")%childCount
return roleText+" "+_("with %s items")%childCount
elif fieldType=="start_addedToControlFieldStack" and role==controlTypes.ROLE_TABLE and tableID:
# Table.
return " ".join((roleText, getSpeechTextForProperties(_tableID=tableID, rowCount=attrs.get("table-rowcount"), columnCount=attrs.get("table-columncount"))))
Expand Down
1 change: 1 addition & 0 deletions user_docs/en/changes.t2t
Expand Up @@ -56,6 +56,7 @@
- In languages which use a space as a digit group/thousands separator such as French and German, numbers from separate chunks of text are no longer pronounced as a single number. This was particularly problematic for table cells containing numbers. (#555)
- nodes with an ARIA role of description in Internet Explorer and other MSHTML controls now are classed as static text, not edit fields.
- Possibly stop the tab key from taking you to the addressbar when first opening Internet Explorer and landing on a document.
- When entering lists while reading text, NVDA now says, for example, "list with 5 items" instead of "listwith 5 items". (#1515)


== Changes for Developers ==
Expand Down

0 comments on commit 29b7f28

Please sign in to comment.