Browse Source

Rename "#" column to "Tier" in the tracker list

adaptive-webui-19844
thalieht 6 years ago
parent
commit
bcfa62cc76
  1. 2
      src/gui/properties/trackerlistwidget.cpp
  2. 2
      src/webui/www/private/scripts/dynamicTable.js

2
src/gui/properties/trackerlistwidget.cpp

@ -582,7 +582,7 @@ void TrackerListWidget::saveSettings() const
QStringList TrackerListWidget::headerLabels() QStringList TrackerListWidget::headerLabels()
{ {
static const QStringList header { static const QStringList header {
"#" tr("Tier")
, tr("URL") , tr("URL")
, tr("Status") , tr("Status")
, tr("Peers") , tr("Peers")

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

@ -1572,7 +1572,7 @@ var TorrentTrackersTable = new Class({
Extends: DynamicTable, Extends: DynamicTable,
initColumns: function() { initColumns: function() {
this.newColumn('tier', '', 'QBT_TR(#)QBT_TR[CONTEXT=TrackerListWidget]', 35, true); this.newColumn('tier', '', 'QBT_TR(Tier)QBT_TR[CONTEXT=TrackerListWidget]', 35, true);
this.newColumn('url', '', 'QBT_TR(URL)QBT_TR[CONTEXT=TrackerListWidget]', 250, true); this.newColumn('url', '', 'QBT_TR(URL)QBT_TR[CONTEXT=TrackerListWidget]', 250, true);
this.newColumn('status', '', 'QBT_TR(Status)QBT_TR[CONTEXT=TrackerListWidget]', 125, true); this.newColumn('status', '', 'QBT_TR(Status)QBT_TR[CONTEXT=TrackerListWidget]', 125, true);
this.newColumn('peers', '', 'QBT_TR(Peers)QBT_TR[CONTEXT=TrackerListWidget]', 75, true); this.newColumn('peers', '', 'QBT_TR(Peers)QBT_TR[CONTEXT=TrackerListWidget]', 75, true);

Loading…
Cancel
Save