Skip to content

Commit 6979a5c

Browse files
authored
Merge 654d148 into cc0df91
2 parents cc0df91 + 654d148 commit 6979a5c

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

source/cursorManager.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,16 @@ def doFindText(self, text, reverse=False, caseSensitive=False, willSayAllResume=
179179
if not willSayAllResume:
180180
speech.speakTextInfo(info, reason=controlTypes.OutputReason.CARET)
181181
else:
182-
wx.CallAfter(gui.messageBox,_('text "%s" not found')%text,_("Find Error"),wx.OK|wx.ICON_ERROR)
182+
wx.CallAfter(
183+
gui.messageBox,
184+
# Translators: message displayed to the user when
185+
# searching text and no text is found.
186+
_('text "%s" not found') % text,
187+
# Translators: message dialog title displayed to the user when
188+
# searching text and no text is found.
189+
_("0 matches"),
190+
wx.OK | wx.ICON_INFORMATION
191+
)
183192
CursorManager._lastFindText=text
184193
CursorManager._lastCaseSensitivity=caseSensitive
185194

0 commit comments

Comments
 (0)