changeset 2678:00b746e6be07

Translate revert notifications.
author Karol Nowak <grzywacz@sul.uni.lodz.pl>
date Tue, 14 Aug 2007 23:59:24 +0200
parents da70a91c03db
children 93070ec4ff59
files jabberbot/xmlrpcbot.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jabberbot/xmlrpcbot.py	Tue Aug 14 23:58:46 2007 +0200
+++ b/jabberbot/xmlrpcbot.py	Tue Aug 14 23:59:24 2007 +0200
@@ -260,7 +260,7 @@
         else:
             cmd_data = {'text': _("Revert failed.")}
 
-        info = cmd.NotificationCommand([command.jid], cmd_data, async=False, msg_type=u"chat")
+        info = cmd.NotificationCommandI18n([command.jid], cmd_data, async=False, msg_type=u"chat")
         self.commands_out.put_nowait(info)
 
     do_revert = _xmlrpc_decorator(do_revert)