diff options
author | Andrew Resch <andrewresch@gmail.com> | 2009-01-17 22:02:38 +0000 |
---|---|---|
committer | Andrew Resch <andrewresch@gmail.com> | 2009-01-17 22:02:38 +0000 |
commit | adbe77647acb79d73e2536abe803308fab67e9b7 (patch) | |
tree | b1d2e972cd30c99f55c620fb0afbcb4724cbadbf | |
parent | d44a4791773a1efa70ef1970ff2cbd648eb46454 (diff) | |
download | deluge-adbe77647acb79d73e2536abe803308fab67e9b7.tar.gz deluge-adbe77647acb79d73e2536abe803308fab67e9b7.tar.bz2 deluge-adbe77647acb79d73e2536abe803308fab67e9b7.zip |
Fix translating speed units in status tab when a per-torrent limit is
set
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | deluge/ui/gtkui/status_tab.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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) |