Later: fix internationalization problem

This commit is contained in:
Valentin Lorentz 2010-10-28 16:14:56 +02:00
parent 4e578da1b7
commit 4a2c78efb8

View File

@ -81,7 +81,7 @@ class Later(callbacks.Plugin):
#format = conf.supybot.reply.format.time() #format = conf.supybot.reply.format.time()
diff = time.time() - when diff = time.time() - when
try: try:
return utils.timeElapsed(diff, seconds=False) + _(' ago') return _('%s ago') % utils.timeElapsed(diff, seconds=False)
except ValueError: except ValueError:
return _('just now') return _('just now')