mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -07:00
Improve wordings in "Auto download torrent" section
This commit is contained in:
parent
140016c068
commit
6ea89bf621
3 changed files with 7 additions and 7 deletions
|
@ -153,10 +153,10 @@ QVariant ScanFoldersModel::headerData(int section, Qt::Orientation orientation,
|
||||||
|
|
||||||
switch (section) {
|
switch (section) {
|
||||||
case WATCH:
|
case WATCH:
|
||||||
title = tr("Watched Folder");
|
title = tr("Monitored Folder");
|
||||||
break;
|
break;
|
||||||
case DOWNLOAD:
|
case DOWNLOAD:
|
||||||
title = tr("Save Files to");
|
title = tr("Override Save Location");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1248,7 +1248,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="addScanFolderButton">
|
<widget class="QPushButton" name="addScanFolderButton">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Add folder...</string>
|
<string>Add entry</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -1258,7 +1258,7 @@
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Remove folder</string>
|
<string>Remove entry</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -63,8 +63,8 @@ QWidget *ScanFoldersDelegate::createEditor(QWidget *parent, const QStyleOptionVi
|
||||||
QComboBox* editor = new QComboBox(parent);
|
QComboBox* editor = new QComboBox(parent);
|
||||||
|
|
||||||
editor->setFocusPolicy(Qt::StrongFocus);
|
editor->setFocusPolicy(Qt::StrongFocus);
|
||||||
editor->addItem(tr("Watch Folder"));
|
editor->addItem(tr("Same as monitored folder"));
|
||||||
editor->addItem(tr("Default Folder"));
|
editor->addItem(tr("Default save location"));
|
||||||
editor->addItem(tr("Browse..."));
|
editor->addItem(tr("Browse..."));
|
||||||
if (index.data(Qt::UserRole).toInt() == ScanFoldersModel::CUSTOM_LOCATION) {
|
if (index.data(Qt::UserRole).toInt() == ScanFoldersModel::CUSTOM_LOCATION) {
|
||||||
editor->insertSeparator(3);
|
editor->insertSeparator(3);
|
||||||
|
@ -99,7 +99,7 @@ void ScanFoldersDelegate::setModelData(QWidget *editor, QAbstractItemModel *mode
|
||||||
model->setData(
|
model->setData(
|
||||||
index,
|
index,
|
||||||
QFileDialog::getExistingDirectory(
|
QFileDialog::getExistingDirectory(
|
||||||
0, tr("Choose save path"),
|
0, tr("Select save location"),
|
||||||
index.data(Qt::UserRole).toInt() == ScanFoldersModel::CUSTOM_LOCATION ?
|
index.data(Qt::UserRole).toInt() == ScanFoldersModel::CUSTOM_LOCATION ?
|
||||||
index.data().toString() :
|
index.data().toString() :
|
||||||
BitTorrent::Session::instance()->defaultSavePath()),
|
BitTorrent::Session::instance()->defaultSavePath()),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue