Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaCowley authored Jan 13, 2025
1 parent 5fff6c7 commit 4c8eba2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/globalCommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def toggleIntegerValue(
:param configSection: The configuration section containing the integer key.
:param configKey: The configuration key associated with the integer value.
:param enumClass: The enumeration class representing possible states.
:param messageTemplate: The message template with a placeholder for the state.
:param messageTemplate: The message template with a placeholder, `{mode}`, for the state.
:return: None.
"""
currentValue = config.conf[configSection][configKey]
Expand Down Expand Up @@ -575,7 +575,7 @@ def script_toggleSpeakTypedCharacters(self, gesture: "inputCore.InputGesture") -
enumClass=TypingEcho,
# Translators: Reported when the user cycles through speak typed characters modes.
# {mode} will be replaced with the mode; e.g. Off, On, Only in edit controls.
messageTemplate=_("Speak typed characters: {mode}"),
messageTemplate=_("Speak typed characters {mode}"),
)

@script(
Expand All @@ -591,7 +591,7 @@ def script_toggleSpeakTypedWords(self, gesture: "inputCore.InputGesture") -> Non
enumClass=TypingEcho,
# Translators: Reported when the user cycles through speak typed words modes.
# {mode} will be replaced with the mode; e.g. Off, On, Only in edit controls.
messageTemplate=_("Speak typed words: {mode}"),
messageTemplate=_("Speak typed words {mode}"),
)

@script(
Expand Down

0 comments on commit 4c8eba2

Please sign in to comment.