mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
make torrentnotification plugin translatable
This commit is contained in:
parent
88b356f22b
commit
8a39796daa
1 changed files with 2 additions and 2 deletions
|
@ -90,8 +90,8 @@ class TorrentNotification:
|
|||
filelist += '...'
|
||||
|
||||
if pynotify.init("My Application Name"):
|
||||
n = pynotify.Notification("Torrent complete",
|
||||
"Files:\n" + filelist)
|
||||
n = pynotify.Notification(_("Torrent complete"),
|
||||
_("Files") + ":\n" + filelist)
|
||||
n.show()
|
||||
else:
|
||||
print "there was a problem initializing the pynotify module"
|
||||
|
|
Loading…
Add table
Reference in a new issue