mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +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()
|
#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')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user