diff options
Diffstat (limited to 'applications/luci-app-simple-adblock')
4 files changed, 15 insertions, 16 deletions
diff --git a/applications/luci-app-simple-adblock/Makefile b/applications/luci-app-simple-adblock/Makefile index b7d1a79fbc..a46abb821e 100644 --- a/applications/luci-app-simple-adblock/Makefile +++ b/applications/luci-app-simple-adblock/Makefile @@ -10,7 +10,7 @@ LUCI_TITLE:=Simple Adblock Web UI LUCI_DESCRIPTION:=Provides Web UI for simple-adblock service. LUCI_DEPENDS:=+luci-mod-admin-full +simple-adblock LUCI_PKGARCH:=all -PKG_RELEASE:=37 +PKG_RELEASE:=38 include ../../luci.mk diff --git a/applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua b/applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua index 98f69ac968..acfea5bf38 100644 --- a/applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua +++ b/applications/luci-app-simple-adblock/luasrc/controller/simple-adblock.lua @@ -1,7 +1,6 @@ module("luci.controller.simple-adblock", package.seeall) function index() - if not nixio.fs.access("/etc/config/simple-adblock") then - return + if nixio.fs.access("/etc/config/simple-adblock") then + entry({"admin", "services", "simple-adblock"}, cbi("simple-adblock"), _("Simple AdBlock")) end - entry({"admin", "services", "simple-adblock"}, cbi("simple-adblock"), _("Simple AdBlock")) end 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 f4153355d6..9f392a20c7 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 @@ -187,15 +187,15 @@ local dns_descr = translate("Pick the DNS resolution option to create the adbloc .. translate("README") .. [[</a>]] .. " " .. translate("for details.") if not checkDnsmasq then - dns_descr = dns_descr .. "</br>" .. translate("Please note that") .. " <i>dnsmasq.addnhosts</i> " .. translate("is not supported on this system.") - dns_descr = dns_descr .. "</br>" .. translate("Please note that") .. " <i>dnsmasq.conf</i> " .. translate("is not supported on this system.") - dns_descr = dns_descr .. "</br>" .. translate("Please note that") .. " <i>dnsmasq.ipset</i> " .. translate("is not supported on this system.") - dns_descr = dns_descr .. "</br>" .. translate("Please note that") .. " <i>dnsmasq.servers</i> " .. translate("is not supported on this system.") + dns_descr = dns_descr .. "<br />" .. translate("Please note that") .. " <i>dnsmasq.addnhosts</i> " .. translate("is not supported on this system.") + dns_descr = dns_descr .. "<br />" .. translate("Please note that") .. " <i>dnsmasq.conf</i> " .. translate("is not supported on this system.") + dns_descr = dns_descr .. "<br />" .. translate("Please note that") .. " <i>dnsmasq.ipset</i> " .. translate("is not supported on this system.") + dns_descr = dns_descr .. "<br />" .. translate("Please note that") .. " <i>dnsmasq.servers</i> " .. translate("is not supported on this system.") elseif not checkDnsmasqIpset then - dns_descr = dns_descr .. "</br>" .. translate("Please note that") .. " <i>dnsmasq.ipset</i> " .. translate("is not supported on this system.") + dns_descr = dns_descr .. "<br />" .. translate("Please note that") .. " <i>dnsmasq.ipset</i> " .. translate("is not supported on this system.") end if not checkUnbound then - dns_descr = dns_descr .. "</br>" .. translate("Please note that") .. " <i>unbound.adb_list</i> " .. translate("is not supported on this system.") + dns_descr = dns_descr .. "<br />" .. translate("Please note that") .. " <i>unbound.adb_list</i> " .. translate("is not supported on this system.") end dns = s:taboption("advanced", ListValue, "dns", translate("DNS Service"), dns_descr) diff --git a/applications/luci-app-simple-adblock/po/es/simple-adblock.po b/applications/luci-app-simple-adblock/po/es/simple-adblock.po index 3a24b398f8..526c0a066a 100644 --- a/applications/luci-app-simple-adblock/po/es/simple-adblock.po +++ b/applications/luci-app-simple-adblock/po/es/simple-adblock.po @@ -3,11 +3,11 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2019-09-17 22:46-0300\n" +"PO-Revision-Date: 2019-10-09 12:31-0300\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 2.2.3\n" +"X-Generator: Poedit 2.2.4\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Language: es\n" @@ -78,7 +78,7 @@ msgstr "Config de DNSMASQ" #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:206 msgid "DNSMASQ IP Set" -msgstr "" +msgstr "DNSMASQ IP Set" #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:208 msgid "DNSMASQ Servers File" @@ -203,7 +203,7 @@ msgstr "Elige el LED que no se haya usado en" #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:195 #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:198 msgid "Please note that" -msgstr "" +msgstr "Tenga en cuenta que" #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:187 msgid "README" @@ -241,7 +241,7 @@ msgstr "Simple AdBlock" #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:51 msgid "Simple AdBlock Settings" -msgstr "ConfiguraciĆ³n de Simple AdBlock " +msgstr "ConfiguraciĆ³n de Simple AdBlock" #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:234 msgid "Simultaneous processing" @@ -328,7 +328,7 @@ msgstr "para detalles." #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:195 #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:198 msgid "is not supported on this system." -msgstr "" +msgstr "no es compatible con este sistema." #: applications/luci-app-simple-adblock/luasrc/model/cbi/simple-adblock.lua:177 msgid "none" |