diff options
author | Stan Grishin <stangri@melmac.ca> | 2023-04-03 21:27:48 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.ca> | 2023-04-03 21:27:54 +0000 |
commit | b7be432ba79e1320661a7a92d2203358bcbde88c (patch) | |
tree | ea9096fd2db96b5be541dd10ae6599a93bf9bffd /applications/luci-app-simple-adblock/htdocs/luci-static/resources/simple-adblock/status.js | |
parent | 2145121d4cf766e8ea3340e08f8bc76ba5c513fc (diff) |
luci-app-simple-adblock: update to 1.9.5
* update to support corresponding principal package
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'applications/luci-app-simple-adblock/htdocs/luci-static/resources/simple-adblock/status.js')
-rw-r--r-- | applications/luci-app-simple-adblock/htdocs/luci-static/resources/simple-adblock/status.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/applications/luci-app-simple-adblock/htdocs/luci-static/resources/simple-adblock/status.js b/applications/luci-app-simple-adblock/htdocs/luci-static/resources/simple-adblock/status.js index 2bc49556c7..c57de633b4 100644 --- a/applications/luci-app-simple-adblock/htdocs/luci-static/resources/simple-adblock/status.js +++ b/applications/luci-app-simple-adblock/htdocs/luci-static/resources/simple-adblock/status.js @@ -170,14 +170,13 @@ var status = baseclass.extend({ var errorsDiv = []; if (reply.errors && reply.errors.length) { var errorTable = { - errorConfigValidationFail: _("Config (%s) validation failure!").format('/etc/config/' + pkg.Name), + errorConfigValidationFail: _("config (%s) validation failure!").format('/etc/config/' + pkg.Name), errorServiceDisabled: _("%s is currently disabled").format(pkg.Name), errorNoDnsmasqIpset: _("dnsmasq ipset support is enabled, but dnsmasq is either not installed or installed dnsmasq does not support ipset"), errorNoIpset: _("dnsmasq ipset support is enabled, but ipset is either not installed or installed ipset does not support '%s' type").format("hash:net"), errorNoDnsmasqNftset: _("dnsmasq nft set support is enabled, but dnsmasq is either not installed or installed dnsmasq does not support nft set"), errorNoNft: _("dnsmasq nft sets support is enabled, but nft is not installed"), - errorMkdirFail: _("Unable to create directory for '%s'"), - errorNoWanGateway: _("The %s service failed to discover WAN gateway!").format(pkg.Name), + errorNoWanGateway: _("the %s failed to discover WAN gateway").format(pkg.Name), errorOutputDirCreate: _("failed to create directory for %s file"), errorOutputFileCreate: _("failed to create '%s' file").format(outputFile), errorFailDNSReload: _("failed to restart/reload DNS resolver"), @@ -284,9 +283,9 @@ var status = baseclass.extend({ btn_stop.disabled = true; break; default: - btn_start.disabled = true; + btn_start.disabled = false; btn_action.disabled = true; - btn_stop.disabled = true; + btn_stop.disabled = false; btn_enable.disabled = true; btn_disable.disabled = true; break; |