Time: tweak 'ddate missing' error message

Fix grammar and use a consistent URL format.
This commit is contained in:
James Lu 2017-10-29 16:17:48 -07:00
parent 9e7ca56067
commit fd59612002

View File

@ -225,9 +225,10 @@ class Time(callbacks.Plugin):
else:
irc.reply(_ddate())
else:
irc.error(_("The 'ddate' module is not installed."
" Use '%s -m pip install --user ddate'"
" See <https://pypi.python.org/pypi/ddate/> for more information.") % sys.executable)
irc.error(format(_("The 'ddate' module is not installed. Use "
"'%s -m pip install --user ddate' or see "
"%u for more information."), sys.executable,
"https://pypi.python.org/pypi/ddate/"))
ddate = wrap(ddate, [optional('positiveint'), optional('positiveint'), optional('positiveint')])
Class = Time