mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-10 20:22:36 +01:00
MoobotFactoids: Add count of recent/top factoids (removed while internationalizing).
This commit is contained in:
parent
5afff1c0d6
commit
63a4285941
@ -602,7 +602,7 @@ class MoobotFactoids(callbacks.Plugin):
|
||||
latest = _('latest factoid')
|
||||
else:
|
||||
latest = _('latest factoids')
|
||||
irc.reply(format(_('%s: %L'), latest, L))
|
||||
irc.reply(format(_('%i %s: %L'), len(L), latest, L))
|
||||
else:
|
||||
irc.error(_('There are no factoids in my database.'))
|
||||
|
||||
@ -614,7 +614,7 @@ class MoobotFactoids(callbacks.Plugin):
|
||||
requested = _('requested factoid')
|
||||
else:
|
||||
requested = _('requested factoids')
|
||||
irc.reply(format(_('Top %s: %L'), requested, L))
|
||||
irc.reply(format(_('Top %i %s: %L'), len(L), requested, L))
|
||||
else:
|
||||
irc.error(_('No factoids have been requested from my database.'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user