Update deluge.pot and a couple i18n tweaks

This commit is contained in:
Andrew Resch 2009-05-12 18:10:52 +00:00
parent 090e1a035e
commit 397434f7ca
3 changed files with 1407 additions and 1410 deletions

File diff suppressed because it is too large Load Diff

View File

@ -325,7 +325,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="label" translatable="yes">gtk-refresh</property> <property name="label" translatable="no">gtk-refresh</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="response_id">0</property> <property name="response_id">0</property>
<signal name="clicked" handler="on_button_refresh_clicked"/> <signal name="clicked" handler="on_button_refresh_clicked"/>

View File

@ -93,9 +93,9 @@ class Notification:
headers = "From: %s\r\nTo: %s\r\nSubject: %s\r\n\r\n" % ( headers = "From: %s\r\nTo: %s\r\nSubject: %s\r\n\r\n" % (
self.config["ntf_email_add"], self.config["ntf_email_add"], self.config["ntf_email_add"], self.config["ntf_email_add"],
"Finished torrent %s" % (status["name"])) "Finished torrent %s" % (status["name"]))
text = _("This email is to inform you that Deluge has finished downloading %s , \ text = _("This email is to inform you that Deluge has finished downloading %(name)s , \
which includes %i files.\nTo stop receiving these alerts, simply turn off \ which includes %(num_files)i files.\nTo stop receiving these alerts, simply turn off \
email notification in Deluge's preferences.\n\nThank you,\nDeluge") % (status["name"], status["num_files"]) email notification in Deluge's preferences.\n\nThank you,\nDeluge") % {"name": status["name"], "num_files": status["num_files"]}
message = headers + text message = headers + text
if self.config["ntf_security"] == 'SSL': if self.config["ntf_security"] == 'SSL':
port = 465 port = 465