Fix incorrect seeding time string in WebUI General tab

This commit is contained in:
thalieht 2021-03-11 16:48:51 +02:00 committed by sledgehammer999
commit d19b524d2d
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -98,7 +98,7 @@ window.qBittorrent.PropGeneral = (function() {
let temp;
// Update Torrent data
if (data.seeding_time > 0)
temp = "QBT_TR(%1 (%2 this session))QBT_TR[CONTEXT=PropertiesWidget]"
temp = "QBT_TR(%1 (seeded for %2))QBT_TR[CONTEXT=PropertiesWidget]"
.replace("%1", window.qBittorrent.Misc.friendlyDuration(data.time_elapsed))
.replace("%2", window.qBittorrent.Misc.friendlyDuration(data.seeding_time));
else