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/ca/p910nd.po | 168 ++++++++++++++++++++++----- 1 file changed, 141 insertions(+), 27 deletions(-) (limited to 'applications/luci-app-p910nd/po/ca/p910nd.po') diff --git a/applications/luci-app-p910nd/po/ca/p910nd.po b/applications/luci-app-p910nd/po/ca/p910nd.po index 046b42f0d7..a574d19d2e 100644 --- a/applications/luci-app-p910nd/po/ca/p910nd.po +++ b/applications/luci-app-p910nd/po/ca/p910nd.po @@ -16,56 +16,170 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.5.1\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 "Mode bidireccional" -#: 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 "Dispositiu" -#: 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 "" -"Primer heu d'instal·lar els paquets de suport USB (kmod-usb-printer) o de " -"port paral·lel (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 "" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:22 -msgid "Interface" -msgstr "Interfície" +#: 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 "Paràmetres" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:22 -msgid "Specifies the interface to listen on." -msgstr "Especifica la interfície en que escoltar." +#: 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 "Port d'escolta TCP." +#: 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 "habilita" +#: 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 - Servidor d'impressió" -#~ msgid "port_help" -#~ msgstr "" -#~ "El p910nd escolta al port 910+N. Per exemple, 9100 per la primera " -#~ "impressora (la 0)." -- cgit v1.2.3