diff options
author | Stan Grishin <stangri@melmac.net> | 2020-12-21 11:46:40 -0600 |
---|---|---|
committer | Stan Grishin <stangri@melmac.net> | 2020-12-21 11:46:40 -0600 |
commit | f93864190d7b3713262627d9f9d7a8af1147e56d (patch) | |
tree | 7719e2d46252e7c6391b55c0b4f3a63ad2937178 /applications/luci-app-simple-adblock/luasrc/model | |
parent | c35b35a4f2edc62e56beaa17282687d651d598aa (diff) |
luci-app-simple-adblock: README URL update
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-simple-adblock/luasrc/model')
-rw-r--r-- | applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua b/applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua index ee93d73dc0..6a03147889 100644 --- a/applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua +++ b/applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua @@ -1,10 +1,8 @@ -- Copyright 2016-2018 Stan Grishin <stangri@melmac.net> -- Licensed to the public under the Apache License 2.0. -local readmeURL = "https://github.com/openwrt/packages/tree/master/net/simple-adblock/files/README.md" --- local readmeURL = "https://github.com/stangri/openwrt_packages/tree/master/simple-adblock/files/README.md" - local packageName = "simple-adblock" +local readmeURL = "https://docs.openwrt.melmac.net/" .. packageName .. "/" local uci = require "luci.model.uci".cursor() local util = require "luci.util" local sys = require "luci.sys" @@ -264,7 +262,7 @@ end s:tab("advanced", translate("Advanced Configuration")) -local dns_descr = translatef("Pick the DNS resolution option to create the adblock list for, see the <a href=\"%s#dns-resolution-option\" target=\"_blank\">README</a> for details.", readmeURL) +local dns_descr = translatef("Pick the DNS resolution option to create the adblock list for, see the %sREADME%s for details.", "<a href=\"" .. readmeURL .. "#dns-resolution-option\" target=\"_blank\">", "</a>") if not checkDnsmasq() then dns_descr = dns_descr .. "<br />" .. translatef("Please note that %s is not supported on this system.", "<i>dnsmasq.addnhosts</i>") |