luci-app-advanced-reboot: bump version

This commit is contained in:
LEAN-ESX 2019-10-26 07:27:30 -07:00
parent 8ba02086e6
commit 0b735ea529
12 changed files with 928 additions and 101 deletions

View File

@ -1,4 +1,4 @@
# Copyright (c) 2017 Stan Grishin (stangri@melmac.net)
# Copyright 2017-2018 Stan Grishin (stangri@melmac.net)
# This is free software, licensed under the GNU General Public License v3.
include $(TOPDIR)/rules.mk
@ -8,12 +8,12 @@ PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
LUCI_TITLE:=Advanced Linksys Reboot Web UI
LUCI_DESCRIPTION:=Provides Web UI (found under System/Advanced Reboot) to reboot supported Linksys and ZyXEL routers to\
an altnerative partition. Also provides Web UI to shut down (power off) your device. Supported dual-partition\
routers are listed at https://github.com/stangri/openwrt-luci/blob/luci-app-advanced-reboot/applications/luci-app-advanced-reboot/README.md
an alternative partition. Also provides Web UI to shut down (power off) your device. Supported dual-partition\
routers are listed at https://github.com/openwrt/luci/blob/master/applications/luci-app-advanced-reboot/README.md
LUCI_DEPENDS:=+luci
LUCI_DEPENDS:=+luci-mod-admin-full
LUCI_PKGARCH:=all
PKG_RELEASE:=27
PKG_RELEASE:=42
include ../../luci.mk

View File

@ -1,37 +1,50 @@
# Advanced Reboot Web UI (luci-app-advanced-reboot)
## Description
This package allows you to reboot to an alternative partition on the supported (dual-partition) routers and to power off (power down) your OpenWrt/LEDE Project device.
This package allows you to reboot to an alternative partition on the supported (dual-partition) routers and to power off (power down) your OpenWrt device.
## Supported Devices
Currently supported dual-partition devices include:
- Linksys EA3500
- Linksys E4200v2
- Linksys EA4500
- Linksys EA6350v3
- Linksys EA8300
- Linksys EA8500
- Linksys WRT1200AC
- Linksys WRT1900AC
- Linksys WRT1900ACv2
- Linksys WRT1900ACS
- Linksys WRT3200ACM
- Linksys WRT32X
- ZyXEL NBG6817
If you're interested in having your device supported, please post in [LEDE Project Forum Support Thread](https://forum.lede-project.org/t/web-ui-to-reboot-to-another-partition-dual-partition-routers/3423).
If you're interested in having your device supported, please post in [OpenWrt Forum Support Thread](https://forum.openwrt.org/t/web-ui-to-reboot-to-another-partition-dual-partition-routers/3423).
## Screenshot (luci-app-advanced-reboot)
![screenshot](https://raw.githubusercontent.com/stangri/openwrt_packages/master/screenshots/luci-app-advanced-reboot/screenshot01.png "screenshot")
## How to install
Install ```luci-app-advanced-reboot``` from Web UI or connect to your router via ssh and run the following commands:
```sh
opkg update
opkg install luci-app-advanced-reboot
```
If the ```luci-app-advanced-reboot``` package is not found in the official feed/repo for your version of OpenWrt/LEDE Project, you will need to [add a custom repo to your router](https://github.com/stangri/openwrt_packages/blob/master/README.md#on-your-router) first.
## Notes/Known Issues
- When you reboot to a different partition, your current settings (WiFi SSID/password, etc.) will not apply to a different partition. Different partitions might have completely different settings and even firmware.
- If you reboot to a partition which doesn't allow you to switch boot partitions (like stock vendor firmware), you might not be able to boot back to OpenWrt/LEDE Project unless you reflash it, losing all the settings.
- If you reboot to a partition which doesn't allow you to switch boot partitions (like stock vendor firmware), you might not be able to boot back to OpenWrt unless you reflash it, losing all the settings.
- Some devices allow you to trigger reboot to an alternative partition by interrupting boot 3 times in a row (by resetting/switching off the device or pulling power). As these methods might be different for different devices, do your own homework.
## Thanks
I'd like to thank everyone who helped create, test and troubleshoot this package. Without contributions from [@hnyman](https://github.com/hnyman), [@jpstyves](https://github.com/jpstyves) and [@slh](https://github.com/pkgadd) it wouldn't have been possible.
I'd like to thank everyone who helped create, test and troubleshoot this package. Without help from [@hnyman](https://github.com/hnyman), [@jpstyves](https://github.com/jpstyves), [@imi2003](https://github.com/imi2003), [@jeffsf](https://github.com/jeffsf) and many contributions from [@slh](https://github.com/pkgadd) it wouldn't have been possible.

View File

@ -1,27 +1,30 @@
-- Copyright 2017 Stan Grishin <stangri@melmac.net>
-- Copyright 2017-2018 Stan Grishin <stangri@melmac.net>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.advanced_reboot", package.seeall)
-- device_name, board_name, part1, part2, offset, env_var_1, value_1_1, value_1_2, env_var_2, value_2_1, value_2_2
devices = {
-- deviceName, boardName, partition1, partition2, offset, envVar1, envVar1Value1, envVar1Value2, envVar2, envVar2Value1, envVar2Value2
{"Linksys EA3500", "linksys-audi", "mtd3", "mtd5", 32, "boot_part", 1, 2, "bootcmd", "run nandboot", "run altnandboot"},
{"Linksys E4200v2/EA4500", "linksys-viper", "mtd3", "mtd5", 32, "boot_part", 1, 2, "bootcmd", "run nandboot", "run altnandboot"},
{"Linksys EA6350v3", "linksys-ea6350v3", "mtd10", "mtd12", 192, "boot_part", 1, 2},
{"Linksys EA8300", "linksys-ea8300", "mtd10", "mtd12", 192, "boot_part", 1, 2},
{"Linksys EA8500", "ea8500", "mtd13", "mtd15", 32, "boot_part", 1, 2},
-- {"Linksys EA9500", "linksys,panamera", "mtd3", "mtd6", 28, "boot_part", 1, 2},
-- {"Linksys EA9500", "linksys-panamera", "mtd3", "mtd6", 28, "boot_part", 1, 2},
{"Linksys WRT1200AC", "linksys-caiman", "mtd4", "mtd6", 32, "boot_part", 1, 2, "bootcmd", "run nandboot", "run altnandboot"},
{"Linksys WRT1900AC", "linksys-mamba", "mtd4", "mtd6", 32, "boot_part", 1, 2, "bootcmd", "run nandboot", "run altnandboot"},
{"Linksys WRT1900ACv2", "linksys-cobra", "mtd4", "mtd6", 32, "boot_part", 1, 2, "bootcmd", "run nandboot", "run altnandboot"},
{"Linksys WRT1900ACS", "linksys-shelby", "mtd4", "mtd6", 32, "boot_part", 1, 2, "bootcmd", "run nandboot", "run altnandboot"},
{"Linksys WRT3200ACM", "linksys-rango", "mtd5", "mtd7", 32, "boot_part", 1, 2, "bootcmd", "run nandboot", "run altnandboot"},
{"ZyXEL NBG6817","nbg6817","mmcblk0p4","mmcblk0p7",32,nil,255,1}
{"Linksys WRT32X", "linksys-venom", "mtd5", "mtd7", nil, "boot_part", 1, 2, "bootcmd", "run nandboot", "run altnandboot"},
{"ZyXEL NBG6817","nbg6817","mmcblk0p4","mmcblk0p7", 32, nil, 255, 1}
}
errorMessage = ""
device_board_name = luci.util.trim(luci.sys.exec("cat /tmp/sysinfo/board_name"))
errorMessage = nil
rom_board_name = luci.util.trim(luci.sys.exec("cat /tmp/sysinfo/board_name"))
for i=1, #devices do
table_board_name = devices[i][2]:gsub('%p','')
if device_board_name and device_board_name:gsub('%p',''):match(table_board_name) then
device_board_name = devices[i][2]:gsub('%p','')
if rom_board_name and rom_board_name:gsub('%p',''):match(device_board_name) then
device_name = devices[i][1]
partition_one_mtd = devices[i][3] or nil
partition_two_mtd = devices[i][4] or nil
@ -33,23 +36,27 @@ for i=1, #devices do
boot_envvar2_partition_one = devices[i][10] or nil
boot_envvar2_partition_two = devices[i][11] or nil
if partition_one_mtd and partition_skip then
partition_one_label = luci.util.trim(luci.sys.exec("dd if=/dev/" .. partition_one_mtd .. " bs=1 skip=" .. partition_skip .. " count=25" .. " 2>/dev/null"))
partition_one_label = luci.util.trim(luci.sys.exec("dd if=/dev/" .. partition_one_mtd .. " bs=1 skip=" .. partition_skip .. " count=128" .. " 2>/dev/null"))
n, partition_one_version = string.match(partition_one_label, '(Linux)-([%d|.]+)')
end
if partition_two_mtd and partition_skip then
partition_two_label = luci.util.trim(luci.sys.exec("dd if=/dev/" .. partition_two_mtd .. " bs=1 skip=" .. partition_skip .. " count=25" .. " 2>/dev/null"))
partition_two_label = luci.util.trim(luci.sys.exec("dd if=/dev/" .. partition_two_mtd .. " bs=1 skip=" .. partition_skip .. " count=128" .. " 2>/dev/null"))
n, partition_two_version = string.match(partition_two_label, '(Linux)-([%d|.]+)')
end
if string.find(partition_one_label, "LEDE") then partition_one_os = "LEDE" end
if string.find(partition_one_label, "OpenWrt") then partition_one_os = "OpenWrt" end
if string.find(partition_one_label, "Linksys") then partition_one_os = "Linksys" end
if string.find(partition_two_label, "LEDE") then partition_two_os = "LEDE" end
if string.find(partition_two_label, "OpenWrt") then partition_two_os = "OpenWrt" end
if string.find(partition_two_label, "Linksys") then partition_two_os = "Linksys" end
if partition_one_label and string.find(partition_one_label, "LEDE") then partition_one_os = "LEDE" end
if partition_one_label and string.find(partition_one_label, "OpenWrt") then partition_one_os = "OpenWrt" end
if partition_one_label and string.find(partition_one_label, "Linksys") then partition_one_os = "Linksys" end
if partition_two_label and string.find(partition_two_label, "LEDE") then partition_two_os = "LEDE" end
if partition_two_label and string.find(partition_two_label, "OpenWrt") then partition_two_os = "OpenWrt" end
if partition_two_label and string.find(partition_two_label, "Linksys") then partition_two_os = "Linksys" end
if device_name and device_name == "ZyXEL NBG6817" then
if not partition_one_os then partition_one_os = "ZyXEL" end
if not partition_two_os then partition_two_os = "ZyXEL" end
end
if device_name and device_name == "Linksys WRT32X" then
if not partition_one_os then partition_one_os = "Unknown/Compressed" end
if not partition_two_os then partition_two_os = "Unknown/Compressed" end
end
if not partition_one_os then partition_one_os = "Unknown" end
if not partition_two_os then partition_two_os = "Unknown" end
if partition_one_os and partition_one_version then partition_one_os = partition_one_os .. " (Linux " .. partition_one_version .. ")" end
@ -58,7 +65,7 @@ for i=1, #devices do
if device_name and device_name == "ZyXEL NBG6817" then
if not zyxelFlagPartition then zyxelFlagPartition = luci.util.trim(luci.sys.exec("source /lib/functions.sh; find_mtd_part 0:DUAL_FLAG")) end
if not zyxelFlagPartition then
errorMessage = errorMessage .. luci.i18n.translate("Unable to find Dual Boot Flag Partition." .. " ")
errorMessage = errorMessage or "" .. luci.i18n.translate("Unable to find Dual Boot Flag Partition." .. " ")
luci.util.perror(luci.i18n.translate("Unable to find Dual Boot Flag Partition."))
else
current_partition = tonumber(luci.sys.exec("dd if=" .. zyxelFlagPartition .. " bs=1 count=1 2>/dev/null | hexdump -n 1 -e '1/1 \"%d\"'"))
@ -75,17 +82,17 @@ end
function index()
entry({"admin", "system", "advanced_reboot"}, template("advanced_reboot/advanced_reboot"), _("Advanced Reboot"), 90)
entry({"admin", "system", "advanced_reboot", "reboot"}, post("action_reboot"))
-- if device_name then entry({"admin", "system", "advanced_reboot", "altreboot"}, post("action_altreboot")) end
entry({"admin", "system", "advanced_reboot", "alternative_reboot"}, post("action_altreboot"))
entry({"admin", "system", "advanced_reboot", "power_off"}, post("action_poweroff"))
end
function action_reboot()
local uci = require "luci.model.uci".cursor()
local ip = uci:get("network", "lan", "ipaddr")
luci.template.render("admin_system/applyreboot", {
title = luci.i18n.translate("Rebooting..."),
msg = luci.i18n.translate("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."),
addr = luci.ip.new(uci:get("network", "lan", "ipaddr")) or "192.168.1.1"
addr = luci.ip.new(type(ip) == "string" and ip or "192.168.1.1") or "192.168.1.1"
})
luci.sys.reboot()
end
@ -93,18 +100,10 @@ end
function action_altreboot()
local uci = require "luci.model.uci".cursor()
local zyxelFlagPartition, zyxelBootFlag, zyxelNewBootFlag, errorCode, curEnvSetting, newEnvSetting
errorMessage = ""
errorMessage = nil
errorCode = 0
if luci.http.formvalue("cancel") then
luci.http.redirect(luci.dispatcher.build_url('admin/system/advanced_reboot'))
-- luci.template.render("advanced_reboot/advanced_reboot",{
-- device_name=device_name,
-- boot_envvar1_partition_one=boot_envvar1_partition_one,
-- partition_one_os=partition_one_os,
-- boot_envvar1_partition_two=boot_envvar1_partition_two,
-- partition_two_os=partition_two_os,
-- current_partition=current_partition,
-- errorMessage = luci.i18n.translate("Alternative reboot cancelled.")})
return
end
local step = tonumber(luci.http.formvalue("step") or 1)
@ -125,7 +124,7 @@ function action_altreboot()
newEnvSetting = curEnvSetting == boot_envvar1_partition_one and boot_envvar1_partition_two or boot_envvar1_partition_one
errorCode = luci.sys.call("/usr/sbin/fw_setenv " .. boot_envvar1 .. " " .. newEnvSetting)
if errorCode ~= 0 then
errorMessage = errorMessage .. luci.i18n.translate("Unable to set firmware environment variable") .. ": " .. boot_envvar1 .. " " .. luci.i18n.translate("to") .. " " .. newEnvSetting .. ". "
errorMessage = errorMessage or "" .. luci.i18n.translate("Unable to set firmware environment variable") .. ": " .. boot_envvar1 .. " " .. luci.i18n.translate("to") .. " " .. newEnvSetting .. ". "
luci.util.perror(luci.i18n.translate("Unable to set firmware environment variable") .. ": " .. boot_envvar1 .. " " .. luci.i18n.translate("to") .. " " .. newEnvSetting .. ".")
end
end
@ -133,13 +132,13 @@ function action_altreboot()
if boot_envvar2 then
curEnvSetting = luci.util.trim(luci.sys.exec("/usr/sbin/fw_printenv -n " .. boot_envvar2))
if not curEnvSetting then
errorMessage = errorMessage .. luci.i18n.translate("Unable to obtain firmware environment variable") .. ": " .. boot_envvar2 .. ". "
errorMessage = errorMessage or "" .. luci.i18n.translate("Unable to obtain firmware environment variable") .. ": " .. boot_envvar2 .. ". "
luci.util.perror(luci.i18n.translate("Unable to obtain firmware environment variable") .. ": " .. boot_envvar2 .. ".")
else
newEnvSetting = curEnvSetting == boot_envvar2_partition_one and boot_envvar2_partition_two or boot_envvar2_partition_one
errorCode = luci.sys.call("/usr/sbin/fw_setenv " .. boot_envvar2 .. " '" .. newEnvSetting .. "'")
if errorCode ~= 0 then
errorMessage = errorMessage .. luci.i18n.translate("Unable to set firmware environment variable") .. ": " .. boot_envvar2 .. " " .. luci.i18n.translate("to") .. " " .. newEnvSetting .. ". "
errorMessage = errorMessage or "" .. luci.i18n.translate("Unable to set firmware environment variable") .. ": " .. boot_envvar2 .. " " .. luci.i18n.translate("to") .. " " .. newEnvSetting .. ". "
luci.util.perror(luci.i18n.translate("Unable to set firmware environment variable") .. ": " .. boot_envvar2 .. " " .. luci.i18n.translate("to") .. " " .. newEnvSetting .. ".")
end
end
@ -155,13 +154,13 @@ function action_altreboot()
if zyxelNewBootFlag then
errorCode = luci.sys.call("printf \"" .. zyxelNewBootFlag .. "\" >" .. zyxelFlagPartition )
if errorCode ~= 0 then
errorMessage = errorMessage .. luci.i18n.translate("Unable to set Dual Boot Flag Partition entry for partition") .. ": " .. zyxelFlagPartition .. ". "
errorMessage = errorMessage or "" .. luci.i18n.translate("Unable to set Dual Boot Flag Partition entry for partition") .. ": " .. zyxelFlagPartition .. ". "
luci.util.perror(luci.i18n.translate("Unable to set Dual Boot Flag Partition entry for partition") .. ": " .. zyxelFlagPartition .. ".")
end
end
end
end
if errorMessage == "" then
if not errorMessage then
luci.template.render("admin_system/applyreboot", {
title = luci.i18n.translate("Rebooting..."),
msg = luci.i18n.translate("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 might be necessary to renew the address of your computer to reach the device again, depending on your settings."),
@ -170,6 +169,7 @@ function action_altreboot()
luci.sys.reboot()
else
luci.template.render("advanced_reboot/advanced_reboot",{
rom_board_name=rom_board_name,
device_name=device_name,
boot_envvar1_partition_one=boot_envvar1_partition_one,
partition_one_os=partition_one_os,

View File

@ -1,7 +1,7 @@
<%#
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org>
Copyright 2017 Stan Grishin <stangri@melmac.net>
Copyright 2017-2018 Stan Grishin <stangri@melmac.net>
Licensed to the public under the Apache License 2.0.
-%>
@ -21,65 +21,69 @@
<%- if device_name then -%>
<fieldset class="cbi-section">
<legend><%=device_name%><%: Partitions%></legend>
<table class="cbi-section-table" id="partitions">
<tr class="cbi-section-table-titles">
<th class="cbi-section-table-cell"><%:Partition%></th>
<th class="cbi-section-table-cell"><%:Status%></th>
<th class="cbi-section-table-cell"><%:Firmware/OS (Kernel)%></th>
<th class="cbi-section-table-cell"><%:Action%></th>
</tr>
<tr class="cbi-section-table-row">
<td>
<div class="table cbi-section-table" id="partitions">
<div class="tr cbi-section-table-titles">
<div class="th cbi-section-table-cell"><%:Partition%></div>
<div class="th cbi-section-table-cell"><%:Status%></div>
<div class="th cbi-section-table-cell"><%:Firmware/OS (Kernel)%></div>
<div class="th cbi-section-table-cell"><%:Action%></div>
</div>
<div class="tr cbi-section-table-row">
<div class="td">
<%=string.format("%X", boot_envvar1_partition_one)%>
</td>
<td>
</div>
<div class="td">
<%- if boot_envvar1_partition_one == current_partition then -%><%:Current%><%- else -%><%:Alternative%><%- end -%>
</td>
<td>
</div>
<div class="td">
<%=partition_one_os%>
</td>
<td>
</div>
<div class="td">
<%- if boot_envvar1_partition_one == current_partition then -%>
<form method="post" action="<%=url('admin/system/advanced_reboot/reboot')%>">
<input type="hidden" name="token" value="<%=token%>" />
<input id="reboot-button" type="submit" class="cbi-button cbi-button-apply" value="<%:Reboot to current partition%>" />
<input id="reboot-button" type="submit" class="cbi-button cbi-button-apply important" value="<%:Reboot to current partition%>" />
</form>
<%- else -%>
<form method="post" action="<%=url('admin/system/advanced_reboot/alternative_reboot')%>">
<input type="hidden" name="token" value="<%=token%>" />
<input id="altreboot-button" type="submit" class="cbi-button cbi-button-apply" value="<%:Reboot to alternative partition...%>" />
<input id="altreboot-button" type="submit" class="cbi-button cbi-button-apply important" value="<%:Reboot to alternative partition...%>" />
</form>
<%- end -%>
</td>
</tr>
<tr class="cbi-section-table-row">
<td>
</div>
</div>
<div class="tr cbi-section-table-row">
<div class="td">
<%=string.format("%X", boot_envvar1_partition_two)%>
</td>
<td>
</div>
<div class="td">
<%- if boot_envvar1_partition_two == current_partition then -%><%:Current%><%- else -%><%:Alternative%><%- end -%>
</td>
<td>
</div>
<div class="td">
<%=partition_two_os%>
</td>
<td>
</div>
<div class="td">
<%- if boot_envvar1_partition_two == current_partition then -%>
<form method="post" action="<%=url('admin/system/advanced_reboot/reboot')%>">
<input type="hidden" name="token" value="<%=token%>" />
<input id="reboot-button" type="submit" class="cbi-button cbi-button-apply" value="<%:Reboot to current partition%>" />
<input id="reboot-button" type="submit" class="cbi-button cbi-button-apply important" value="<%:Reboot to current partition%>" />
</form>
<%- else -%>
<form method="post" action="<%=url('admin/system/advanced_reboot/alternative_reboot')%>">
<input type="hidden" name="token" value="<%=token%>" />
<input id="altreboot-button" type="submit" class="cbi-button cbi-button-apply" value="<%:Reboot to alternative partition...%>" />
<input id="altreboot-button" type="submit" class="cbi-button cbi-button-apply important" value="<%:Reboot to alternative partition...%>" />
</form>
<%- end -%>
</td>
</tr>
</table>
</div>
</div>
</div>
</fieldset>
<%- else -%>
<p class="alert-message warning"><%:Warning: This system does not have two partitions!%></p>
<%- if rom_board_name then -%>
<p class="alert-message warning"><%=pcdata(translatef("Warning: Device (%s) is unknown or isn't a dual-partition device!", rom_board_name))%></p>
<%- else -%>
<p class="alert-message warning"><%=pcdata(translatef("Warning: Unable to obtain device information!"))%></p>
<%- end -%>
<%- end -%>
<hr />
@ -87,7 +91,7 @@
<%- if nixio.fs.access("/sbin/poweroff") then -%>
<form method="post" action="<%=url('admin/system/advanced_reboot/power_off')%>">
<input type="hidden" name="token" value="<%=token%>" />
<input id="poweroff-button" type="submit" class="cbi-button cbi-button-apply" value="<%:Perform power off...%>" />
<input id="poweroff-button" type="submit" class="cbi-button cbi-button-apply important" value="<%:Perform power off...%>" />
</form>
<%- else -%>
<p class="alert-message warning"><%:Warning: This system does not support powering off!%></p>

View File

@ -1,7 +1,7 @@
<%#
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008-2009 Jo-Philipp Wich <jow@openwrt.org>
Copyright 2017 Stan Grishin <stangri@melmac.net>
Copyright 2017-2018 Stan Grishin <stangri@melmac.net>
Licensed to the public under the Apache License 2.0.
-%>
@ -21,8 +21,8 @@
<form class="inline" action="<%=REQUEST_URI%>" method="post">
<input type="hidden" name="token" value="<%=token%>" />
<input type="hidden" name="step" value="2" />
<input class="cbi-button cbi-button-reset" name="cancel" type="submit" value="<%:Cancel%>" />
<input class="cbi-button cbi-button-apply" type="submit" value="<%:Proceed%>" />
<input class="cbi-button cbi-button-reset important" name="cancel" type="submit" value="<%:Cancel%>" />
<input class="cbi-button cbi-button-apply important" type="submit" value="<%:Proceed%>" />
</form>
</div>

View File

@ -1,7 +1,7 @@
<%#
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008-2009 Jo-Philipp Wich <jow@openwrt.org>
Copyright 2017 Stan Grishin <stangri@melmac.net>
Copyright 2017-2018 Stan Grishin <stangri@melmac.net>
Licensed to the public under the Apache License 2.0.
-%>
@ -17,8 +17,8 @@
<form class="inline" action="<%=REQUEST_URI%>" method="post">
<input type="hidden" name="token" value="<%=token%>" />
<input type="hidden" name="step" value="2" />
<input class="cbi-button cbi-button-reset" name="cancel" type="submit" value="<%:Cancel%>" />
<input class="cbi-button cbi-button-apply" type="submit" value="<%:Proceed%>" />
<input class="cbi-button cbi-button-reset important" name="cancel" type="submit" value="<%:Cancel%>" />
<input class="cbi-button cbi-button-apply important" type="submit" value="<%:Proceed%>" />
</form>
</div>

View File

@ -0,0 +1,222 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
"PO-Revision-Date: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.1\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
msgid "Action"
msgstr "Acción"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:82
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
msgid "Advanced Reboot"
msgstr "Reinicio avanzado"
#: 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 "Alternativo"
#: 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
msgid "Cancel"
msgstr "Cancelar"
#: 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
msgid "Confirm"
msgstr "Confirmar"
#: 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 "Actual"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
msgid "ERROR:"
msgstr "ERROR:"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
msgid "Firmware/OS (Kernel)"
msgstr "Firmware"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:112
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Sin acceso a fw_printenv o fw_printenv!"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
msgid "Partition"
msgstr "Partición"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
msgid "Partitions"
msgstr "Particiones"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
msgid "Perform power off..."
msgstr "Realizar apagado..."
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
msgid "Power Off Device"
msgstr "Apagar dispositivo..."
#: 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
msgid "Proceed"
msgstr "Proceder"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
msgid "Reboot Device to an Alternative Partition"
msgstr "Reinicie el dispositivo a una partición alternativa"
#: 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
msgid "Reboot to alternative partition..."
msgstr "Reiniciar a partición alternativa ..."
#: 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
msgid "Reboot to current partition"
msgstr "Reiniciar a la partición actual"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:91
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:163
msgid "Rebooting..."
msgstr "Reiniciando..."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:197
msgid "Shutting down..."
msgstr "Apagando..."
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
msgid "Status"
msgstr "Estado"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:92
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 ""
"El sistema se está reiniciando ahora.<br /> ¡NO APAGUE EL DISPOSITIVO!<br /> "
"Espere unos minutos antes de intentar volver a conectarse. Es posible que "
"sea necesario renovar la dirección de su computadora para llegar al "
"dispositivo nuevamente, dependiendo de su configuración."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:164
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 "
"might be necessary to renew the address of your computer to reach the device "
"again, depending on your settings."
msgstr ""
"El sistema se está reiniciando en una partición alternativa ahora.<br /> ¡NO "
"APAGUE EL DISPOSITIVO!<br /> Espere unos minutos antes de intentar volver a "
"conectarse. Es posible que sea necesario renovar la dirección de su "
"computadora para llegar al dispositivo nuevamente, dependiendo de su "
"configuración."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:198
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 "
"again, depending on your settings."
msgstr ""
"El sistema se está apagando ahora.<br /> ¡NO APAGUE EL DISPOSITIVO!<br /> "
"Puede que sea necesario renovar la dirección de su computadora para llegar "
"al dispositivo nuevamente, dependiendo de la configuración."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:67
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:68
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:147
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:148
msgid "Unable to find Dual Boot Flag Partition."
msgstr "No se puede encontrar la partición de bandera de arranque dual."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:119
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:120
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:133
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:134
msgid "Unable to obtain firmware environment variable"
msgstr "No se puede obtener la variable de entorno de firmware"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:155
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:156
msgid "Unable to set Dual Boot Flag Partition entry for partition"
msgstr ""
"No se puede establecer la entrada de la partición del indicador de inicio "
"dual para la partición"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:125
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:139
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:140
msgid "Unable to set firmware environment variable"
msgstr "No se puede establecer la variable de entorno de firmware"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
"password on alternative partition might be different, you might have to "
"adjust your computer settings to be able to access your device once it "
"reboots.<br /><br /> Please also be aware that alternative partition "
"firmware might not provide an easy way to switch active partition and boot "
"back to the currently active partition.<br /><br /> Click \"Proceed\" below "
"to reboot device to an alternative partition."
msgstr ""
"ADVERTENCIA: Una partición alternativa puede tener su propia configuración y "
"un firmware completamente diferente.<br /><br /> Como la configuración de su "
"red y el SSID/contraseña WiFi en la partición alternativa pueden ser "
"diferentes, es posible que tenga que ajustar la configuración de su "
"computadora para poder para acceder a su dispositivo una vez que se reinicie."
"<br /><br /> También tenga en cuenta que un firmware de partición "
"alternativo podría no proporcionar una manera fácil de cambiar la partición "
"activa y volver a iniciar la partición activa.<br /><br /> Haga clic en "
"\"Proceder\" a continuación para reiniciar el dispositivo a una partición "
"alternativa."
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
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 "
"device."
msgstr ""
"ADVERTENCIA: el apagado puede ocasionar el reinicio de un dispositivo que no "
"es compatible con el apagado.<br /><br /> Haga clic en \"Continuar\" a "
"continuación para apagar su dispositivo."
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Advertencia: ¡El dispositivo (%s) es desconocido o no es un dispositivo de "
"doble partición!"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "Advertencia: ¡Hay cambios no guardados que se perderán al reiniciar!"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
msgid "Warning: This system does not support powering off!"
msgstr "Advertencia: ¡Este sistema no admite el apagado!"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
msgid "Warning: Unable to obtain device information!"
msgstr "Advertencia: ¡No se puede obtener información del dispositivo!"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:125
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:139
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:140
msgid "to"
msgstr "a"

View File

@ -13,69 +13,96 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
"Language: ru\n"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
msgid "Action"
msgstr "Действие"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:82
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
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 "Альтернатива"
msgid "Alternative reboot cancelled."
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
msgid "Cancel"
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
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/luasrc/view/advanced_reboot/advanced_reboot.htm:18
msgid "ERROR:"
msgstr "ОШИБКА:"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
msgid "Firmware/OS (Kernel)"
msgstr "Прошивка/ОС (Ядро)"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:112
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
msgid "Partition"
msgstr "Раздел"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
msgid "Partitions"
msgstr "Разделы"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
msgid "Perform power off..."
msgstr "Выполнить отключение..."
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
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
msgid "Proceed"
msgstr "Продолжить"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
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
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
msgid "Reboot to current partition"
msgstr "Перезагрузка к текущему разделу"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:91
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:163
msgid "Rebooting..."
msgstr "Перезагрузка..."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:197
msgid "Shutting down..."
msgstr "Отключается..."
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
msgid "Status"
msgstr "Состояние"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:92
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 "
@ -87,6 +114,7 @@ msgstr ""
"снова. Возможно, потребуется обновить адрес компьютера для повторного "
"доступа к устройству в зависимости от ваших настроек."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:164
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 "
@ -98,6 +126,7 @@ msgstr ""
"установить соединение снова. Возможно, потребуется обновить адрес компьютера "
"для повторного доступа к устройству в зависимости от ваших настроек."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:198
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 "
@ -107,18 +136,33 @@ msgstr ""
"Возможно, потребуется обновить адрес компьютера для повторного доступа к "
"устройству в зависимости от настроек."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:67
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:68
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:147
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:148
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Невозможно найти Dual Boot раздел."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:119
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:120
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:133
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:134
msgid "Unable to obtain firmware environment variable"
msgstr "Невозможно получить переменную среды прошивки"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:155
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:156
msgid "Unable to set Dual Boot Flag Partition entry for partition"
msgstr "Невозможно использовать Dual Boot раздел."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:125
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:139
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:140
msgid "Unable to set firmware environment variable"
msgstr "Невозможно установить переменную среды прошивки"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@ -139,6 +183,7 @@ msgstr ""
"<br /><br /> Нажмите \"Продолжить\" ниже, чтобы перезагрузить устройство в "
"альтернативный раздел."
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
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 "
@ -148,16 +193,33 @@ msgstr ""
"которое не поддерживает выключение питания.<br /><br /> Нажмите \"Продолжить"
"\" ниже, чтобы выключить устройство."
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Внимание: Есть несохраненные изменения, которые будут потеряны при "
"перезагрузке!"
msgid "Warning: This system does not have two partitions!"
msgstr "Внимание: Эта система не имеет двух разделов!"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
msgid "Warning: This system does not support powering off!"
msgstr "Внимание: Эта система не поддерживает отключение питания!"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
msgid "Warning: Unable to obtain device information!"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:125
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:139
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:140
msgid "to"
msgstr ""
#~ msgid "Alternative reboot cancelled."
#~ msgstr "Альтернативная перезагрузка отменена."
#~ msgid "Warning: This system does not have two partitions!"
#~ msgstr "Внимание: Эта система не имеет двух разделов!"

View File

@ -1,69 +1,96 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8\n"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
msgid "Action"
msgstr "Åtgärd"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:82
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
msgid "Advanced Reboot"
msgstr "Avancerad omstart"
#: 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 "Alternativ"
msgid "Alternative reboot cancelled."
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
msgid "Cancel"
msgstr "Avbryt"
#: 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
msgid "Confirm"
msgstr "Bekräfta"
#: 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 "Nuvarande"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18
msgid "ERROR:"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
msgid "Firmware/OS (Kernel)"
msgstr "Inre mjukvara/OS (Kärna)"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:112
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
msgid "Partition"
msgstr "Partition"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
msgid "Partitions"
msgstr "Partitioner"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
msgid "Perform power off..."
msgstr "Utför avstängning..."
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
msgid "Power Off Device"
msgstr "Stäng av enhet"
#: 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
msgid "Proceed"
msgstr "Fortsätt"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
msgid "Reboot Device to an Alternative Partition"
msgstr "Starta om enheten till en alternativ partition"
#: 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
msgid "Reboot to alternative partition..."
msgstr "Starta om till alternativ partition..."
#: 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
msgid "Reboot to current partition"
msgstr "Starta om till nuvarande partition"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:91
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:163
msgid "Rebooting..."
msgstr "Startar om..."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:197
msgid "Shutting down..."
msgstr "Stänger av..."
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
msgid "Status"
msgstr "Status"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:92
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 "
@ -71,6 +98,7 @@ msgid ""
"settings."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:164
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 "
@ -78,6 +106,7 @@ msgid ""
"again, depending on your settings."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:198
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 "
@ -87,18 +116,33 @@ msgstr ""
"inställningar så kan det vara nödvändigt att förnya din dators adress för "
"att nå enheten igen."
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:67
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:68
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:147
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:148
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:119
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:120
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:133
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:134
msgid "Unable to obtain firmware environment variable"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:155
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:156
msgid "Unable to set Dual Boot Flag Partition entry for partition"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:125
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:139
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:140
msgid "Unable to set firmware environment variable"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@ -110,6 +154,7 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
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 "
@ -119,15 +164,29 @@ msgstr ""
"stöd för avstängning.<br /><br /> Klicka på \"Fortsätt\" nedanför för att "
"stänga av din enhet."
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Varning: Det finns osparade ändringar som kommer att förloras vid omstart!"
msgid "Warning: This system does not have two partitions!"
msgstr "Varning: Det här systemet har inte två partitioner!"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
msgid "Warning: This system does not support powering off!"
msgstr "Varning: Det här systemet har inte stöd för avstängning!"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
msgid "Warning: Unable to obtain device information!"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:125
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:139
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:140
msgid "to"
msgstr ""
#~ msgid "Warning: This system does not have two partitions!"
#~ msgstr "Varning: Det här systemet har inte två partitioner!"

View File

@ -1,69 +1,96 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
msgid "Action"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:82
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
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 ""
msgid "Alternative reboot cancelled."
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
msgid "Cancel"
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
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/luasrc/view/advanced_reboot/advanced_reboot.htm:18
msgid "ERROR:"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
msgid "Firmware/OS (Kernel)"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:112
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26
msgid "Partition"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
msgid "Partitions"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
msgid "Perform power off..."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
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
msgid "Proceed"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
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
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
msgid "Reboot to current partition"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:91
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:163
msgid "Rebooting..."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:197
msgid "Shutting down..."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
msgid "Status"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:92
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 "
@ -71,6 +98,7 @@ msgid ""
"settings."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:164
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 "
@ -78,24 +106,40 @@ msgid ""
"again, depending on your settings."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:198
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 "
"again, depending on your settings."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:67
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:68
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:147
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:148
msgid "Unable to find Dual Boot Flag Partition."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:119
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:120
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:133
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:134
msgid "Unable to obtain firmware environment variable"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:155
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:156
msgid "Unable to set Dual Boot Flag Partition entry for partition"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:125
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:139
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:140
msgid "Unable to set firmware environment variable"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@ -107,20 +151,32 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
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 "
"device."
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
msgid "Warning: This system does not have two partitions!"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97
msgid "Warning: This system does not support powering off!"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
msgid "Warning: Unable to obtain device information!"
msgstr ""
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:125
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:139
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:140
msgid "to"
msgstr ""

View File

@ -0,0 +1,205 @@
#
# Yangfl <mmyangfl@gmail.com>, 2018.
#
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Last-Translator: Yangfl <mmyangfl@gmail.com>\n"
"Language-Team: <debian-l10n-chinese@lists.debian.org>\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"PO-Revision-Date: 2018-08-07 20:31+0800\n"
"X-Generator: Gtranslator 2.91.7\n"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
msgid "Action"
msgstr "动作"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:82
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
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
msgid "Cancel"
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
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/luasrc/view/advanced_reboot/advanced_reboot.htm:18
msgid "ERROR:"
msgstr "错误:"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
msgid "Firmware/OS (Kernel)"
msgstr "固件/OS内核"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:112
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
msgid "Partition"
msgstr "分区"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
msgid "Partitions"
msgstr "分区"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
msgid "Perform power off..."
msgstr "执行关机…"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
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
msgid "Proceed"
msgstr "继续"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
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
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
msgid "Reboot to current partition"
msgstr "重启到当前分区"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:91
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:163
msgid "Rebooting..."
msgstr "正在重启…"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:197
msgid "Shutting down..."
msgstr "正在关机…"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
msgid "Status"
msgstr "状态"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:92
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:164
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 "
"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:198
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 "
"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:67
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:68
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:147
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:148
msgid "Unable to find Dual Boot Flag Partition."
msgstr "无法找到双引导标志分区。"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:119
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:120
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:133
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:134
msgid "Unable to obtain firmware environment variable"
msgstr "无法获取固件环境变量"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:155
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:156
msgid "Unable to set Dual Boot Flag Partition entry for partition"
msgstr "无法为分区设置双引导标志分区项"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:125
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:139
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:140
msgid "Unable to set firmware environment variable"
msgstr "无法设置固件环境变量"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
"password on alternative partition might be different, you might have to "
"adjust your computer settings to be able to access your device once it "
"reboots.<br /><br /> Please also be aware that alternative partition "
"firmware might not provide an easy way to switch active partition and boot "
"back to the currently active partition.<br /><br /> Click \"Proceed\" below "
"to reboot device to an alternative partition."
msgstr ""
"警告:备用分区的设置和固件可能与当前完全不同。<br /><br />由于备用分区上的网"
"络配置和 WiFi SSID/密码可能不同,在设备重启后,您可能需要调整计算机设置才能访"
"问您的设备。<br /><br />请注意,备用分区固件可能无法提供切换活动分区和引导回"
"当前活动分区的简便方法。<br /><br />点击下方“继续”,使设备重启至备用分区。"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
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 "
"device."
msgstr ""
"警告:对于不支持关机的设备,关机可能会导致重新启动。<br /><br />点击下方“继"
"续”,使设备关机。"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
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
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
msgid "Warning: This system does not support powering off!"
msgstr "警告:此系统不支持关闭电源!"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
msgid "Warning: Unable to obtain device information!"
msgstr "警告:无法获取设备信息!"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:125
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:139
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:140
msgid "to"
msgstr "至"

View File

@ -0,0 +1,206 @@
#
# Yangfl <mmyangfl@gmail.com>, 2018.
#
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Last-Translator: Yangfl <mmyangfl@gmail.com>\n"
"Language-Team: <debian-l10n-chinese@lists.debian.org>\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"PO-Revision-Date: 2018-08-07 20:31+0800\n"
"X-Generator: Gtranslator 2.91.7\n"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29
msgid "Action"
msgstr "動作"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:82
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10
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
msgid "Cancel"
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
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/luasrc/view/advanced_reboot/advanced_reboot.htm:18
msgid "ERROR:"
msgstr "錯誤:"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28
msgid "Firmware/OS (Kernel)"
msgstr "韌體/OS核心"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:112
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
msgid "Partition"
msgstr "分割槽"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23
msgid "Partitions"
msgstr "分割槽"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94
msgid "Perform power off..."
msgstr "執行關機…"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10
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
msgid "Proceed"
msgstr "繼續"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10
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
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
msgid "Reboot to current partition"
msgstr "重啟到當前分割槽"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:91
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:163
msgid "Rebooting..."
msgstr "正在重啟…"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:197
msgid "Shutting down..."
msgstr "正在關機…"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27
msgid "Status"
msgstr "狀態"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:92
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:164
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 "
"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:198
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 "
"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:67
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:68
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:147
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:148
msgid "Unable to find Dual Boot Flag Partition."
msgstr "無法找到雙引導標誌分割槽。"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:119
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:120
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:133
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:134
msgid "Unable to obtain firmware environment variable"
msgstr "無法獲取韌體環境變數"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:155
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:156
msgid "Unable to set Dual Boot Flag Partition entry for partition"
msgstr "無法為分割槽設定雙引導標誌分割槽項"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:125
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:139
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:140
msgid "Unable to set firmware environment variable"
msgstr "無法設定韌體環境變數"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
"password on alternative partition might be different, you might have to "
"adjust your computer settings to be able to access your device once it "
"reboots.<br /><br /> Please also be aware that alternative partition "
"firmware might not provide an easy way to switch active partition and boot "
"back to the currently active partition.<br /><br /> Click \"Proceed\" below "
"to reboot device to an alternative partition."
msgstr ""
"警告:備用分割槽的設定和韌體可能與當前完全不同。<br /><br />由於備用分割槽上"
"的網路配置和 WiFi SSID/密碼可能不同,在裝置重啟後,您可能需要調整計算機設定才"
"能訪問您的裝置。<br /><br />請注意,備用分割槽韌體可能無法提供切換活動分割槽"
"和引導回當前活動分割槽的簡便方法。<br /><br />點選下方“繼續”,使裝置重啟至備"
"用分割槽。"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
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 "
"device."
msgstr ""
"警告:對於不支援關機的裝置,關機可能會導致重新啟動。<br /><br />點選下方“繼"
"續”,使裝置關機。"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83
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
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
msgid "Warning: This system does not support powering off!"
msgstr "警告:此係統不支援關閉電源!"
#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85
msgid "Warning: Unable to obtain device information!"
msgstr "警告:無法獲取裝置資訊!"
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:125
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:139
#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:140
msgid "to"
msgstr "至"