diff --git a/src/base/search/searchpluginmanager.cpp b/src/base/search/searchpluginmanager.cpp index 77520c35b..d18e9a98f 100644 --- a/src/base/search/searchpluginmanager.cpp +++ b/src/base/search/searchpluginmanager.cpp @@ -318,7 +318,7 @@ SearchHandler *SearchPluginManager::startSearch(const QString &pattern, const QS QString SearchPluginManager::categoryFullName(const QString &categoryName) { - static const QHash categoryTable { + const QHash categoryTable { {"all", tr("All categories")}, {"movies", tr("Movies")}, {"tv", tr("TV shows")}, diff --git a/src/webui/www/private/scripts/dynamicTable.js b/src/webui/www/private/scripts/dynamicTable.js index 3eca7efc4..dec5bfa8d 100644 --- a/src/webui/www/private/scripts/dynamicTable.js +++ b/src/webui/www/private/scripts/dynamicTable.js @@ -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"); } diff --git a/src/webui/www/private/views/search.html b/src/webui/www/private/views/search.html index f9f052a24..eb1bfb0ce 100644 --- a/src/webui/www/private/views/search.html +++ b/src/webui/www/private/views/search.html @@ -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; }