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