From 274a76ab3b701b790243de9549d569acdd0b0ba8 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 3 Jun 2011 01:21:40 +0100 Subject: [PATCH] Fix translate string in notifications plugin --- deluge/ui/gtkui/notification.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/ui/gtkui/notification.py b/deluge/ui/gtkui/notification.py index 7e17fa9d2..3b8071512 100644 --- a/deluge/ui/gtkui/notification.py +++ b/deluge/ui/gtkui/notification.py @@ -82,8 +82,8 @@ class Notification: return title = deluge.common.xml_encode(_("Torrent complete")) message = deluge.common.xml_encode( - status["name"] + "\n" + - _("Including %i files" % status["num_files"]) + "%s\n%s %i %s" % (status["name"], + _("Including"), status["num_files"], _("files")) ) self.note = pynotify.Notification(title, message) self.note.set_icon_from_pixbuf(common.get_logo(48))