From 8a39796daa7098ac6a180308a79ae1d29fcaecc1 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Fri, 20 Jul 2007 21:17:34 +0000 Subject: [PATCH] make torrentnotification plugin translatable --- plugins/TorrentNotification/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/TorrentNotification/__init__.py b/plugins/TorrentNotification/__init__.py index 0c91bfb61..2c2ab0f05 100644 --- a/plugins/TorrentNotification/__init__.py +++ b/plugins/TorrentNotification/__init__.py @@ -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"