mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 08:58:38 +00:00
Fix translate string in notifications plugin
This commit is contained in:
parent
85d4602949
commit
36d5ff5040
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class Notification:
|
||||||
if not pynotify.init("Deluge"):
|
if not pynotify.init("Deluge"):
|
||||||
return
|
return
|
||||||
title = deluge.common.xml_encode(_("Torrent complete"))
|
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 = pynotify.Notification(title, message)
|
||||||
self.note.set_icon_from_pixbuf(common.get_logo(48))
|
self.note.set_icon_from_pixbuf(common.get_logo(48))
|
||||||
if not self.note.show():
|
if not self.note.show():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue