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()
diff = time.time() - when
try:
return utils.timeElapsed(diff, seconds=False) + _(' ago')
return _('%s ago') % utils.timeElapsed(diff, seconds=False)
except ValueError:
return _('just now')