make torrentnotification plugin translatable
This commit is contained in:
parent
88b356f22b
commit
8a39796daa
@ -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…
x
Reference in New Issue
Block a user