Skip to content

Commit

Permalink
luci-app-adblock: sync with adblock-4.2.4-1
Browse files Browse the repository at this point in the history
Signed-off-by: Dirk Brenken <dev@brenken.org>
  • Loading branch information
dibdot committed Jan 27, 2025
1 parent b9e3d79 commit 48a3514
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion applications/luci-app-adblock/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2017-2024 Dirk Brenken (dev@brenken.org)
# Copyright 2017-2025 Dirk Brenken (dev@brenken.org)
# This is free software, licensed under the Apache License, Version 2.0

include $(TOPDIR)/rules.mk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ return view.extend({
return fs.write('/etc/adblock/adblock.blacklist', value)
.then(function(rc) {
document.querySelector('textarea').value = value;
ui.addNotification(null, E('p', _('Blacklist changes have been saved. Refresh your adblock lists that changes take effect.')), 'info');
ui.addNotification(null, E('p', _('The changes to the blacklist have been saved. Reload your adblock lists for the changes to take effect.')), 'info');
}).catch(function(e) {
ui.addNotification(null, E('p', _('Unable to save changes: %s').format(e.message)));
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ return view.extend({
o.value('dnsmasq', _('dnsmasq (/tmp/dnsmasq.d)'));
o.value('unbound', _('unbound (/var/lib/unbound)'));
o.value('named', _('bind (/var/lib/bind)'));
o.value('smartdns', _('smartdns (/tmp/smartdns)'));
o.value('kresd', _('kresd (/etc/kresd)'));
o.value('raw', _('raw (/tmp)'));
o.optional = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ return view.extend({
return fs.write('/etc/adblock/adblock.whitelist', value)
.then(function(rc) {
document.querySelector('textarea').value = value;
ui.addNotification(null, E('p', _('Whitelist changes have been saved. Refresh your adblock lists that changes take effect.')), 'info');
ui.addNotification(null, E('p', _('The changes to the whitelist have been saved. Reload your adblock lists for the changes to take effect.')), 'info');
}).catch(function(e) {
ui.addNotification(null, E('p', _('Unable to save changes: %s').format(e.message)));
});
Expand Down

0 comments on commit 48a3514

Please sign in to comment.