luci-app-adblock: small fixes
[project/luci.git] / applications / luci-app-adblock / htdocs / luci-static / resources / view / adblock / overview.js
index 884f9dddbea33088c5d280f81b2e788b018fb8c5..2b58961f0b0d6c8e1ac56f61c84857c73c4dbe04 100644 (file)
@@ -13,7 +13,7 @@
 function handleAction(ev) {
        if (ev === 'timer') {
                L.ui.showModal(_('Refresh Timer'), [
-                       E('p', _('To keep your adblock lists up-to-date, you should setup an automatic update job for these lists.')),
+                       E('p', _('To keep your adblock lists up-to-date, you should set up an automatic update job for these lists.')),
                        E('div', { 'class': 'left', 'style': 'display:flex; flex-direction:column' }, [
                                E('h5', _('Existing job(s)')),
                                E('textarea', {
@@ -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');
@@ -353,7 +354,7 @@ return view.extend({
                o.rmempty = true;
 
                o = s.taboption('general', form.Flag, 'adb_report', _('DNS Report'), _('Gather DNS related network traffic via tcpdump and provide a DNS Report on demand. \
-                       Please note: this needs additional \'tcpdump-mini\' package installation and a full adblock service restart to take effect.'));
+                       Please note: this needs additional \'tcpdump\' or \'tcpdump-mini\' package installation and a full adblock service restart to take effect.'));
                o.rmempty = false;
 
                o = s.taboption('general', form.Flag, 'adb_mail', _('E-Mail Notification'), _('Send adblock related notification e-mails. \
@@ -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).'));