428
429
positiveStates = controlTypes.processPositiveStates(role, states, controlTypes.REASON_FOCUS, states)
429
430
textList.extend(positiveStateLabels.get(state, controlTypes.stateLabels[state]) for state in positiveStates)
430
431
negativeStates = controlTypes.processNegativeStates(role, states, controlTypes.REASON_FOCUS, None)
432
textList.extend(negativeStateLabels.get(state, controlTypes.negativeStateLabels.get(state, _("not %s") % controlTypes.stateLabels[state])) for state in negativeStates)
433
434
textList.append(roleText)
434
435
description = propertyValues.get("description")