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
777993f74a
commit
274a76ab3b
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ class Notification:
|
||||||
return
|
return
|
||||||
title = deluge.common.xml_encode(_("Torrent complete"))
|
title = deluge.common.xml_encode(_("Torrent complete"))
|
||||||
message = deluge.common.xml_encode(
|
message = deluge.common.xml_encode(
|
||||||
status["name"] + "\n" +
|
"%s\n%s %i %s" % (status["name"],
|
||||||
_("Including %i files" % status["num_files"])
|
_("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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue