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: 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