Browse Source

Rename content tab "Size" column to "Total Size"

Closes #7348.
PR #16526.
adaptive-webui-19844
Aleksandr Cupacenko 3 years ago committed by GitHub
parent
commit
d2aad3a3ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/gui/torrentcontentmodel.cpp
  2. 2
      src/webui/www/private/scripts/dynamicTable.js

2
src/gui/torrentcontentmodel.cpp

@ -191,7 +191,7 @@ namespace @@ -191,7 +191,7 @@ namespace
TorrentContentModel::TorrentContentModel(QObject *parent)
: QAbstractItemModel(parent)
, m_rootItem(new TorrentContentModelFolder(QVector<QString>({ tr("Name"), tr("Size"), tr("Progress"), tr("Download Priority"), tr("Remaining"), tr("Availability") })))
, m_rootItem(new TorrentContentModelFolder(QVector<QString>({ tr("Name"), tr("Total Size"), tr("Progress"), tr("Download Priority"), tr("Remaining"), tr("Availability") })))
{
#if defined(Q_OS_WIN)
m_fileIconProvider = new WinShellFileIconProvider();

2
src/webui/www/private/scripts/dynamicTable.js

@ -1812,7 +1812,7 @@ window.qBittorrent.DynamicTable = (function() { @@ -1812,7 +1812,7 @@ window.qBittorrent.DynamicTable = (function() {
initColumns: function() {
this.newColumn('checked', '', '', 50, true);
this.newColumn('name', '', 'QBT_TR(Name)QBT_TR[CONTEXT=TrackerListWidget]', 300, true);
this.newColumn('size', '', 'QBT_TR(Size)QBT_TR[CONTEXT=TrackerListWidget]', 75, true);
this.newColumn('size', '', 'QBT_TR(Total Size)QBT_TR[CONTEXT=TrackerListWidget]', 75, true);
this.newColumn('progress', '', 'QBT_TR(Progress)QBT_TR[CONTEXT=TrackerListWidget]', 100, true);
this.newColumn('priority', '', 'QBT_TR(Download Priority)QBT_TR[CONTEXT=TrackerListWidget]', 150, true);
this.newColumn('remaining', '', 'QBT_TR(Remaining)QBT_TR[CONTEXT=TrackerListWidget]', 75, true);

Loading…
Cancel
Save