File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -943,6 +943,22 @@ def script_cycleSpeechSymbolLevel(self,gesture):
943943 # %s will be replaced with the symbol level; e.g. none, some, most and all.
944944 ui .message (_ ("Symbol level %s" ) % name )
945945
946+ @script (
947+ # Translators: Input help mode message for toggle delayed character description command.
948+ description = _ ("Toggles on and off delayed descriptions for characters on cursor movement" ),
949+ category = SCRCAT_SPEECH ,
950+ )
951+ def script_toggleDelayedCharacterDescription (self , gesture : inputCore .InputGesture ) -> None :
952+ enabled : bool = not config .conf ["speech" ]["delayedCharacterDescriptions" ]
953+ config .conf ["speech" ]["delayedCharacterDescriptions" ] = enabled
954+ if enabled :
955+ # Translators: The message announced when toggling the delayed character description setting.
956+ state = _ ("delayed character descriptions on" )
957+ else :
958+ # Translators: The message announced when toggling the delayed character description setting.
959+ state = _ ("delayed character descriptions off" )
960+ ui .message (state )
961+
946962 @script (
947963 # Translators: Input help mode message for move mouse to navigator object command.
948964 description = _ ("Moves the mouse pointer to the current navigator object" ),
You can’t perform that action at this time.
0 commit comments