luci-app-simple-adblock: bugfix: remove escaped double-quotes from translateable resources
Signed-off-by: Stan Grishin <stangri@melmac.net>
This commit is contained in:
parent
9d596c5a77
commit
9a8489107a
4 changed files with 4 additions and 5 deletions
|
@ -10,7 +10,7 @@ LUCI_TITLE:=Simple Adblock Web UI
|
||||||
LUCI_DESCRIPTION:=Provides Web UI for simple-adblock service.
|
LUCI_DESCRIPTION:=Provides Web UI for simple-adblock service.
|
||||||
LUCI_DEPENDS:=+luci-compat +luci-mod-admin-full +simple-adblock
|
LUCI_DEPENDS:=+luci-compat +luci-mod-admin-full +simple-adblock
|
||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
PKG_RELEASE:=45
|
PKG_RELEASE:=46
|
||||||
|
|
||||||
include ../../luci.mk
|
include ../../luci.mk
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
module("luci.controller.simple-adblock", package.seeall)
|
module("luci.controller.simple-adblock", package.seeall)
|
||||||
function index()
|
function index()
|
||||||
if nixio.fs.access("/etc/config/simple-adblock") then
|
if nixio.fs.access("/etc/config/simple-adblock") then
|
||||||
entry({"admin", "services", "simple-adblock"}, cbi("simple-adblock"), _("Simple AdBlock"))
|
entry({"admin", "services", "simple-adblock"}, cbi("simple-adblock"), _("Simple AdBlock")).acl_depends = { "luci-app-simple-adblock" }
|
||||||
entry({"admin", "services", "simple-adblock", "action"}, call("simple_adblock_action"), nil).leaf = true
|
entry({"admin", "services", "simple-adblock", "action"}, call("simple_adblock_action"), nil).leaf = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -191,7 +191,7 @@ if fs.access(sysfs_path) then
|
||||||
end
|
end
|
||||||
if #leds ~= 0 then
|
if #leds ~= 0 then
|
||||||
o4 = s:taboption("basic", Value, "led", translate("LED to indicate status"),
|
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.rmempty = false
|
||||||
o4:value("", translate("none"))
|
o4:value("", translate("none"))
|
||||||
for k, v in ipairs(leds) do
|
for k, v in ipairs(leds) do
|
||||||
|
|
|
@ -223,8 +223,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:194
|
#: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:194
|
||||||
msgid ""
|
msgid "Pick the LED not already used in %sSystem LED Configuration%s."
|
||||||
"Pick the LED not already used in <a href=\"%s\">System LED Configuration</a>."
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:207
|
#: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:207
|
||||||
|
|
Loading…
Reference in a new issue