mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +00:00
Fix translating speed units in status tab when a per-torrent limit is
set
This commit is contained in:
parent
d44a479177
commit
adbe77647a
2 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ Deluge 1.1.1 - (In Development)
|
||||||
* Disable popup notification in preferences on Windows
|
* Disable popup notification in preferences on Windows
|
||||||
* Fix crashing in AddTorrentDialog when removing torrents from the list
|
* Fix crashing in AddTorrentDialog when removing torrents from the list
|
||||||
* Do not allow duplicate torrents in the AddTorrentDialog
|
* Do not allow duplicate torrents in the AddTorrentDialog
|
||||||
|
* Fix translating speed units in status tab when a per-torrent limit is set
|
||||||
|
|
||||||
Misc:
|
Misc:
|
||||||
* Fix bdecoding some torrent files
|
* Fix bdecoding some torrent files
|
||||||
|
|
|
@ -48,7 +48,7 @@ def fpcnt(value):
|
||||||
|
|
||||||
def fspeed(value, max_value=-1):
|
def fspeed(value, max_value=-1):
|
||||||
if 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:
|
else:
|
||||||
return deluge.common.fspeed(value)
|
return deluge.common.fspeed(value)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue