diff options
Diffstat (limited to 'applications/luci-app-samba4')
3 files changed, 18 insertions, 17 deletions
diff --git a/applications/luci-app-samba4/luasrc/controller/samba4.lua b/applications/luci-app-samba4/luasrc/controller/samba4.lua deleted file mode 100644 index 03c53556b6..0000000000 --- a/applications/luci-app-samba4/luasrc/controller/samba4.lua +++ /dev/null @@ -1,11 +0,0 @@ --- Licensed to the public under the Apache License 2.0. - -module("luci.controller.samba4", package.seeall) - -function index() - if not nixio.fs.access("/etc/config/samba4") then - return - end - - entry({"admin", "services", "samba4"}, view("samba4"), _("Network Shares")).dependent = true -end diff --git a/applications/luci-app-samba4/po/de/samba4.po b/applications/luci-app-samba4/po/de/samba4.po index a4e79db16f..f88331c21c 100644 --- a/applications/luci-app-samba4/po/de/samba4.po +++ b/applications/luci-app-samba4/po/de/samba4.po @@ -3,8 +3,8 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-05-26 17:57+0200\n" -"PO-Revision-Date: 2019-11-25 13:55+0000\n" -"Last-Translator: ssantos <ssantos@web.de>\n" +"PO-Revision-Date: 2020-02-05 06:51+0000\n" +"Last-Translator: Tobias Wack <tobias@2bios.de>\n" "Language-Team: German <https://hosted.weblate.org/projects/openwrt/" "luciapplicationssamba4/de/>\n" "Language: de\n" @@ -12,7 +12,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-samba4/htdocs/luci-static/resources/view/samba4.js:97 msgid "Allow guests" @@ -24,7 +24,7 @@ msgstr "Legitimierte Benutzer" #: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:128 msgid "Apple Time-machine share" -msgstr "" +msgstr "Apple Time-Machine Freigabe" #: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:81 msgid "Browse-able" @@ -66,7 +66,7 @@ msgstr "" #: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:44 msgid "Enable macOS compatible shares" -msgstr "" +msgstr "aktiviere macOS kompatible Freigaben" #: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:45 msgid "" @@ -80,7 +80,7 @@ msgstr "Root erzwingen" #: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:41 msgid "Force synchronous I/O" -msgstr "" +msgstr "synchrone I/O erzwingen" #: applications/luci-app-samba4/htdocs/luci-static/resources/view/samba4.js:29 msgid "General Settings" diff --git a/applications/luci-app-samba4/root/usr/share/luci/menu.d/luci-app-samba4.json b/applications/luci-app-samba4/root/usr/share/luci/menu.d/luci-app-samba4.json new file mode 100644 index 0000000000..74be4ed11d --- /dev/null +++ b/applications/luci-app-samba4/root/usr/share/luci/menu.d/luci-app-samba4.json @@ -0,0 +1,12 @@ +{ + "admin/services/samba4": { + "title": "Network Shares", + "action": { + "type": "view", + "path": "samba4" + }, + "depends": { + "uci": { "samba4": true } + } + } +} |