mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
Fix translating speed units in status tab when a per-torrent limit is
set
This commit is contained in:
parent
a69efdfc56
commit
7c349b1fa9
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user