From 04f270b9bca8d4722019236c440977b019f762d2 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Wed, 4 Dec 2019 12:18:44 +0800 Subject: [PATCH] Fix missing translations in search plugins dialog Closes #11551. --- src/webui/www/private/scripts/dynamicTable.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"); }