mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
SedRegex: reword "search not found" error
"Search not found in the last X *messages*" is a bit confusing because this is really counting the entire history, which includes all other lines of IRC communication (this means pings, /NAMES replies and so on).
This commit is contained in:
parent
9adb4f0e8c
commit
b05fe01d66
@ -159,7 +159,7 @@ class SedRegex(callbacks.PluginRegexp):
|
|||||||
except ProcessTimeoutError:
|
except ProcessTimeoutError:
|
||||||
irc.error(_("Search timed out."))
|
irc.error(_("Search timed out."))
|
||||||
except SearchNotFound:
|
except SearchNotFound:
|
||||||
irc.error(_("Search not found in the last %i messages.") %
|
irc.error(_("Search not found in the last %i IRC messages on this network.") %
|
||||||
len(irc.state.history))
|
len(irc.state.history))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.log.warning(_("SedRegex replacer error: %s"), e, exc_info=True)
|
self.log.warning(_("SedRegex replacer error: %s"), e, exc_info=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user