mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Later: fix internationalization problem
This commit is contained in:
parent
4e578da1b7
commit
4a2c78efb8
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user