summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-p910nd/po/zh_Hans/p910nd.po
diff options
context:
space:
mode:
authorPaul Donald <newtwen@gmail.com>2024-02-12 16:07:58 +0100
committerPaul Donald <newtwen@gmail.com>2024-03-11 16:10:46 +0100
commit7053272b559e17415966e5b8e935b2630dee688b (patch)
treed5b5f3e1bd76c954737cb3456bb571951bc6cb2f /applications/luci-app-p910nd/po/zh_Hans/p910nd.po
parent78d0c7e9033d43bf2678c4ff2f0e48bb908f333e (diff)
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 <newtwen@gmail.com>
Diffstat (limited to 'applications/luci-app-p910nd/po/zh_Hans/p910nd.po')
-rw-r--r--applications/luci-app-p910nd/po/zh_Hans/p910nd.po166
1 files changed, 142 insertions, 24 deletions
diff --git a/applications/luci-app-p910nd/po/zh_Hans/p910nd.po b/applications/luci-app-p910nd/po/zh_Hans/p910nd.po
index 97f5b8a2bb..88a095ebf9 100644
--- a/applications/luci-app-p910nd/po/zh_Hans/p910nd.po
+++ b/applications/luci-app-p910nd/po/zh_Hans/p910nd.po
@@ -17,52 +17,170 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.4-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)."
-msgstr "必须安装 USB 打印机驱动(kmod-usb-printer)或者并口驱动(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 ""
#: applications/luci-app-p910nd/root/usr/share/rpcd/acl.d/luci-app-p910nd.json:3
msgid "Grant UCI access for luci-app-p910nd"
msgstr "为 luci-app-p910nd 授予 UCI 的访问权限"
-#: 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/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/luasrc/model/cbi/p910nd.lua:40
+#: 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 - 打印服务器"
-#~ msgid "p910nd listens on port 910+N. E.g. 9100 for the first printer."
-#~ msgstr "p910nd 的监听端口是910+N,举例:9100用于监听第一台打印机"