mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-05 16:13:41 +00:00
Fix translate string in notifications plugin
This commit is contained in:
parent
777993f74a
commit
274a76ab3b
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user