Merge branch 'i18n' into l10n-fr

This commit is contained in:
Valentin Lorentz 2010-10-28 16:15:03 +02:00
commit c6b40ebc64

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')