Ticket #228 (new task)

Opened 7 weeks ago

Generalise some code which is not specific to speech

Reported by: jteh Owned by: jteh
Priority: minor Milestone:
Component: Core Version: trunk
Keywords: Cc:
Blocking: Blocked By:

Description

There is some code which is in the speech module or named for speech, even though it is not specific to speech and is in fact now used by braille.

Tasks:

  • Move processPositiveStates, processNegativeStates, REASON_*, silent* from speech to controlTypes, as these are also used by braille.
  • Rename speech*Labels to just *Labels in controlTypes, as these labels are full labels and are not associated with speech.
  • Provide labels for speech and braille based on controlTypes.*labels:
    • speech probably doesn't need its own labels.
      • Maybe it can just use controlTypes.*labels directly?
    • braille should use controlTypes.*labels as a base, but override to provide abbreviations.
Note: See TracTickets for help on using tickets.