luci-app-adblock: small fixes
authorDirk Brenken <dev@brenken.org>
Tue, 10 May 2022 16:07:49 +0000 (18:07 +0200)
committerDirk Brenken <dev@brenken.org>
Tue, 10 May 2022 16:07:49 +0000 (18:07 +0200)
* fix #5677
* fix 'flush cache' wording

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 2ab828f5bf4e80f5d1cc16712df6e04b58b6eaaa)
Signed-off-by: Dirk Brenken <dev@brenken.org>
applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js

index 884f9dddbea33088c5d280f81b2e788b018fb8c5..060e7eaa3581d417106eb8f784fa084b3cf1af6b 100644 (file)
@@ -343,6 +343,7 @@ return view.extend({
                o.depends('adb_safesearch', '1');
                o.value('google');
                o.value('bing');
+               o.value('duckduckgo');
                o.value('yandex');
                o.value('youtube');
                o.value('pixabay');
@@ -457,7 +458,7 @@ return view.extend({
                o.placeholder = 'example.com';
                o.rmempty = true;
 
-               o = s.taboption('adv_dns', form.Flag, 'adb_dnsflush', _('Flush DNS Cache'), _('Flush the DNS Cache before adblock processing as well.'));
+               o = s.taboption('adv_dns', form.Flag, 'adb_dnsflush', _('Flush DNS Cache'), _('Empty the DNS cache before adblock processing starts to reduce the memory consumption.'));
                o.rmempty = true;
 
                o = s.taboption('adv_dns', form.Flag, 'adb_dnsallow', _('Disable DNS Allow'), _('Disable selective DNS whitelisting (RPZ-PASSTHRU).'));