summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Resch <andrewresch@gmail.com>2009-02-28 02:18:12 +0000
committerAndrew Resch <andrewresch@gmail.com>2009-02-28 02:18:12 +0000
commitf598101ee8a7f613c0eea7189e0f92eeda6729b4 (patch)
tree474fc56caf97c889b0e7913d67114a1034f419dc
parent4965a903ac80b0022872b19b03238e7d30400ce6 (diff)
downloaddeluge-f598101ee8a7f613c0eea7189e0f92eeda6729b4.tar.gz
deluge-f598101ee8a7f613c0eea7189e0f92eeda6729b4.tar.bz2
deluge-f598101ee8a7f613c0eea7189e0f92eeda6729b4.zip
Fix #817 email notifications fail to substitute format strings
-rw-r--r--ChangeLog1
-rw-r--r--deluge/ui/gtkui/notification.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ef97100e..880420569 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
* Fix saving file priorities when switching torrents in the addtorrentdialog
* Fix the allocate mode not being preserved when selecting different torrents in addtorrentdialog
* Fix #655 issue where default torrent options wouldn't be set for new torrents added to the addtorrentdialog
+ * Fix #817 email notifications fail to substitute format strings
=== Deluge 1.1.3 - (15 February 2009) ===
==== Core ====
diff --git a/deluge/ui/gtkui/notification.py b/deluge/ui/gtkui/notification.py
index b8e960441..32785c234 100644
--- a/deluge/ui/gtkui/notification.py
+++ b/deluge/ui/gtkui/notification.py
@@ -95,7 +95,7 @@ class Notification:
"Finished torrent %s" % (status["name"]))
text = _("This email is to inform you that Deluge has finished downloading %s , \
which includes %i files.\nTo stop receiving these alerts, simply turn off \
- email notification in Deluge's preferences.\n\nThank you,\nDeluge")
+ email notification in Deluge's preferences.\n\nThank you,\nDeluge") % (status["name"], status["num_files"])
message = headers + text
if self.config["ntf_security"] == 'SSL':
port = 465