diff --git a/applications/luci-app-adblock-fast/Makefile b/applications/luci-app-adblock-fast/Makefile index ef393b50b4..fd596281d8 100644 --- a/applications/luci-app-adblock-fast/Makefile +++ b/applications/luci-app-adblock-fast/Makefile @@ -7,7 +7,7 @@ PKG_NAME:=luci-app-adblock-fast PKG_LICENSE:=AGPL-3.0-or-later PKG_MAINTAINER:=Stan Grishin PKG_VERSION:=1.2.2 -PKG_RELEASE:=16 +PKG_RELEASE:=18 LUCI_TITLE:=AdBlock-Fast Web UI LUCI_URL:=https://github.com/mossdef-org/luci-app-adblock-fast/ 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 72cc294f78..1bc6cee6cf 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 @@ -836,5 +836,6 @@ return L.Class.extend({ getServiceInfo: getServiceInfo, getQueryLogStatus: getQueryLogStatus, setQueryLog: setQueryLog, + setRpcdToken: RPC.setRpcdToken, callLogRead: callLogRead, }); diff --git a/applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js b/applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js index af341e2ea0..fcc5768e40 100644 --- a/applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js +++ b/applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js @@ -814,17 +814,17 @@ return view.extend({ "rpcd_token", _("Remote Access Token"), _( - "Token for Google Chrome extension or other remote API access. " + + "Token for %sGoogle Chrome extension%s or other remote API access. " + "Copy this value into the extension settings as the password. " + "Changing it here will update the API user password on save.", - ), + ).format('', ""), ); o.default = ""; o.rmempty = true; o.write = function (section_id, formvalue) { var currentValue = L.uci.get(pkg.Name, section_id, "rpcd_token"); if (formvalue && formvalue !== currentValue) { - RPC.setRpcdToken(pkg.Name, formvalue); + adb.setRpcdToken(pkg.Name, formvalue); } return L.uci.set(pkg.Name, section_id, "rpcd_token", formvalue); }; 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 ff8f52b1b6..6f4797e3bb 100644 --- a/applications/luci-app-adblock-fast/po/templates/adblock-fast.pot +++ b/applications/luci-app-adblock-fast/po/templates/adblock-fast.pot @@ -817,7 +817,10 @@ msgid "Thursday" msgstr "" #: applications/luci-app-adblock-fast/htdocs/luci-static/resources/view/adblock-fast/overview.js:817 -msgid "Token for