diff options
Diffstat (limited to 'applications/luci-app-fwknopd')
4 files changed, 27 insertions, 25 deletions
diff --git a/applications/luci-app-fwknopd/luasrc/controller/fwknopd.lua b/applications/luci-app-fwknopd/luasrc/controller/fwknopd.lua deleted file mode 100644 index 069a77ea3..000000000 --- a/applications/luci-app-fwknopd/luasrc/controller/fwknopd.lua +++ /dev/null @@ -1,15 +0,0 @@ --- Copyright 2015 Jonathan Bennett <jbennett@incomsystems.biz> --- Licensed to the public under the GNU General Public License v2. - -module("luci.controller.fwknopd", package.seeall) - -function index() - if not nixio.fs.access("/etc/config/fwknopd") then - return - end - - local page - - page = entry({"admin", "services", "fwknopd"}, cbi("fwknopd"), _("Firewall Knock Daemon")) - page.dependent = true -end diff --git a/applications/luci-app-fwknopd/po/cs/fwknopd.po b/applications/luci-app-fwknopd/po/cs/fwknopd.po index 3d35d28ad..5dc874629 100644 --- a/applications/luci-app-fwknopd/po/cs/fwknopd.po +++ b/applications/luci-app-fwknopd/po/cs/fwknopd.po @@ -1,24 +1,28 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2015-05-12 21:03-0500\n" -"Last-Translator: Automatically generated\n" -"Language-Team: none\n" +"PO-Revision-Date: 2020-02-02 09:02+0000\n" +"Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>\n" +"Language-Team: Czech <https://hosted.weblate.org/projects/openwrt/" +"luciapplicationsfwknopd/cs/>\n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"X-Generator: Weblate 3.11-dev\n" #: applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua:48 msgid "" "Allow SPA clients to request access to services through an iptables firewall " "instead of just to it." msgstr "" +"Umožnit SPA klientů žádat o přístup ke službám skrze iptables brány firewall " +"namísto u ní." #: applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua:49 msgid "Allow SPA clients to request forwarding destination by DNS name." -msgstr "" +msgstr "Umožnit SPA klientům žádá předávání cíle podle DNS názvu." #: applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua:22 msgid "Base64 key" diff --git a/applications/luci-app-fwknopd/po/mr/fwknopd.po b/applications/luci-app-fwknopd/po/mr/fwknopd.po index e94376fa0..5712639a4 100644 --- a/applications/luci-app-fwknopd/po/mr/fwknopd.po +++ b/applications/luci-app-fwknopd/po/mr/fwknopd.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2019-12-19 19:39+0000\n" +"PO-Revision-Date: 2020-02-07 09:18+0000\n" "Last-Translator: Prachi Joshi <josprachi@yahoo.com>\n" "Language-Team: Marathi <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsfwknopd/mr/>\n" @@ -10,7 +10,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 3.10-dev\n" +"X-Generator: Weblate 3.11-dev\n" #: applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua:48 msgid "" @@ -55,7 +55,7 @@ msgstr "Uci / Luci नियंत्रण सक्षम करा" #: applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua:8 msgid "Enable config overwrite" -msgstr "" +msgstr "कॉन्फिगरेशन अधिलेखन सक्षम करा" #: applications/luci-app-fwknopd/luasrc/controller/fwknopd.lua:13 msgid "Firewall Knock Daemon" @@ -63,7 +63,7 @@ msgstr "फायरवॉल नॉक डेमन" #: applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua:4 msgid "Firewall Knock Operator" -msgstr "" +msgstr "फायरवॉल नॉक ऑपरेटर" #: applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua:39 msgid "" @@ -82,7 +82,7 @@ msgstr "" #: applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua:19 msgid "Normal Key" -msgstr "" +msgstr "सामान्य की" #: applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua:47 msgid "Specify the ethernet interface on which fwknopd will sniff packets." @@ -90,7 +90,7 @@ msgstr "" #: applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua:28 msgid "The base64 hmac key" -msgstr "" +msgstr "बेस 64 एचएमएसी की" #: applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua:17 msgid "Use ANY for any source IP" diff --git a/applications/luci-app-fwknopd/root/usr/share/luci/menu.d/luci-app-fwknopd.json b/applications/luci-app-fwknopd/root/usr/share/luci/menu.d/luci-app-fwknopd.json new file mode 100644 index 000000000..6dd26b9ac --- /dev/null +++ b/applications/luci-app-fwknopd/root/usr/share/luci/menu.d/luci-app-fwknopd.json @@ -0,0 +1,13 @@ +{ + "admin/services/fwknopd": { + "title": "Firewall Knock Daemon", + "action": { + "type": "cbi", + "path": "fwknopd", + "post": { "cbi.submit": true } + }, + "depends": { + "uci": { "fwknopd": true } + } + } +} |