mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
Time: tweak 'ddate missing' error message
Fix grammar and use a consistent URL format.
This commit is contained in:
parent
9e7ca56067
commit
fd59612002
@ -225,9 +225,10 @@ class Time(callbacks.Plugin):
|
|||||||
else:
|
else:
|
||||||
irc.reply(_ddate())
|
irc.reply(_ddate())
|
||||||
else:
|
else:
|
||||||
irc.error(_("The 'ddate' module is not installed."
|
irc.error(format(_("The 'ddate' module is not installed. Use "
|
||||||
" Use '%s -m pip install --user ddate'"
|
"'%s -m pip install --user ddate' or see "
|
||||||
" See <https://pypi.python.org/pypi/ddate/> for more information.") % sys.executable)
|
"%u for more information."), sys.executable,
|
||||||
|
"https://pypi.python.org/pypi/ddate/"))
|
||||||
ddate = wrap(ddate, [optional('positiveint'), optional('positiveint'), optional('positiveint')])
|
ddate = wrap(ddate, [optional('positiveint'), optional('positiveint'), optional('positiveint')])
|
||||||
Class = Time
|
Class = Time
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user