From 7053272b559e17415966e5b8e935b2630dee688b Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Mon, 12 Feb 2024 16:07:58 +0100 Subject: luci-app-p910nd: convert to JS Simple p910nd printer management, and some level of automation that detects whether the typically necessary kmods are installed, and if not provides quick links to install those. Tested on: 22.03.6, 23.05.2 Signed-off-by: Paul Donald --- applications/luci-app-p910nd/po/da/p910nd.po | 166 +++++++++++++++++++++++---- 1 file changed, 141 insertions(+), 25 deletions(-) (limited to 'applications/luci-app-p910nd/po/da') diff --git a/applications/luci-app-p910nd/po/da/p910nd.po b/applications/luci-app-p910nd/po/da/p910nd.po index dd9e04f1bc..a752f7af35 100644 --- a/applications/luci-app-p910nd/po/da/p910nd.po +++ b/applications/luci-app-p910nd/po/da/p910nd.po @@ -14,54 +14,170 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.9.1-dev\n" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:46 +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:104 +msgid "Add printer config" +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:123 +msgid "Be aware: %s also listens on port 9100." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:140 msgid "Bidirectional mode" msgstr "Tovejstilstand" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:20 +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:167 +msgid "By the router" +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:112 +msgid "Connected %s devices show in this list." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:110 msgid "Device" msgstr "Enhed" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:10 -msgid "" -"First you have to install the packages to get support for USB (kmod-usb-" -"printer) or parallel port (kmod-lp)." +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:107 +msgid "Enabled" +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:49 +msgid "Error calling \"opkg list-installed\":" +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:38 +msgid "Error executing \"find\" command:" +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:88 +msgid "For USB connected printers" msgstr "" -"Først skal du installere pakkerne for at få understøttelse af USB (kmod-usb-" -"printer) eller parallelport (kmod-lp)." #: applications/luci-app-p910nd/root/usr/share/rpcd/acl.d/luci-app-p910nd.json:3 msgid "Grant UCI access for luci-app-p910nd" msgstr "Giv UCI-adgang til luci-app-p910nd" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:22 -msgid "Interface" -msgstr "Interface" +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:71 +msgid "It is safe to install both, even if only one is needed." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:129 +msgid "Listen IP" +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:130 +msgid "Listen on a specific IP." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:122 +msgid "Local TCP listen port for this printer." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:204 +msgid "Manufacturer" +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:151 +msgctxt "mDNS" +msgid "Note: %s only advertises one (the first) printer on this host." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:231 +msgid "Note: Set only CMD languages that your printer understands." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:152 +msgid "Note: USB hotplug attempts to provide some of the values below." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:142 +msgid "Note: USB hotplug correctly detects this." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:111 +msgid "" +"Note: character device assignment can change upon reboot/reconnect with " +"multiple USB devices." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:175 +msgid "Note: must be %s." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:70 +msgid "One of these kernel modules is needed for p910nd to find your printer." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:146 +msgid "Overrides default of %s." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:81 +msgid "Parallel port line printer device support" +msgstr "" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:40 +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:121 msgid "Port" msgstr "Port" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:14 +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:15 +msgid "Port 910n print daemon" +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:145 +msgid "Run as root" +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:166 +msgid "Serves as Location in Apple standards." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:105 msgid "Settings" msgstr "Indstillinger" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:22 -msgid "Specifies the interface to listen on." -msgstr "Specificerer interface til at lytte på." +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:227 +msgid "Some examples:" +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:158 +msgid "The %s type element." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:174 +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:203 +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:218 +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:226 +msgid "The %s value." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:159 +msgid "User readable description of maker and model." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:141 +msgid "Whether this print port is bi-directional." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:150 +msgctxt "mDNS/Bonjour/ZeroConf" +msgid "Whether to advertise this printer via %s." +msgstr "" + +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:132 +msgid "any" +msgstr "" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:40 -msgid "TCP listener port." -msgstr "TCP lytterport." +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:175 +msgid "enclosed within parentheses" +msgstr "" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:18 -msgid "enable" -msgstr "Aktiver" +#: applications/luci-app-p910nd/htdocs/luci-static/resources/view/p910nd.js:65 +msgid "map ports 9100-9109 to local printers." +msgstr "" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:9 #: applications/luci-app-p910nd/root/usr/share/luci/menu.d/luci-app-p910nd.json:3 msgid "p910nd - Printer server" msgstr "p910nd - Printerserver" -#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer." -#~ msgstr "p910nd listens on port 910+N. E.g. 9100 for the first printer." -- cgit v1.2.3