summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2020-05-02 16:00:39 +0000
committerStan Grishin <stangri@melmac.net>2020-05-02 16:00:39 +0000
commit8e8fc673650318112526e463c9bd9b8d47623782 (patch)
tree11149345dfc720c72b35a045fbab87712b9cbfab /applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua
parentfee9cc828f9ffdb8eb69d404bd9a84e81fb67888 (diff)
luci-app-simple-adblock: bugfix: remove escaped double-quotes from translateable resources
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua')
-rw-r--r--applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua2
1 files changed, 1 insertions, 1 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 1095d5edc2..a7c7edcd1c 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
@@ -191,7 +191,7 @@ if fs.access(sysfs_path) then
end
if #leds ~= 0 then
o4 = s:taboption("basic", Value, "led", translate("LED to indicate status"),
- translatef("Pick the LED not already used in <a href=\"%s\">System LED Configuration</a>.", dispatcher.build_url("admin", "system", "leds")))
+ translatef("Pick the LED not already used in %sSystem LED Configuration%s.", "<a href=\"" .. dispatcher.build_url("admin", "system", "leds") .. "\">", "</a>"))
o4.rmempty = false
o4:value("", translate("none"))
for k, v in ipairs(leds) do