mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 01:18:39 +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 += '...'
|
filelist += '...'
|
||||||
|
|
||||||
if pynotify.init("My Application Name"):
|
if pynotify.init("My Application Name"):
|
||||||
n = pynotify.Notification("Torrent complete",
|
n = pynotify.Notification(_("Torrent complete"),
|
||||||
"Files:\n" + filelist)
|
_("Files") + ":\n" + filelist)
|
||||||
n.show()
|
n.show()
|
||||||
else:
|
else:
|
||||||
print "there was a problem initializing the pynotify module"
|
print "there was a problem initializing the pynotify module"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue