Translated using Weblate (Chinese (Simplified))
[project/luci.git] / applications / luci-app-advanced-reboot / po / zh_Hans / advanced-reboot.po
index aec7360ea99c12868bf60d4637037ba99d64c860..b66b847113e611bf15829aec35986910b3bad991 100644 (file)
@@ -5,8 +5,8 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: \n"
-"PO-Revision-Date: 2020-04-22 15:42+0000\n"
-"Last-Translator: SunSpring <yearnsun@gmail.com>\n"
+"PO-Revision-Date: 2021-03-14 05:16+0000\n"
+"Last-Translator: Eric <spice2wolf@gmail.com>\n"
 "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
 "openwrt/luciapplicationsadvanced-reboot/zh_Hans/>\n"
 "Language: zh_Hans\n"
@@ -14,131 +14,105 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Weblate 4.0.2-dev\n"
+"X-Generator: Weblate 4.5.2-dev\n"
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
 msgid "Advanced Reboot"
 msgstr "高级重启"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Alternative"
-msgstr "备用"
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135
 msgid "Cancel"
 msgstr "取消"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "更改已应用。"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
 msgid "Compressed"
 msgstr "压缩"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
 msgid "Confirm"
 msgstr "确认"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60
-msgid "Current"
-msgstr "当前"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105
+msgid "Device unreachable! Still waiting for device..."
+msgstr "设备无法访问。仍在等待设备……"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197
 msgid "ERROR:"
 msgstr "错误:"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
 msgid "Firmware"
 msgstr "固件"
 
 #: applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json:3
 msgid "Grant UCI and file access for luci-app-advanced-reboot"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "加载中"
+msgstr "为 luci-app-advanced-reboot 授予 UCI 和文件的访问权限"
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121
 msgid "No access to fw_printenv or fw_printenv!"
 msgstr "无法访问 fw_printenv 或 fw_printenv!"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203
 msgid "Partition"
 msgstr "分区"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199
 msgid "Partitions"
 msgstr "分区"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225
 msgid "Perform power off..."
 msgstr "执行关机…"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45
 msgid "Power Off Device"
 msgstr "设备关机"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139
 msgid "Proceed"
 msgstr "继续"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
 msgid "Reboot"
 msgstr "重启"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124
 msgid "Reboot Device to an Alternative Partition"
 msgstr "将设备重启至备用分区"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156
 msgid "Reboot to alternative partition..."
 msgstr "重启到备用分区…"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153
 msgid "Reboot to current partition"
 msgstr "重启到当前分区"
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "Rebooting..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103
+msgid "Rebooting"
 msgstr "正在重启…"
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37
 msgid "Shutting down..."
 msgstr "正在关机…"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
 msgid "Status"
 msgstr "状态"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "系统"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94
+msgid "The reboot command failed with code %d"
+msgstr "reboot 命令失败,代码 %d"
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-msgid ""
-"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a "
-"few minutes before you try to reconnect. It might be necessary to renew the "
-"address of your computer to reach the device again, depending on your "
-"settings."
-msgstr ""
-"系统正在重启。<br />切勿关闭电源! DO NOT POWER OFF THE DEVICE!<br />等待数分"
-"钟后即可尝试重新连接到路由。您可能需要更改计算机的 IP 地址以重新连接。"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
 msgid ""
 "The system is rebooting to an alternative partition now.<br /> DO NOT POWER "
 "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It "
@@ -149,7 +123,7 @@ msgstr ""
 "<br />等待数分钟后即可尝试重新连接到路由。您可能需要更改计算机的 IP 地址以重"
 "新连接。"
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
 msgid ""
 "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It "
 "might be necessary to renew the address of your computer to reach the device "
@@ -158,40 +132,31 @@ msgstr ""
 "系统现在正在关机。<br />切勿关闭电源! DO NOT POWER OFF THE DEVICE!<br />等待"
 "数分钟后即可尝试重新连接到路由。您可能需要更改计算机的 IP 地址以重新连接。"
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr "找不到设备板名称。"
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
 msgid "Unable to find Dual Boot Flag Partition."
 msgstr "无法找到双引导标志分区。"
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
 msgid "Unable to obtain firmware environment variable: %s."
 msgstr "无法获取固件环境变量: %s."
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
 msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
 msgstr "无法为分区设置双启动标志分区项: %s."
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
 msgid "Unable to set firmware environment variable: %s to %s."
 msgstr "无法设置固件环境变量: %s to %s."
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162
 msgid "Unknown"
 msgstr "未知"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
 msgid ""
 "WARNING: An alternative partition might have its own settings and completely "
 "different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -207,7 +172,7 @@ msgstr ""
 "问您的设备。<br /><br />请注意,备用分区固件可能无法提供切换活动分区和引导回"
 "当前活动分区的简便方法。<br /><br />点击下方“继续”,使设备重启至备用分区。"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
 msgid ""
 "WARNING: Power off might result in a reboot on a device which doesn't "
 "support power off.<br /><br /> Click \"Proceed\" below to power off your "
@@ -216,33 +181,61 @@ msgstr ""
 "警告:对于不支持关机的设备,关机可能会导致重新启动。<br /><br />点击下方“继"
 "续”,使设备关机。"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "正在等待应用更改…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+msgid "Waiting for device..."
+msgstr "正在等待设备…"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215
 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
 msgstr "警告:设备(%s)未知或不是双分区设备!"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192
 msgid "Warning: There are unsaved changes that will get lost on reboot!"
 msgstr "警告:未保存的更改会在重启时丢失!"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228
 msgid "Warning: This system does not support powering off!"
 msgstr "警告:此系统不支持关闭电源!"
 
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
 msgid "Warning: Unable to obtain device information!"
 msgstr "警告:无法获取设备信息!"
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "正在尝试挂载备用分区 (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "备用"
+
+#~ msgid "Changes applied."
+#~ msgstr "更改已应用。"
+
+#~ msgid "Current"
+#~ msgstr "当前"
+
+#~ msgid "Loading"
+#~ msgstr "加载中"
+
+#~ msgid "Rebooting..."
+#~ msgstr "正在重启…"
+
+#~ msgid "System"
+#~ msgstr "系统"
+
+#~ msgid ""
+#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> "
+#~ "Wait a few minutes before you try to reconnect. It might be necessary to "
+#~ "renew the address of your computer to reach the device again, depending "
+#~ "on your settings."
+#~ msgstr ""
+#~ "系统正在重启。<br />切勿关闭电源! DO NOT POWER OFF THE DEVICE!<br />等待"
+#~ "数分钟后即可尝试重新连接到路由。您可能需要更改计算机的 IP 地址以重新连接。"
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "正在等待应用更改…"
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "正在尝试挂载备用分区 (mtd%s)"
 
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "正在尝试卸载备用分区 (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "正在尝试卸载备用分区 (mtd%s)"
 
 #~ msgid "Unable to obtain firmware environment variable"
 #~ msgstr "无法获取固件环境变量"