Fix incorrect seeding time string in WebUI General tab

This commit is contained in:
thalieht 2021-03-11 16:48:51 +02:00
parent 560ecbc6c3
commit 9f30aba2b3

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