diff options
author | Stan Grishin <stangri@melmac.ca> | 2023-11-08 10:01:15 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.ca> | 2023-11-08 10:03:10 +0000 |
commit | ced38d8fc1d70b0a27dcbd2d567686248e1fbfb3 (patch) | |
tree | b6cd7ab918239ed62b39db3bbfed5e0c39b61c5b /applications/luci-app-adblock-fast/htdocs/luci-static/resources | |
parent | ac7b37ef0133ab8349c8516d5a63a57a44dddafd (diff) |
luci-app-adblock-fast: sync with adblock-fast 1.0.1-1
* improve error/warning/status messaging
* trim rpcd script code from functions shared with principal package
* depends on https://github.com/openwrt/packages/pull/22619
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'applications/luci-app-adblock-fast/htdocs/luci-static/resources')
-rw-r--r-- | applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js | 15 |
1 files changed, 10 insertions, 5 deletions
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 9b845e3ff8..703eb4ff7b 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 @@ -112,9 +112,7 @@ var status = baseclass.extend({ statusRestarting: _("Restarting"), statusForceReloading: _("Force Reloading"), statusDownloading: _("Downloading lists"), - statusError: _("Error"), - statusWarning: _("Warning"), - statusFail: _("Fail"), + statusFail: _("Failed to start"), statusSuccess: _("Active"), }; @@ -191,6 +189,10 @@ var status = baseclass.extend({ warningMissingRecommendedPackages: _( "Some recommended packages are missing" ), + warningInvalidCompressedCacheDir: _( + "Invalid compressed cache directory '%s'" + ), + warningFreeRamCheckFail: _("Can't detect free RAM"), }; var warningsTitle = E( "label", @@ -279,6 +281,9 @@ var status = baseclass.extend({ errorNothingToDo: _( "No blocked list URLs nor blocked-domains enabled" ), + errorTooLittleRam: _( + "Free ram (%s) is not enough to process all enabled block-lists" + ), }; var errorsTitle = E( "label", @@ -461,9 +466,9 @@ var status = baseclass.extend({ ); var buttonsText = E("div", {}, [ btn_start, - // btn_gap, - // btn_action_pause, btn_gap, + // btn_action_pause, + // btn_gap, btn_action_dl, btn_gap, btn_stop, |