summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-travelmate
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-travelmate')
-rw-r--r--applications/luci-app-travelmate/luasrc/controller/travelmate.lua6
-rw-r--r--applications/luci-app-travelmate/po/de/travelmate.po6
2 files changed, 8 insertions, 4 deletions
diff --git a/applications/luci-app-travelmate/luasrc/controller/travelmate.lua b/applications/luci-app-travelmate/luasrc/controller/travelmate.lua
index b201abf14d..fda9db16b2 100644
--- a/applications/luci-app-travelmate/luasrc/controller/travelmate.lua
+++ b/applications/luci-app-travelmate/luasrc/controller/travelmate.lua
@@ -14,7 +14,11 @@ function index()
if not nixio.fs.access("/etc/config/travelmate") then
return
end
- entry({"admin", "services", "travelmate"}, firstchild(), _("Travelmate"), 40).dependent = false
+
+ local e = entry({"admin", "services", "travelmate"}, firstchild(), _("Travelmate"), 40)
+ e.dependent = false
+ e.acl_depends = { "luci-app-travelmate" }
+
entry({"admin", "services", "travelmate", "tab_from_cbi"}, cbi("travelmate/overview_tab", {hideresetbtn=true, hidesavebtn=true}), _("Overview"), 10).leaf = true
entry({"admin", "services", "travelmate", "stations"}, template("travelmate/stations"), _("Wireless Stations"), 20).leaf = true
entry({"admin", "services", "travelmate", "log"}, template("travelmate/logread"), _("View Logfile"), 30).leaf = true
diff --git a/applications/luci-app-travelmate/po/de/travelmate.po b/applications/luci-app-travelmate/po/de/travelmate.po
index d2bb6819c7..e9725dfbb8 100644
--- a/applications/luci-app-travelmate/po/de/travelmate.po
+++ b/applications/luci-app-travelmate/po/de/travelmate.po
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-04-16 11:11+0000\n"
+"PO-Revision-Date: 2020-04-20 07:11+0000\n"
"Last-Translator: ce4 <chregger@gmail.com>\n"
"Language-Team: German <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationstravelmate/de/>\n"
@@ -8,7 +8,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 4.0.1-dev\n"
+"X-Generator: Weblate 4.0.2-dev\n"
#: applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm:206
msgid "AP on"
@@ -387,7 +387,7 @@ msgstr ""
#: applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm:15
#: applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm:149
msgid "Restart"
-msgstr "Neustarten"
+msgstr "Neustart"
#: applications/luci-app-travelmate/luasrc/view/travelmate/runtime.htm:147
msgid "Restart Travelmate"