From 7c349b1fa920b66322af636b073b47ef74d55691 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 17 Jan 2009 22:02:38 +0000 Subject: [PATCH] Fix translating speed units in status tab when a per-torrent limit is set --- deluge/ui/gtkui/status_tab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)