mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-21 08:09:35 +08:00
commit
7a657eb5d9
@ -318,7 +318,7 @@ SearchHandler *SearchPluginManager::startSearch(const QString &pattern, const QS
|
||||
|
||||
QString SearchPluginManager::categoryFullName(const QString &categoryName)
|
||||
{
|
||||
static const QHash<QString, QString> categoryTable {
|
||||
const QHash<QString, QString> categoryTable {
|
||||
{"all", tr("All categories")},
|
||||
{"movies", tr("Movies")},
|
||||
{"tv", tr("TV shows")},
|
||||
|
@ -1602,14 +1602,14 @@ window.qBittorrent.DynamicTable = (function() {
|
||||
this.columns['enabled'].updateTd = function(td, row) {
|
||||
const value = this.getRowValue(row);
|
||||
if (value) {
|
||||
td.set('text', "Yes");
|
||||
td.set('title', "Yes");
|
||||
td.set('text', 'QBT_TR(Yes)QBT_TR[CONTEXT=SearchPluginsTable]');
|
||||
td.set('title', 'QBT_TR(Yes)QBT_TR[CONTEXT=SearchPluginsTable]');
|
||||
td.getParent("tr").addClass("green");
|
||||
td.getParent("tr").removeClass("red");
|
||||
}
|
||||
else {
|
||||
td.set('text', "No");
|
||||
td.set('title', "No");
|
||||
td.set('text', 'QBT_TR(No)QBT_TR[CONTEXT=SearchPluginsTable]');
|
||||
td.set('title', 'QBT_TR(No)QBT_TR[CONTEXT=SearchPluginsTable]');
|
||||
td.getParent("tr").addClass("red");
|
||||
td.getParent("tr").removeClass("green");
|
||||
}
|
||||
|
@ -11,17 +11,14 @@
|
||||
|
||||
#categorySelect {
|
||||
width: 150px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
#pluginsSelect {
|
||||
width: 150px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
#startSearchButton {
|
||||
width: 90px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
#searchResultsNoPlugins {
|
||||
@ -49,7 +46,6 @@
|
||||
}
|
||||
|
||||
#manageSearchPlugins {
|
||||
line-height: 1.5em;
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user