diff options
Diffstat (limited to 'applications/luci-app-p910nd')
3 files changed, 23 insertions, 23 deletions
diff --git a/applications/luci-app-p910nd/luasrc/controller/p910nd.lua b/applications/luci-app-p910nd/luasrc/controller/p910nd.lua deleted file mode 100644 index df47e9fd92..0000000000 --- a/applications/luci-app-p910nd/luasrc/controller/p910nd.lua +++ /dev/null @@ -1,15 +0,0 @@ --- Copyright 2008 Yanira <forum-2008@email.de> --- Licensed to the public under the Apache License 2.0. - -module("luci.controller.p910nd", package.seeall) - -function index() - if not nixio.fs.access("/etc/config/p910nd") then - return - end - - local page - - page = entry({"admin", "services", "p910nd"}, cbi("p910nd"), _("p910nd - Printer server"), 60) - page.dependent = true -end diff --git a/applications/luci-app-p910nd/po/cs/p910nd.po b/applications/luci-app-p910nd/po/cs/p910nd.po index 985566ea83..4c7956ff1b 100644 --- a/applications/luci-app-p910nd/po/cs/p910nd.po +++ b/applications/luci-app-p910nd/po/cs/p910nd.po @@ -1,15 +1,16 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2014-06-20 23:28+0200\n" -"Last-Translator: koli <lukas.koluch@gmail.com>\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/" +"luciapplicationsp910nd/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: Pootle 2.0.6\n" +"X-Generator: Weblate 3.11-dev\n" #: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:47 msgid "Bidirectional mode" @@ -24,7 +25,7 @@ msgid "" "First you have to install the packages to get support for USB (kmod-usb-" "printer) or parallel port (kmod-lp)." msgstr "" -"Nejprve je nutno nainstalovat balíčky přinášející podporu USB (kmod-usb-" +"Nejprve je třeba nainstalovat balíčky přinášející podporu USB (kmod-usb-" "printer) či paralelního portu (kmod-lp)." #: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:22 @@ -41,11 +42,11 @@ msgstr "Nastavení" #: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:22 msgid "Specifies the interface to listen on." -msgstr "Specifikuje rozhraní pro naslouchání." +msgstr "Určuje rozhraní, na kterém očekávat spojení." #: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:41 msgid "TCP listener port." -msgstr "Naslouchající TCP port" +msgstr "TCP port, na kterém očekávat spojení." #: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:18 msgid "enable" @@ -54,7 +55,7 @@ msgstr "Povolit" #: applications/luci-app-p910nd/luasrc/controller/p910nd.lua:13 #: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:9 msgid "p910nd - Printer server" -msgstr "p910nd - tiskový server" +msgstr "p910nd – tiskový server" #~ msgid "port_help" #~ msgstr "Nápověda pro výběr portu" diff --git a/applications/luci-app-p910nd/root/usr/share/luci/menu.d/luci-app-p910nd.json b/applications/luci-app-p910nd/root/usr/share/luci/menu.d/luci-app-p910nd.json new file mode 100644 index 0000000000..33fcda6e49 --- /dev/null +++ b/applications/luci-app-p910nd/root/usr/share/luci/menu.d/luci-app-p910nd.json @@ -0,0 +1,14 @@ +{ + "admin/services/p910nd": { + "title": "p910nd - Printer server", + "order": 60, + "action": { + "type": "cbi", + "path": "p910nd", + "post": { "cbi.submit": true } + }, + "depends": { + "uci": { "p910nd": true } + } + } +} |