make torrentnotification plugin translatable

This commit is contained in:
Marcos Pinto 2007-07-20 21:17:34 +00:00
parent 88b356f22b
commit 8a39796daa

View file

@ -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"