summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--deluge/ui/gtkui/status_tab.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e30456d9f..072cf8c33 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@ Deluge 1.1.1 - (In Development)
* Disable popup notification in preferences on Windows
* Fix crashing in AddTorrentDialog when removing torrents from the list
* Do not allow duplicate torrents in the AddTorrentDialog
+ * Fix translating speed units in status tab when a per-torrent limit is set
Misc:
* Fix bdecoding some torrent files
diff --git a/deluge/ui/gtkui/status_tab.py b/deluge/ui/gtkui/status_tab.py
index 127934618..0b341bae5 100644
--- a/deluge/ui/gtkui/status_tab.py
+++ b/deluge/ui/gtkui/status_tab.py
@@ -48,7 +48,7 @@ def fpcnt(value):
def fspeed(value, max_value=-1):
if max_value > -1:
- return "%s [%s _(KiB/s)]" % (deluge.common.fspeed(value), max_value)
+ return "%s [%s %s]" % (deluge.common.fspeed(value), max_value, _("KiB/s"))
else:
return deluge.common.fspeed(value)