Browse Source

Fix incorrect seeding time string in WebUI General tab

adaptive-webui-19844
thalieht 4 years ago
parent
commit
9f30aba2b3
  1. 2
      src/webui/www/private/scripts/prop-general.js

2
src/webui/www/private/scripts/prop-general.js

@ -98,7 +98,7 @@ window.qBittorrent.PropGeneral = (function() { @@ -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

Loading…
Cancel
Save