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/uk/p910nd.po | 165 +++++++++++++++++++++++---- 1 file changed, 142 insertions(+), 23 deletions(-) (limited to 'applications/luci-app-p910nd/po/uk/p910nd.po') diff --git a/applications/luci-app-p910nd/po/uk/p910nd.po b/applications/luci-app-p910nd/po/uk/p910nd.po index 4dffb63f3d..52351a8355 100644 --- a/applications/luci-app-p910nd/po/uk/p910nd.po +++ b/applications/luci-app-p910nd/po/uk/p910nd.po @@ -13,51 +13,170 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 4.15-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 "Двонаправлений режим" -#: 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 "Пристрій" -#: 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 "" -"Спочатку вам слід інсталювати пакети для підтримки USB (kmod-usb-printer) " -"або паралельного порту (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 "Надати доступ до UCI для luci-app-p910nd" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:22 -msgid "Interface" -msgstr "Інтерфейс" +#: 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/luasrc/model/cbi/p910nd.lua:40 +#: 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/htdocs/luci-static/resources/view/p910nd.js:121 msgid "Port" msgstr "Порт" -#: 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 "Налаштування" -#: applications/luci-app-p910nd/luasrc/model/cbi/p910nd.lua:22 -msgid "Specifies the interface to listen on." -msgstr "Вказати інтерфейс для прослуховування." +#: 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 для прослуховування." +#: 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 "Увімкнути" +#: 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 - сервер друку" + -- cgit v1.2.3