summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-nut/po/zh_Hans/nut.po
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-nut/po/zh_Hans/nut.po')
-rw-r--r--applications/luci-app-nut/po/zh_Hans/nut.po406
1 files changed, 196 insertions, 210 deletions
diff --git a/applications/luci-app-nut/po/zh_Hans/nut.po b/applications/luci-app-nut/po/zh_Hans/nut.po
index 5a22f7f91d..7c7423c7c8 100644
--- a/applications/luci-app-nut/po/zh_Hans/nut.po
+++ b/applications/luci-app-nut/po/zh_Hans/nut.po
@@ -16,142 +16,140 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 5.3-dev\n"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:216
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:16
+msgid "%s is mutually exclusive to other choices"
+msgstr ""
+
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:244
msgid "Additional Shutdown Time(s)"
msgstr "额外关机时间(秒)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:37
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:64
msgid "Addresses on which to listen"
msgstr "要监听的地址"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:23
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:49
msgid "Allowed actions"
msgstr "允许的动作"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_cgi.lua:20
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:196
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:225
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js:21
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:156
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:185
msgid "As configured by NUT"
msgstr "由 NUT 配置"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:150
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:59
+msgid "Auxiliary"
+msgstr "从设备"
+
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:180
msgid "Bytes to read from interrupt pipe"
msgstr "从中断管道读取的字节数"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:182
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:142
msgid "CA Certificate path"
msgstr "CA 证书路径"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:73
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:101
msgid "Certificate file (SSL)"
msgstr "证书文件(SSL)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:63
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:93
msgid "Communications lost message"
msgstr "通讯丢失消息"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:60
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:90
msgid "Communications restored message"
msgstr "通讯恢复消息"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_cgi.lua:35
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js:36
msgid "Control UPS via CGI"
msgstr "通过 CGI 控制 UPS"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:43
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:73
msgid "Deadtime"
msgstr "无反应时间"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:87
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:116
msgid "Default for UPSes without this field."
msgstr "没有此字段的 UPS 的默认值。"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:177
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:207
msgid "Delay for kill power command"
msgstr "断电后执行命令的延时"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:181
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:216
msgid "Delay to power on UPS if power returns after kill power"
msgstr "如果断电后电源恢复,则延迟开启 UPS"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:129
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:157
msgid "Description (Display)"
msgstr "说明(显示)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_cgi.lua:32
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js:33
msgid "Display name"
msgstr "显示名称"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:169
-msgid "Don't lock port when starting driver"
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:199
+msgid "Do not lock port when starting driver"
msgstr "启动驱动程序时不要锁定端口"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:132
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:160
msgid "Driver"
msgstr "驱动"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:114
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:144
msgid "Driver Configuration"
msgstr "驱动程序配置"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:77
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:106
msgid "Driver Global Settings"
msgstr "驱动程序全局设置"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:83
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:112
msgid "Driver Path"
msgstr "驱动程序路径"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:212
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:240
msgid "Driver Shutdown Order"
msgstr "驱动程序关闭顺序"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:106
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:244
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:135
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:272
msgid "Driver waits for data to be consumed by upsd before publishing more."
msgstr "在发布更多内容之前,驱动程序会等待 upsd 处理完数据。"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:59
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:87
msgid "Drop privileges to this user"
msgstr "降低权限至此用户"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_cgi.lua:40
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js:41
msgid "Enable"
msgstr "启用"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:138
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:168
msgid ""
"Enables a hotplug script that makes all ttyUSB devices (e.g. serial USB) "
-"group read-write as user 'nut'"
+"group read-write as user %s"
msgstr "启用热插拔脚本,使所有 ttyUSB 设备(例如串行 USB)组读写为用户“nut”"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:93
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:102
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:110
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:118
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:126
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:134
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:142
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:150
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:158
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:166
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:174
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:9
msgid "Execute notify command"
msgstr "执行 notify 命令"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:26
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:52
msgid "Forced Shutdown"
msgstr "强制关机"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:57
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:87
msgid "Forced shutdown message"
msgstr "强制关机消息"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:10
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:40
msgid "Global Settings"
msgstr "全局设置"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_cgi.lua:13
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js:15
msgid "Go to NUT CGI"
msgstr "前往 NUT CGI"
@@ -159,116 +157,118 @@ msgstr "前往 NUT CGI"
msgid "Grant UCI access for luci-app-nut"
msgstr "授予UCI访问luci-app-nut的权限"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_cgi.lua:16
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js:17
msgid "Host"
msgstr "主机"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_cgi.lua:23
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js:24
msgid "Hostname or IP address"
msgstr "主机名或 IP 地址"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:199
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:228
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:159
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:188
msgid "Hostname or address of UPS"
msgstr "UPS 的主机名或地址"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:39
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:69
msgid "Hot Sync"
msgstr "热同步"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:41
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:68
msgid "IP Address"
msgstr "IP 地址"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:95
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:104
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:112
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:120
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:128
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:136
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:144
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:152
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:160
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:168
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:176
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:161
+msgid "If this list is empty you need to %s"
+msgstr ""
+
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:11
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:16
msgid "Ignore"
msgstr "忽略"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:142
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:172
msgid "Ignore Low Battery"
msgstr "忽略低电量"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:29
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:55
msgid "Instant commands"
msgstr "即时命令"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:146
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:176
msgid "Interrupt Only"
msgstr "仅中断"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:150
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:180
msgid "Interrupt Size"
msgstr "中断大小"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:54
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:84
msgid "Low battery message"
msgstr "电池电量低"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:163
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:193
msgid "Manufacturer (Display)"
msgstr "制造商(展示)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:34
-msgid "Master"
-msgstr "主设备"
-
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:154
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:184
msgid "Max USB HID Length Reported"
msgstr "报告的最大 USB HID 长度"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:54
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:82
msgid "Maximum Age of Data"
msgstr "最大数据年龄"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:91
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:120
msgid "Maximum Retries"
msgstr "最大重试次数"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:87
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:158
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:116
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:188
msgid "Maximum Start Delay"
msgstr "最大启动延迟"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:67
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:95
msgid "Maximum connections"
msgstr "最大连接数"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:91
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:120
msgid "Maximum number of times to try starting a driver."
msgstr "尝试启动驱动程序的最大次数。"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:101
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:130
msgid "Maximum time in seconds between refresh of UPS status"
msgstr "刷新 UPS 状态之间的最长时间(秒)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:17
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:47
msgid "Minimum required number or power supplies"
msgstr "所需的最低数量或电源"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:166
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:196
msgid "Model (Display)"
msgstr "型号(显示)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_cgi.lua:9
-msgid "NUT CGI Access"
-msgstr "NUT CGI 访问"
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js:13
+#: applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json:42
+msgid "NUT CGI"
+msgstr "网络 UPS 工具(CGI)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:12
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:37
+#: applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json:30
+msgid "NUT Monitor"
+msgstr "网络 UPS 工具(监控)"
+
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:34
+#: applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json:18
+msgid "NUT Server"
+msgstr "网络 UPS 工具(服务器)"
+
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:38
msgid "NUT Users"
msgstr "NUT 用户"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:196
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:225
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:156
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:185
msgid "Name of UPS"
msgstr "UPS 的名称"
@@ -276,342 +276,328 @@ msgstr "UPS 的名称"
msgid "Network UPS Tools"
msgstr "网络 UPS 工具"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_cgi.lua:6
-#: applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json:44
-msgid "Network UPS Tools (CGI)"
-msgstr "网络 UPS 工具(CGI)"
-
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:7
-#: applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json:31
-msgid "Network UPS Tools (Monitor)"
-msgstr "网络 UPS 工具(监控)"
-
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:9
-#: applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json:18
-msgid "Network UPS Tools (Server)"
-msgstr "网络 UPS 工具(服务器)"
-
-#: applications/luci-app-nut/luasrc/model/cbi/nut_cgi.lua:7
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js:14
msgid "Network UPS Tools CGI Configuration"
msgstr "网络 UPS 工具 CGI 配置"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:8
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:38
msgid "Network UPS Tools Monitoring Configuration"
msgstr "网络 UPS 工具监控配置"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:10
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:35
msgid "Network UPS Tools Server Configuration"
msgstr "网络 UPS 工具服务器配置"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:169
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:199
msgid "No Lock"
msgstr "没有锁"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:72
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:102
msgid "No communications message"
msgstr "没有通讯信息"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:173
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:203
msgid "No low/high voltage transfer OIDs"
msgstr "没有低压/高压传输 OID"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:75
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:105
msgid "No parent message"
msgstr "没有父信息"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:90
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:108
msgid "Notification defaults"
msgstr "通知默认值"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:26
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:56
msgid "Notify command"
msgstr "通知命令"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:99
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:111
msgid "Notify when back online"
msgstr "重新联机时通知"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:155
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:132
msgid "Notify when battery needs replacing"
msgstr "电池需要更换时通知"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:139
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:126
msgid "Notify when communications lost"
msgstr "通信丢失时通知"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:131
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:123
msgid "Notify when communications restored"
msgstr "通信恢复时通知"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:123
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:120
msgid "Notify when force shutdown"
msgstr "强行关闭时通知"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:115
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:117
msgid "Notify when low battery"
msgstr "低电量时通知"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:163
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:135
msgid "Notify when no communications"
msgstr "无通信时进行通知"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:171
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:138
msgid "Notify when no parent process"
msgstr "无主进程时进行通知"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:107
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:114
msgid "Notify when on battery"
msgstr "使用电池时通知"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:147
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:129
msgid "Notify when shutting down"
msgstr "关机时通知"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:177
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:207
msgid "Off Delay(s)"
msgstr "关闭延迟(秒)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:181
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:216
msgid "On Delay(s)"
msgstr "开启延迟(秒)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:51
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:81
msgid "On battery message"
msgstr "开启电池消息"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:48
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:78
msgid "Online message"
msgstr "在线消息"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:216
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:245
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:19
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:176
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:205
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:45
msgid "Password"
msgstr "密码"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:182
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:142
msgid "Path containing ca certificates to match against host certificate"
msgstr "匹配主机证书的 ca 证书路径"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:83
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:112
msgid "Path to drivers (instead of default)"
msgstr "驱动程序的路径(而不是默认)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:63
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:91
msgid "Path to state file"
msgstr "状态文件的路径"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:54
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:82
msgid "Period after which data is considered stale"
msgstr "数据过期时间"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:101
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:130
msgid "Poll Interval"
msgstr "轮询间隔"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:29
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:59
msgid "Poll frequency"
msgstr "轮询频率"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:34
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:64
msgid "Poll frequency alert"
msgstr "轮询频率警报"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:197
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:225
msgid "Polling Frequency(s)"
msgstr "轮询频率(秒)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_cgi.lua:27
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:203
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:232
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:46
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:202
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js:28
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:163
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:192
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:73
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:230
msgid "Port"
msgstr "端口"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:208
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:237
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:168
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:197
msgid "Power value"
msgstr "功率值"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:206
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:60
+msgid "Primary"
+msgstr "主设备"
+
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:234
msgid "Product (regex)"
msgstr "产品(正则表达式)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:69
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:99
msgid "Replace battery message"
msgstr "替换电池消息"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:186
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:146
msgid "Require SSL and make sure server CN matches hostname"
msgstr "需要 SSL 并确保服务器 CN 与主机名匹配"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:96
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:125
msgid "Retry Delay"
msgstr "重试延迟"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:32
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:58
msgid "Role"
msgstr "角色"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:80
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:109
msgid "Run drivers in a chroot(2) environment"
msgstr "在 chroot(2) 环境中运行驱动程序"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:14
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:59
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:110
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:44
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:87
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:139
msgid "RunAs User"
msgstr "RunAs 用户"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:125
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:153
msgid "SNMP Community"
msgstr "SNMP 社区"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:222
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:250
msgid "SNMP retries"
msgstr "SNMP 重试"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:226
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:254
msgid "SNMP timeout(s)"
msgstr "SNMP 超时"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:230
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:258
msgid "SNMP version"
msgstr "SNMP 版本"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:232
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:260
msgid "SNMPv1"
msgstr "SNMPv1(网络协议)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:233
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:261
msgid "SNMPv2c"
msgstr "SNMPv2c(网络协议)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:234
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:262
msgid "SNMPv3"
msgstr "SNMPv3(网络协议)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:219
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:247
msgid "Serial Number"
msgstr "序列号"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:138
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:167
msgid "Set USB serial port permissions"
msgstr "设置 USB 串口权限"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:25
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:51
msgid "Set variables"
msgstr "设置变量"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:22
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:52
msgid "Shutdown command"
msgstr "关机命令"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:66
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:96
msgid "Shutdown message"
msgstr "关机消息"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:33
-msgid "Slave"
-msgstr "从设备"
-
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:106
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:244
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:135
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:272
msgid "Synchronous Communication"
msgstr "同步通信"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:115
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:145
msgid "The name of this section will be used as UPS name elsewhere"
msgstr "此部分的名称将在其他地方用作 UPS 名称"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:96
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:125
msgid "Time in seconds between driver start retry attempts."
msgstr "驱动程序重试之间的间隔(秒)。"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:158
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:188
msgid "Time in seconds that upsdrvctl will wait for driver to finish starting"
msgstr "upsdrvctl 等待驱动程序完成启动的时间(秒)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:191
-msgid "UPS Master"
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:180
+msgid "UPS Auxiliary"
+msgstr "UPS 从设备"
+
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:151
+msgid "UPS Primary"
msgstr "UPS 主设备"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:51
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:79
msgid "UPS Server Global Settings"
msgstr "UPS 服务器全局设置"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:220
-msgid "UPS Slave"
-msgstr "UPS 从设备"
-
-#: applications/luci-app-nut/luasrc/model/cbi/nut_cgi.lua:20
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js:21
msgid "UPS name"
msgstr "UPS 名称"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:121
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:149
msgid "USB Bus(es) (regex)"
msgstr "USB 总线(正则表达式)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:209
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:237
msgid "USB Product Id"
msgstr "USB 产品 ID"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:241
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:269
msgid "USB Vendor Id"
msgstr "USB 供应商 ID"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:29
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:26
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:13
+msgid "Unable to run ldd: %s"
+msgstr ""
+
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:55
msgid ""
-"Use upscmd -l to see full list which the commands your UPS supports "
-"(requires upscmd package)"
-msgstr "使用 upscmd -l 查看 UPS 支持的命令的完整列表(需要 upscmd包)"
+"Use %s to see full list of commands your UPS supports (requires %s package)"
+msgstr "使用 %s 查看 UPS 支持的命令的完整列表(需要 %s包)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:110
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:139
msgid ""
"User as which to execute driver; requires device file accessed by driver to "
"be read-write for that user."
msgstr "执行驱动程序的用户;要求驱动程序访问的设备文件对该用户是可读写的。"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:213
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:242
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:16
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:173
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:202
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:42
msgid "Username"
msgstr "用户名"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:238
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:266
msgid "Vendor (regex)"
msgstr "供应商(正则表达式)"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:186
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:146
msgid "Verify all connection with SSL"
msgstr "验证所有 SSL 连接"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:154
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:184
msgid "Workaround for buggy firmware"
msgstr "有缺陷的固件的解决方法"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:94
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:103
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:111
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:119
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:127
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:135
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:143
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:151
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:159
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:167
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:175
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:10
msgid "Write to syslog"
msgstr "写入 syslog"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_server.lua:80
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:109
msgid "chroot"
msgstr "chroot"
-#: applications/luci-app-nut/luasrc/model/cbi/nut_monitor.lua:14
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js:161
+msgid "install drivers"
+msgstr ""
+
+#: applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js:44
msgid "upsmon drops privileges to this user"
msgstr "upsmon 删除此用户的权限"
+#~ msgid "NUT CGI Access"
+#~ msgstr "NUT CGI 访问"
+
#~ msgid "Maxium Start Delay"
#~ msgstr "最大启动延迟"