Fix translate string in notifications plugin

This commit is contained in:
Calum Lind 2011-06-03 01:21:40 +01:00
parent 85d4602949
commit 36d5ff5040
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class Notification:
if not pynotify.init("Deluge"):
return
title = deluge.common.xml_encode(_("Torrent complete"))
message = deluge.common.xml_encode(status["name"] + "\n" + _("Including %i files" % status["num_files"]))
message = deluge.common.xml_encode("%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))
if not self.note.show():