diff options
Diffstat (limited to 'applications/luci-app-nextdns')
4 files changed, 57 insertions, 35 deletions
diff --git a/applications/luci-app-nextdns/luasrc/controller/nextdns.lua b/applications/luci-app-nextdns/luasrc/controller/nextdns.lua deleted file mode 100644 index bfa4887b03..0000000000 --- a/applications/luci-app-nextdns/luasrc/controller/nextdns.lua +++ /dev/null @@ -1,14 +0,0 @@ --- Copyright 2019 Olivier Poitrey (rs@nextdns.io) --- This is free software, licensed under the Apache License, Version 2.0 - -module("luci.controller.nextdns", package.seeall) - -function index() - if not nixio.fs.access("/etc/config/nextdns") then - return - end - - entry({"admin", "services", "nextdns"}, firstchild(), _("NextDNS"), 60).dependent = false - entry({"admin", "services", "nextdns", "overview"}, view("nextdns/overview"), _("Overview"), 10).leaf = true - entry({"admin", "services", "nextdns", "log"}, view("nextdns/logread"), _("Logs"), 30).leaf = true -end diff --git a/applications/luci-app-nextdns/po/cs/nextdns.po b/applications/luci-app-nextdns/po/cs/nextdns.po index bfd2c741a4..8582943f89 100644 --- a/applications/luci-app-nextdns/po/cs/nextdns.po +++ b/applications/luci-app-nextdns/po/cs/nextdns.po @@ -1,14 +1,14 @@ msgid "" msgstr "" -"PO-Revision-Date: 2019-12-05 17:08+0000\n" -"Last-Translator: Jiri Tersel <jiri.tersel@seznam.cz>\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/" "luciapplicationsnextdns/cs/>\n" "Language: cs\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.10-dev\n" +"X-Generator: Weblate 3.11-dev\n" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:35 msgid "" @@ -25,7 +25,7 @@ msgstr "" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:17 msgid "Enabled" -msgstr "Povoleno" +msgstr "Zapnuto" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:28 msgid "Expose LAN clients information in NextDNS analytics." diff --git a/applications/luci-app-nextdns/po/mr/nextdns.po b/applications/luci-app-nextdns/po/mr/nextdns.po index ab7088753a..028bfe084f 100644 --- a/applications/luci-app-nextdns/po/mr/nextdns.po +++ b/applications/luci-app-nextdns/po/mr/nextdns.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"PO-Revision-Date: 2020-01-10 12:24+0000\n" +"PO-Revision-Date: 2020-02-07 09:19+0000\n" "Last-Translator: Prachi Joshi <josprachi@yahoo.com>\n" "Language-Team: Marathi <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsnextdns/mr/>\n" @@ -8,20 +8,21 @@ 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.1\n" +"X-Generator: Weblate 3.11-dev\n" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:35 msgid "" "Available locations are: Switzerland, Iceland, Finland, Panama and Hong Kong." msgstr "" +"उपलब्ध स्थाने अशी आहेतः स्वित्झर्लंड, आइसलँड, फिनलँड, पनामा आणि हाँगकाँग." #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:22 msgid "Configuration ID" -msgstr "" +msgstr "कॉन्फिगरेशन आयडी" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:18 msgid "Enable NextDNS." -msgstr "" +msgstr "नेक्स्ट डीएनएस सक्षम करा." #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:17 msgid "Enabled" @@ -29,69 +30,74 @@ msgstr "सक्षम केले" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:28 msgid "Expose LAN clients information in NextDNS analytics." -msgstr "" +msgstr "नेक्स्ट डीएनएस अनॅलिटीक्स मध्ये क्लायंट ची माहिती उघड करा." #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:11 msgid "" "For further information, go to <a href=\"https://nextdns.io\" target=\"_blank" "\">nextdns.io</a>." msgstr "" +"अधिक माहितीसाठी <a href=\"https://nextdns.io\" target=\"_blank\"" +">nextdns.io</a>वर जा." #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:14 msgid "General" -msgstr "" +msgstr "सामान्य" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:25 msgid "Go to nextdns.io to create a configuration." -msgstr "" +msgstr "कॉन्फिगरेशन तयार करण्यासाठी nextdns.io वर जा." #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:32 msgid "Hardened Privacy" -msgstr "" +msgstr "कठोर गोपनीयता" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:38 msgid "Log Queries" -msgstr "" +msgstr "क्वेरी लॉग करा" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:39 msgid "Log individual queries to system log." -msgstr "" +msgstr "सिस्टम लॉगवर वैयक्तिक क्वेरी लॉग करा." #: applications/luci-app-nextdns/luasrc/controller/nextdns.lua:13 msgid "Logs" -msgstr "" +msgstr "नोंदी" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:8 #: applications/luci-app-nextdns/luasrc/controller/nextdns.lua:11 msgid "NextDNS" -msgstr "" +msgstr "नेक्स्ट डीएनएस" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:9 msgid "NextDNS Configuration." -msgstr "" +msgstr "नेक्स्टडीएनएस कॉन्फिगरेशन." #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/logread.js:13 msgid "No nextdns related logs yet!" -msgstr "" +msgstr "अद्याप नेक्स्ट डीएनएस संबंधित लॉग नाहीत!" #: applications/luci-app-nextdns/luasrc/controller/nextdns.lua:12 msgid "Overview" -msgstr "" +msgstr "आढावा" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:27 msgid "Report Client Info" -msgstr "" +msgstr "ग्राहकांची माहिती नोंदवा" #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:23 msgid "The ID of your NextDNS configuration." -msgstr "" +msgstr "आपल्या नेक्स्ट डीएनएस कॉन्फिगरेशनचा आयडी." #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/logread.js:22 msgid "The syslog output, pre-filtered for nextdns related messages only." msgstr "" +"सिस्लॉग आउटपुट, केवळ नेक्स्ट डीएनएस संबंधित संदेशांसाठी पूर्व-फिल्टर केलेले." #: applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js:33 msgid "" "When enabled, use DNS servers located in jurisdictions with strong privacy " "laws." msgstr "" +"सक्षम केलेले असताना, मजबूत गोपनीयता कायद्यांसह कार्यक्षेत्रात असलेले डीएनएस " +"सर्व्हर वापरा." diff --git a/applications/luci-app-nextdns/root/usr/share/luci/menu.d/luci-app-nextdns.json b/applications/luci-app-nextdns/root/usr/share/luci/menu.d/luci-app-nextdns.json new file mode 100644 index 0000000000..18255ced9c --- /dev/null +++ b/applications/luci-app-nextdns/root/usr/share/luci/menu.d/luci-app-nextdns.json @@ -0,0 +1,30 @@ +{ + "admin/services/nextdns": { + "title": "NextDNS", + "order": 60, + "action": { + "type": "firstchild" + }, + "depends": { + "uci": { "nextdns": true } + } + }, + + "admin/services/nextdns/overview": { + "title": "Overview", + "order": 1, + "action": { + "type": "view", + "path": "nextdns/overview" + } + }, + + "admin/services/nextdns/log": { + "title": "Configuration", + "order": 2, + "action": { + "type": "view", + "path": "nextdns/logread" + } + } +} |