mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Add tooltip and change webui column name.
This commit is contained in:
parent
aec3d827fc
commit
91b4c0596a
2 changed files with 2 additions and 1 deletions
|
@ -203,6 +203,7 @@ QVariant TransferListModel::headerData(const int section, const Qt::Orientation
|
||||||
switch (section)
|
switch (section)
|
||||||
{
|
{
|
||||||
case TR_POPULARITY: return tr("Ratio / Time Active (in months), indicates how popular the torrent is");
|
case TR_POPULARITY: return tr("Ratio / Time Active (in months), indicates how popular the torrent is");
|
||||||
|
case TR_PERCENT_SELECTED: return tr("Wanted / Total size, indicates percentage of selected data to download.");
|
||||||
default: return {};
|
default: return {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1145,7 +1145,7 @@ window.qBittorrent.DynamicTable ??= (() => {
|
||||||
this.newColumn("infohash_v2", "", "QBT_TR(Info Hash v2)QBT_TR[CONTEXT=TransferListModel]", 100, false);
|
this.newColumn("infohash_v2", "", "QBT_TR(Info Hash v2)QBT_TR[CONTEXT=TransferListModel]", 100, false);
|
||||||
this.newColumn("reannounce", "", "QBT_TR(Reannounce In)QBT_TR[CONTEXT=TransferListModel]", 100, false);
|
this.newColumn("reannounce", "", "QBT_TR(Reannounce In)QBT_TR[CONTEXT=TransferListModel]", 100, false);
|
||||||
this.newColumn("private", "", "QBT_TR(Private)QBT_TR[CONTEXT=TransferListModel]", 100, false);
|
this.newColumn("private", "", "QBT_TR(Private)QBT_TR[CONTEXT=TransferListModel]", 100, false);
|
||||||
this.newColumn("percent_selected", "", "QBT_TR(Percent Selected)QBT_TR[CONTEXT=TransferListModel]", 100, false);
|
this.newColumn("percent_selected", "", "QBT_TR(%)QBT_TR[CONTEXT=TransferListModel]", 100, false);
|
||||||
|
|
||||||
this.columns["state_icon"].dataProperties[0] = "state";
|
this.columns["state_icon"].dataProperties[0] = "state";
|
||||||
this.columns["name"].dataProperties.push("state");
|
this.columns["name"].dataProperties.push("state");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue