summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2023-09-29 12:00:20 -0600
committerGitHub <noreply@github.com>2023-09-29 12:00:20 -0600
commit607e9bb96b801fc49a76016723f0ae42b2588a09 (patch)
tree6dcd19bbd2df6c7a2d29debc8f52be8363b58927
parentf51f52bfbb4fba77cc72548bc36908b2697c8c0a (diff)
parent4a40a7ad72777d0e8c03c1b8c7249f2cc6cfb770 (diff)
Merge pull request #6603 from stangri/master-luci-app-adblock-fast
luci-app-adblock-fast: update to 1.0.0-4
-rw-r--r--applications/luci-app-adblock-fast/Makefile2
-rw-r--r--applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js3
-rw-r--r--applications/luci-app-adblock-fast/po/templates/adblock-fast.pot30
3 files changed, 21 insertions, 14 deletions
diff --git a/applications/luci-app-adblock-fast/Makefile b/applications/luci-app-adblock-fast/Makefile
index 32fef1678e..b9aa17849b 100644
--- a/applications/luci-app-adblock-fast/Makefile
+++ b/applications/luci-app-adblock-fast/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
-PKG_VERSION:=1.0.0-3
+PKG_VERSION:=1.0.0-4
LUCI_TITLE:=AdBlock-Fast Web UI
LUCI_DESCRIPTION:=Provides Web UI for adblock-fast service.
diff --git a/applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js b/applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js
index fa1f98e3cd..ae41968944 100644
--- a/applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js
+++ b/applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js
@@ -276,6 +276,9 @@ var status = baseclass.extend({
"Failed to create output/cache/gzip file directory"
),
errorDetectingFileType: _("Failed to detect format %s"),
+ errorNothingToDo: _(
+ "No blocked list URLs nor blocked-domains enabled"
+ ),
};
var errorsTitle = E(
"label",
diff --git a/applications/luci-app-adblock-fast/po/templates/adblock-fast.pot b/applications/luci-app-adblock-fast/po/templates/adblock-fast.pot
index 93cbb0a062..630353a0be 100644
--- a/applications/luci-app-adblock-fast/po/templates/adblock-fast.pot
+++ b/applications/luci-app-adblock-fast/po/templates/adblock-fast.pot
@@ -135,7 +135,7 @@ msgid ""
"Directory for compressed cache file of block-list in the persistent memory."
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:401
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:404
#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js:239
msgid "Disable"
msgstr ""
@@ -148,7 +148,7 @@ msgstr ""
msgid "Disabled"
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:395
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:398
msgid "Disabling %s service"
msgstr ""
@@ -176,7 +176,7 @@ msgstr ""
msgid "Downloading lists"
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:382
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:385
#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js:240
#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js:394
msgid "Enable"
@@ -191,7 +191,7 @@ msgstr ""
msgid "Enables debug output to /tmp/adblock-fast.log."
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:376
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:379
msgid "Enabling %s service"
msgstr ""
@@ -199,7 +199,7 @@ msgstr ""
msgid "Error"
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:290
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:293
msgid "Errors encountered, please check the %sREADME%s!"
msgstr ""
@@ -299,7 +299,7 @@ msgstr ""
msgid "Force DNS ports:"
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:344
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:347
msgid "Force Re-Download"
msgstr ""
@@ -315,7 +315,7 @@ msgstr ""
msgid "Force Router DNS server to all local devices"
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:338
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:341
msgid "Force re-downloading %s block lists"
msgstr ""
@@ -373,6 +373,10 @@ msgstr ""
msgid "No HTTPS/SSL support on device"
msgstr ""
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:280
+msgid "No blocked list URLs nor blocked-domains enabled"
+msgstr ""
+
#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:176
msgid "Not installed or not found"
msgstr ""
@@ -407,11 +411,11 @@ msgstr ""
msgid "Restarting"
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:438
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:441
msgid "Service Control"
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:283
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:286
msgid "Service Errors"
msgstr ""
@@ -439,7 +443,7 @@ msgstr ""
msgid "Some recommended packages are missing"
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:325
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:328
msgid "Start"
msgstr ""
@@ -447,11 +451,11 @@ msgstr ""
msgid "Starting"
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:319
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:322
msgid "Starting %s service"
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:363
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:366
msgid "Stop"
msgstr ""
@@ -463,7 +467,7 @@ msgstr ""
msgid "Stopped"
msgstr ""
-#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:357
+#: applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js:360
msgid "Stopping %s service"
msgstr ""