summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-advanced-reboot')
-rw-r--r--applications/luci-app-advanced-reboot/Makefile7
-rw-r--r--applications/luci-app-advanced-reboot/README.md78
-rw-r--r--applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js238
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices.disabled/linksys-ea9500.lua14
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2-ea4500.lua14
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea3500.lua15
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea6350v3.lua14
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8300.lua14
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8500.lua14
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua14
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.lua14
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acs.lua14
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua14
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt3200acm.lua14
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt32x.lua14
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/zyxel-nbg6817.lua14
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua303
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm100
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm29
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm53
-rw-r--r--applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm25
-rw-r--r--applications/luci-app-advanced-reboot/po/ar/advanced-reboot.po213
-rw-r--r--applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po157
-rw-r--r--applications/luci-app-advanced-reboot/po/bn_BD/advanced-reboot.po143
-rw-r--r--applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po152
-rw-r--r--applications/luci-app-advanced-reboot/po/cs/advanced-reboot.po189
-rw-r--r--applications/luci-app-advanced-reboot/po/de/advanced-reboot.po203
-rw-r--r--applications/luci-app-advanced-reboot/po/el/advanced-reboot.po214
-rw-r--r--applications/luci-app-advanced-reboot/po/en/advanced-reboot.po143
-rw-r--r--applications/luci-app-advanced-reboot/po/es/advanced-reboot.po198
-rw-r--r--applications/luci-app-advanced-reboot/po/fi/advanced-reboot.po197
-rw-r--r--applications/luci-app-advanced-reboot/po/fr/advanced-reboot.po199
-rw-r--r--applications/luci-app-advanced-reboot/po/he/advanced-reboot.po152
-rw-r--r--applications/luci-app-advanced-reboot/po/hi/advanced-reboot.po143
-rw-r--r--applications/luci-app-advanced-reboot/po/hu/advanced-reboot.po200
-rw-r--r--applications/luci-app-advanced-reboot/po/it/advanced-reboot.po167
-rw-r--r--applications/luci-app-advanced-reboot/po/ja/advanced-reboot.po243
-rw-r--r--applications/luci-app-advanced-reboot/po/ko/advanced-reboot.po153
-rw-r--r--applications/luci-app-advanced-reboot/po/mr/advanced-reboot.po182
-rw-r--r--applications/luci-app-advanced-reboot/po/ms/advanced-reboot.po143
-rw-r--r--applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po151
-rw-r--r--applications/luci-app-advanced-reboot/po/pl/advanced-reboot.po197
-rw-r--r--applications/luci-app-advanced-reboot/po/pt/advanced-reboot.po244
-rw-r--r--applications/luci-app-advanced-reboot/po/pt_BR/advanced-reboot.po203
-rw-r--r--applications/luci-app-advanced-reboot/po/ro/advanced-reboot.po178
-rw-r--r--applications/luci-app-advanced-reboot/po/ru/advanced-reboot.po244
-rw-r--r--applications/luci-app-advanced-reboot/po/si/advanced-reboot.po189
-rw-r--r--applications/luci-app-advanced-reboot/po/sk/advanced-reboot.po168
-rw-r--r--applications/luci-app-advanced-reboot/po/sv/advanced-reboot.po215
-rw-r--r--applications/luci-app-advanced-reboot/po/templates/advanced-reboot.pot143
-rw-r--r--applications/luci-app-advanced-reboot/po/tr/advanced-reboot.po237
-rw-r--r--applications/luci-app-advanced-reboot/po/uk/advanced-reboot.po163
-rw-r--r--applications/luci-app-advanced-reboot/po/vi/advanced-reboot.po183
-rw-r--r--applications/luci-app-advanced-reboot/po/zh_Hans/advanced-reboot.po193
-rw-r--r--applications/luci-app-advanced-reboot/po/zh_Hant/advanced-reboot.po247
-rw-r--r--applications/luci-app-advanced-reboot/root/etc/uci-defaults/40_luci-advanced-reboot2
-rwxr-xr-xapplications/luci-app-advanced-reboot/root/usr/libexec/rpcd/luci.advanced_reboot396
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices.disabled/linksys-ea9500.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices.disabled/netgear-wac510.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e4200v2-ea4500.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e4200v2.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea3500.json15
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea4500.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea6350v3.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v1.json15
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v2.json15
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v1.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8300.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8500.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mr8300.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1200ac.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1900ac.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1900acs.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1900acv2.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt3200acm.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt32x.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/zyxel-nbg6817.json14
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json13
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json96
79 files changed, 3997 insertions, 4155 deletions
diff --git a/applications/luci-app-advanced-reboot/Makefile b/applications/luci-app-advanced-reboot/Makefile
index 79197c43ba..a0024cdc1f 100644
--- a/applications/luci-app-advanced-reboot/Makefile
+++ b/applications/luci-app-advanced-reboot/Makefile
@@ -5,14 +5,15 @@ include $(TOPDIR)/rules.mk
PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
+PKG_VERSION:=1.0.1-2
LUCI_TITLE:=Advanced Linksys Reboot Web UI
+LUCI_URL:=https://docs.openwrt.melmac.net/luci-app-advanced-reboot/
LUCI_DESCRIPTION:=Provides Web UI (found under System/Advanced Reboot) to reboot supported Linksys and ZyXEL routers to\
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-compat +luci-mod-admin-full
+ routers are listed at https://docs.openwrt.melmac.net/luci-app-advanced-reboot/
+LUCI_DEPENDS:=+luci-mod-admin-full +jshn
LUCI_PKGARCH:=all
-PKG_RELEASE:=54
include ../../luci.mk
diff --git a/applications/luci-app-advanced-reboot/README.md b/applications/luci-app-advanced-reboot/README.md
index 85c10fcc12..a0fd20c9ef 100644
--- a/applications/luci-app-advanced-reboot/README.md
+++ b/applications/luci-app-advanced-reboot/README.md
@@ -1,79 +1,3 @@
# 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 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 your device is not in the list above, however it is a [dual-firmware device](https://openwrt.org/tag/dual_firmware?do=showtag&tag=dual_firmware) and 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://cdn.jsdelivr.net/gh/stangri/openwrt_packages@master/screenshots/luci-app-advanced-reboot/screenshot02.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 following instructions on [GitHub](https://github.com/stangri/openwrt_packages/blob/master/README.md#on-your-router)/[jsDelivr](https://cdn.jsdelivr.net/gh/stangri/openwrt_packages@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 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.
-- Newer versions of this package try to mount alternative partition on compatible NAND routers in order to retrieve detailed firmware information. When that happens, it is normal to have messages similar to the below in the system log:
-
- ```sh
- Tue Nov 19 15:45:03 2019 user.notice luci-app-advanced-reboot: attempting to mount alternative partition (mtd6)
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30392.673826] ubi2: attaching mtd6
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30392.876698] ubi2: scanning is finished
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30392.885267] ubi2: attached mtd6 (name "rootfs1", size 74 MiB)
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30392.891063] ubi2: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30392.898011] ubi2: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30392.904878] ubi2: VID header offset: 2048 (aligned 2048), data offset: 4096
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30392.911928] ubi2: good PEBs: 592, bad PEBs: 0, corrupted PEBs: 0
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30392.917962] ubi2: user volume: 2, internal volumes: 1, max. volumes count: 128
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30392.925252] ubi2: max/mean erase counter: 48/32, WL threshold: 4096, image sequence number: 1659081076
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30392.934623] ubi2: available PEBs: 0, total reserved PEBs: 592, PEBs reserved for bad PEB handling: 40
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30392.944346] ubi2: background thread "ubi_bgt2d" started, PID 26780
- Tue Nov 19 15:45:03 2019 kern.info kernel: [30392.952596] block ubiblock2_0: created from ubi2:0 (rootfs)
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30392.964083] UBIFS (ubi2:1): background thread "ubifs_bgt2_1" started, PID 26787
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30393.009298] UBIFS (ubi2:1): UBIFS: mounted UBI device 2, volume 1, name "rootfs_data"
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30393.017185] UBIFS (ubi2:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30393.027213] UBIFS (ubi2:1): FS size: 61075456 bytes (58 MiB, 481 LEBs), journal size 3047424 bytes (2 MiB, 24 LEBs)
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30393.037733] UBIFS (ubi2:1): reserved for root: 2884744 bytes (2817 KiB)
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30393.044389] UBIFS (ubi2:1): media format: w4/r0 (latest is w5/r0), UUID 76F0C52C-6197-4E00-B306-747262B06545, small LPT model
- Tue Nov 19 15:45:03 2019 user.notice luci-app-advanced-reboot: attempting to unmount alternative partition (mtd6)
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30393.132743] UBIFS (ubi2:1): un-mount UBI device 2
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30393.137481] UBIFS (ubi2:1): background thread "ubifs_bgt2_1" stops
- Tue Nov 19 15:45:03 2019 kern.info kernel: [30393.390961] block ubiblock2_0: released
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30393.396576] ubi2: detaching mtd6
- Tue Nov 19 15:45:03 2019 kern.notice kernel: [30393.400117] ubi2: mtd6 is detached
- ```
-
-## Thanks
-
-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.
+README has been moved to [https://docs.openwrt.melmac.net/luci-app-advanced-reboot/](<https://docs.openwrt.melmac.net/luci-app-advanced-reboot/>).
diff --git a/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js b/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js
new file mode 100644
index 0000000000..f4acb8285d
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js
@@ -0,0 +1,238 @@
+'use strict';
+'require view';
+'require rpc';
+'require ui';
+'require uci';
+'require fs';
+
+return view.extend({
+ translateTable: {
+ NO_BOARD_NAME : function(args) { return _('Unable to find Device Board Name.')},
+ NO_DUAL_FLAG: function (args) { return _('Unable to find Dual Boot Flag Partition.') },
+ NO_DUAL_FLAG_BLOCK: function (args) { return _('The Dual Boot Flag Partition: %s is not a block device.').format(args[0])},
+ ERR_SET_DUAL_FLAG : function(args) { return _('Unable to set Dual Boot Flag Partition entry for partition: %s.').format(args[0])},
+ NO_FIRM_ENV : function(args) { return _('Unable to obtain firmware environment variable: %s.').format(args[0])},
+ ERR_SET_ENV : function(args) { return _('Unable to set firmware environment variable: %s to %s.').format(args[0],args[1])}
+ },
+
+ callReboot: rpc.declare({
+ object: 'system',
+ method: 'reboot',
+ expect: { result: 0 }
+ }),
+
+ callObtainDeviceInfo: rpc.declare({
+ object: 'luci.advanced_reboot',
+ method: 'obtain_device_info',
+ expect: { }
+ }),
+
+ callTogglePartition: rpc.declare({
+ object: 'luci.advanced_reboot',
+ method: 'toggle_boot_partition',
+ expect: { }
+ }),
+
+ callPowerOff: function() {
+ return fs.exec('/sbin/poweroff').then(function() {
+ ui.showModal(_('Shutting down...'), [
+ E('p', { 'class': 'spinning' }, _('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.'))
+ ]);
+ })
+ },
+
+ handlePowerOff: function() {
+
+ ui.showModal(_('Power Off Device'), [
+ E('p', _("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.")),
+ E('div', { 'class': 'right' }, [
+ E('button', {
+ 'class': 'btn',
+ 'click': ui.hideModal
+ }, _('Cancel')), ' ',
+ E('button', {
+ 'class': 'btn cbi-button cbi-button-positive important',
+ 'click': L.bind(this.callPowerOff, this)
+ }, _('Proceed'))
+ ])
+ ]);
+
+ },
+
+ handleReboot: function(ev) {
+ return this.callReboot().then(function(res) {
+ if (res != 0) {
+ ui.addNotification(null, E('p', _('The reboot command failed with code %d').format(res)));
+ L.raise('Error', 'Reboot failed');
+ }
+
+ ui.showModal(_('Rebooting…'), [
+ E('p', { 'class': 'spinning' }, _('Waiting for device...'))
+ ]);
+
+ window.setTimeout(function() {
+ ui.showModal(_('Rebooting…'), [
+ E('p', { 'class': 'spinning alert-message warning' },
+ _('Device unreachable! Still waiting for device...'))
+ ]);
+ }, 150000);
+
+ ui.awaitReconnect();
+ })
+ .catch(function(e) { ui.addNotification(null, E('p', e.message)) });
+ },
+
+ handleTogglePartition: function(ev) {
+ return this.callTogglePartition().then(L.bind(function(res) {
+ if (res.error) {
+ ui.hideModal()
+ return ui.addNotification(null, E('p', this.translateTable[res.error](res.args)));
+ }
+
+ return this.callReboot().then(function(res) {
+ if (res != 0) {
+ ui.addNotification(null, E('p', _('The reboot command failed with code %d').format(res)));
+ L.raise('Error', 'Reboot failed');
+ }
+
+ ui.showModal(_('Rebooting…'), [
+ E('p', { 'class': 'spinning' }, _('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.'))
+ ]);
+
+ window.setTimeout(function() {
+ ui.showModal(_('Rebooting…'), [
+ E('p', { 'class': 'spinning alert-message warning' },
+ _('Device unreachable! Still waiting for device...'))
+ ]);
+ }, 150000);
+
+ ui.awaitReconnect();
+ })
+ .catch(function(e) { ui.addNotification(null, E('p', e.message)) });
+ }, this));
+ },
+
+ handleAlternativeReboot: function(ev) {
+ return Promise.all([
+ L.resolveDefault(fs.stat('/usr/sbin/fw_printenv'), null),
+ L.resolveDefault(fs.stat('/usr/sbin/fw_setenv'), null),
+ ]).then(L.bind(function (data) {
+ if (!data[0] || !data[1]) {
+ return ui.addNotification(null, E('p', _('No access to fw_printenv or fw_printenv!')));
+ }
+
+ ui.showModal(_('Reboot Device to an Alternative Partition') + " - " + _("Confirm"), [
+ E('p', _("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.")),
+ E('div', { 'class': 'right' }, [
+ E('button', {
+ 'class': 'btn',
+ 'click': ui.hideModal
+ }, _('Cancel')), ' ',
+ E('button', {
+ 'class': 'btn cbi-button cbi-button-positive important',
+ 'click': L.bind(this.handleTogglePartition, this)
+ }, _('Proceed'))
+ ])
+ ]);
+ }, this))
+ },
+
+ parsePartitions: function(partitions) {
+ var res = [];
+
+ partitions.forEach(L.bind(function(partition) {
+ var func, text;
+
+ if (partition.state == 'Current') {
+ func = 'handleReboot';
+ text = _('Reboot to current partition');
+ } else {
+ func = 'handleAlternativeReboot';
+ text = _('Reboot to alternative partition...');
+ }
+
+ res.push([
+ (partition.number+0x100).toString(16).substr(-2).toUpperCase(),
+ _(partition.state),
+ partition.os.replace("Unknown", _("Unknown")).replace("Compressed", _("Compressed")),
+ E('button', {
+ 'class': 'btn cbi-button cbi-button-apply important',
+ 'click': ui.createHandlerFn(this, func)
+ }, text)
+ ])
+ }, this));
+
+ return res;
+ },
+
+ load: function() {
+ return Promise.all([
+ uci.changes(),
+ L.resolveDefault(fs.stat('/sbin/poweroff'), null),
+ this.callObtainDeviceInfo()
+ ]);
+ },
+
+ render: function(data) {
+ var changes = data[0],
+ poweroff_supported = data[1] != null ? true : false,
+ device_info = data[2];
+
+ var body = E([
+ E('h2', _('Advanced Reboot'))
+ ]);
+
+ for (var config in (changes || {})) {
+ body.appendChild(E('p', { 'class': 'alert-message warning' },
+ _('Warning: There are unsaved changes that will get lost on reboot!')));
+ break;
+ }
+
+ if (device_info.error)
+ body.appendChild(E('p', { 'class' : 'alert-message warning'}, _("ERROR: ") + this.translateTable[device_info.error]()));
+
+ body.appendChild(E('h3', device_info.device_name + _(' Partitions')));
+ if (device_info.device_name) {
+ var partitions_table = E('table', { 'class': 'table' }, [
+ E('tr', { 'class': 'tr table-titles' }, [
+ E('th', { 'class': 'th' }, [ _('Partition') ]),
+ E('th', { 'class': 'th' }, [ _('Status') ]),
+ E('th', { 'class': 'th' }, [ _('Firmware') ]),
+ E('th', { 'class': 'th' }, [ _('Reboot') ])
+ ])
+ ]);
+
+ cbi_update_table(partitions_table, this.parsePartitions(device_info.partitions));
+
+ body.appendChild(partitions_table);
+ } else {
+ body.appendChild(E('p', { 'class' : 'alert-message warning'},
+ device_info.rom_board_name ? _("Warning: Device (%s) is unknown or isn't a dual-partition device!").format(device_info.rom_board_name)
+ : _('Warning: Unable to obtain device information!')
+ ));
+ }
+
+ body.appendChild(E('hr'));
+ body.appendChild(
+ poweroff_supported ? E('button', {
+ 'class': 'btn cbi-button cbi-button-apply important',
+ 'click': ui.createHandlerFn(this, 'handlePowerOff')
+ }, _('Perform power off...'))
+
+ : E('p', { 'class' : 'alert-message warning'},
+ _('Warning: This system does not support powering off!'))
+ );
+
+ return body;
+ },
+
+ handleSaveApply: null,
+ handleSave: null,
+ handleReset: null
+});
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices.disabled/linksys-ea9500.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices.disabled/linksys-ea9500.lua
deleted file mode 100644
index 82f82ddba4..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices.disabled/linksys-ea9500.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- vendorName = "Linksys",
- deviceName = "EA9500",
- boardName = "linksys-panamera",
- partition1MTD = "mtd3",
- partition2MTD = "mtd6",
- labelOffset = 28,
- bootEnv1 = "boot_part",
- bootEnv1Partition1Value = 1,
- bootEnv1Partition2Value = 2,
- bootEnv2 = nil,
- bootEnv2Partition1Value = nil,
- bootEnv2Partition2Value = nil
-}
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2-ea4500.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2-ea4500.lua
deleted file mode 100644
index 6122409dd1..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2-ea4500.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- vendorName = "Linksys",
- deviceName = "E4200v2/EA4500",
- boardNames = { "linksys-viper", "linksys,viper" },
- partition1MTD = "mtd3",
- partition2MTD = "mtd5",
- labelOffset = 32,
- bootEnv1 = "boot_part",
- bootEnv1Partition1Value = 1,
- bootEnv1Partition2Value = 2,
- bootEnv2 = "bootcmd",
- bootEnv2Partition1Value = "run nandboot",
- bootEnv2Partition2Value = "run altnandboot"
-}
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea3500.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea3500.lua
deleted file mode 100644
index 553788fd57..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea3500.lua
+++ /dev/null
@@ -1,15 +0,0 @@
-return {
- vendorName = "Linksys",
- deviceName = "EA3500",
- boardNames = { "linksys-audi", "linksys,audi" },
- partition1MTD = "mtd3",
- partition2MTD = "mtd5",
- labelOffset = 32,
- bootEnv1 = "boot_part",
- bootEnv1Partition1Value = 1,
- bootEnv1Partition2Value = 2,
- bootEnv2 = "bootcmd",
- bootEnv2Partition1Value = "run nandboot",
- bootEnv2Partition2Value = "run altnandboot"
-}
-
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea6350v3.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea6350v3.lua
deleted file mode 100644
index ccfe55ead1..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea6350v3.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- vendorName = "Linksys",
- deviceName = "EA6350v3",
- boardNames = { "linksys-ea6350v3", "linksys,ea6350v3" },
- partition1MTD = "mtd10",
- partition2MTD = "mtd12",
- labelOffset = 192,
- bootEnv1 = "boot_part",
- bootEnv1Partition1Value = 1,
- bootEnv1Partition2Value = 2,
- bootEnv2 = nil,
- bootEnv2Partition1Value = nil,
- bootEnv2Partition2Value = nil
-}
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8300.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8300.lua
deleted file mode 100644
index e5faf27876..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8300.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- vendorName = "Linksys",
- deviceName = "EA8300",
- boardNames = { "linksys-ea8300", "linksys,ea8300" },
- partition1MTD = "mtd10",
- partition2MTD = "mtd12",
- labelOffset = 192,
- bootEnv1 = "boot_part",
- bootEnv1Partition1Value = 1,
- bootEnv1Partition2Value = 2,
- bootEnv2 = nil,
- bootEnv2Partition1Value = nil,
- bootEnv2Partition2Value = nil
-}
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8500.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8500.lua
deleted file mode 100644
index 865b726835..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea8500.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- vendorName = "Linksys",
- deviceName = "EA8500",
- boardNames = { "linksys-ea8500", "linksys,ea8500" },
- partition1MTD = "mtd13",
- partition2MTD = "mtd15",
- labelOffset = 32,
- bootEnv1 = "boot_part",
- bootEnv1Partition1Value = 1,
- bootEnv1Partition2Value = 2,
- bootEnv2 = nil,
- bootEnv2Partition1Value = nil,
- bootEnv2Partition2Value = nil
-}
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua
deleted file mode 100644
index a3efb69732..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- vendorName = "Linksys",
- deviceName = "WRT1200AC",
- boardNames = { "linksys-caiman", "linksys,caiman", "linksys,wrt1200ac" },
- partition1MTD = "mtd4",
- partition2MTD = "mtd6",
- labelOffset = 32,
- bootEnv1 = "boot_part",
- bootEnv1Partition1Value = 1,
- bootEnv1Partition2Value = 2,
- bootEnv2 = "bootcmd",
- bootEnv2Partition1Value = "run nandboot",
- bootEnv2Partition2Value = "run altnandboot"
-}
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.lua
deleted file mode 100644
index 24869bef82..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900ac.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- vendorName = "Linksys",
- deviceName = "WRT1900ACv1",
- boardNames = { "linksys-mamba", "linksys,mamba", "linksys,wrt1900ac-v1" },
- partition1MTD = "mtd4",
- partition2MTD = "mtd6",
- labelOffset = 32,
- bootEnv1 = "boot_part",
- bootEnv1Partition1Value = 1,
- bootEnv1Partition2Value = 2,
- bootEnv2 = "bootcmd",
- bootEnv2Partition1Value = "run nandboot",
- bootEnv2Partition2Value = "run altnandboot"
-}
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acs.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acs.lua
deleted file mode 100644
index 6b409a191f..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acs.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- vendorName = "Linksys",
- deviceName = "WRT1900ACS",
- boardNames = { "linksys-shelby", "linksys,shelby", "linksys,wrt1900acs" },
- partition1MTD = "mtd4",
- partition2MTD = "mtd6",
- labelOffset = 32,
- bootEnv1 = "boot_part",
- bootEnv1Partition1Value = 1,
- bootEnv1Partition2Value = 2,
- bootEnv2 = "bootcmd",
- bootEnv2Partition1Value = "run nandboot",
- bootEnv2Partition2Value = "run altnandboot"
-}
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua
deleted file mode 100644
index 15062eb547..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1900acv2.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- vendorName = "Linksys",
- deviceName = "WRT1900ACv2",
- boardNames = { "linksys-cobra", "linksys,cobra", "linksys,wrt1900ac-v2" },
- partition1MTD = "mtd4",
- partition2MTD = "mtd6",
- labelOffset = 32,
- bootEnv1 = "boot_part",
- bootEnv1Partition1Value = 1,
- bootEnv1Partition2Value = 2,
- bootEnv2 = "bootcmd",
- bootEnv2Partition1Value = "run nandboot",
- bootEnv2Partition2Value = "run altnandboot"
-}
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt3200acm.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt3200acm.lua
deleted file mode 100644
index 2e4cbec1a4..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt3200acm.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- vendorName = "Linksys",
- deviceName = "WRT3200ACM",
- boardNames = { "linksys-rango", "linksys,rango", "linksys,wrt3200acm" },
- partition1MTD = "mtd5",
- partition2MTD = "mtd7",
- labelOffset = 32,
- bootEnv1 = "boot_part",
- bootEnv1Partition1Value = 1,
- bootEnv1Partition2Value = 2,
- bootEnv2 = "bootcmd",
- bootEnv2Partition1Value = "run nandboot",
- bootEnv2Partition2Value = "run altnandboot"
-}
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt32x.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt32x.lua
deleted file mode 100644
index dd9baf5511..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt32x.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- vendorName = "Linksys",
- deviceName = "WRT32X",
- boardNames = { "linksys-venom", "linksys,venom", "linksys,wrt32x" },
- partition1MTD = "mtd5",
- partition2MTD = "mtd7",
- labelOffset = nil,
- bootEnv1 = "boot_part",
- bootEnv1Partition1Value = 1,
- bootEnv1Partition2Value = 2,
- bootEnv2 = "bootcmd",
- bootEnv2Partition1Value = "run nandboot",
- bootEnv2Partition2Value = "run altnandboot"
-}
diff --git a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/zyxel-nbg6817.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/zyxel-nbg6817.lua
deleted file mode 100644
index 0e91124725..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/zyxel-nbg6817.lua
+++ /dev/null
@@ -1,14 +0,0 @@
-return {
- vendorName = "ZyXEL",
- deviceName = "NBG6817",
- boardNames = { "nbg6817" },
- partition1MTD = "mmcblk0p4",
- partition2MTD = "mmcblk0p7",
- labelOffset = 32,
- bootEnv1 = nil,
- bootEnv1Partition1Value = 255,
- bootEnv1Partition2Value = 1,
- bootEnv2 = nil,
- bootEnv2Partition1Value = nil,
- bootEnv2Partition2Value = nil
-}
diff --git a/applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua b/applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua
deleted file mode 100644
index 1fb4d461b6..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua
+++ /dev/null
@@ -1,303 +0,0 @@
--- Copyright 2017-2020 Stan Grishin <stangri@melmac.net>
--- Licensed to the public under the Apache License 2.0.
-
-module("luci.controller.advanced_reboot", package.seeall)
-
-local util = require "luci.util"
-local fs = require "nixio.fs"
-local sys = require "luci.sys"
-local http = require "luci.http"
-local dispatcher = require "luci.dispatcher"
-local i18n = require "luci.i18n"
-local ltemplate = require "luci.template"
-local ip = require "luci.ip"
-local http = require "luci.http"
-local sys = require "luci.sys"
-local dispatcher = require "luci.dispatcher"
-local uci = require "luci.model.uci".cursor()
-local packageName = "advanced-reboot"
-local devices_dir = "/usr/lib/lua/luci/" .. packageName .. "/devices/"
-
-function logger(t)
- util.exec("logger -t " .. packageName .. " '" .. tostring(t) .. "'")
-end
-
-function is_alt_mountable(p1_mtd, p2_mtd)
- if p1_mtd:sub(1,3) == "mtd" and
- p2_mtd:sub(1,3) == "mtd" and
- fs.access("/usr/sbin/ubiattach") and
- fs.access("/usr/sbin/ubiblock") and
- fs.access("/bin/mount") then
- return true
- else
- return false
- end
-end
-
-function get_partition_os_info(op_ubi)
- local cp_info, op_info
- if fs.access("/etc/os-release") then
- cp_info = util.trim(util.exec('. /etc/os-release && echo "$PRETTY_NAME"'))
- if cp_info:find("SNAPSHOT") then
- cp_info = util.trim(util.exec('. /etc/os-release && echo "$OPENWRT_RELEASE"'))
- end
- end
- logger(i18n.translatef("attempting to mount alternative partition (mtd%s)", tostring(op_ubi)))
- alt_partition_unmount(op_ubi)
- alt_partition_mount(op_ubi)
- if fs.access("/alt/rom/etc/os-release") then
- op_info = util.trim(util.exec('. /alt/rom/etc/os-release && echo "$PRETTY_NAME"'))
- if op_info:find("SNAPSHOT") then
- op_info = util.trim(util.exec('. /alt/rom/etc/os-release && echo "$OPENWRT_RELEASE"'))
- end
- end
- logger(i18n.translatef("attempting to unmount alternative partition (mtd%s)", tostring(op_ubi)))
- alt_partition_unmount(op_ubi)
- return cp_info, op_info
-end
-
-function alt_partition_mount(op_ubi)
- local ubi_dev
- util.exec('for i in rom overlay firmware; do [ ! -d "$i" ] && mkdir -p "/alt/${i}"; done')
- ubi_dev = tostring(util.exec("ubiattach -m " .. tostring(op_ubi)))
- _, _, ubi_dev = ubi_dev:find("UBI device number (%d+)")
- if not ubi_dev then
- util.exec("ubidetach -m " .. tostring(op_ubi))
- return
- end
- util.exec("ubiblock --create /dev/ubi" .. ubi_dev .. "_0")
- util.exec("mount -t squashfs -o ro /dev/ubiblock" .. ubi_dev .. "_0 /alt/rom")
- util.exec("mount -t ubifs /dev/ubi" .. ubi_dev .. "_1 /alt/overlay")
--- util.exec("mount -t overlay overlay -o noatime,lowerdir=/alt/rom,upperdir=/alt/overlay/upper,workdir=/alt/overlay/work /alt/firmware")
-end
-
-function alt_partition_unmount(op_ubi)
- local i
- local mtdCount = tonumber(util.exec("ubinfo | grep 'Present UBI devices' | grep -c ','"))
- mtdCount = mtdCount and mtdCount + 1 or 10
--- util.exec("[ -d /alt/firmware ] && umount /alt/firmware")
- util.exec("[ -d /alt/overlay ] && umount /alt/overlay")
- util.exec("[ -d /alt/rom ] && umount /alt/rom")
- for i = 0, mtdCount do
- if not fs.access("/sys/devices/virtual/ubi/ubi" .. tostring(i) .. "/mtd_num") then break end
- ubi_mtd = tonumber(util.trim(util.exec("cat /sys/devices/virtual/ubi/ubi" .. i .. "/mtd_num")))
- if ubi_mtd and ubi_mtd == op_ubi then
- util.exec("ubiblock --remove /dev/ubi" .. tostring(i) .. "_0")
- util.exec("ubidetach -m " .. tostring(op_ubi))
- util.exec('rm -rf /alt')
- end
- end
-end
-
-function obtain_device_info()
- local p, boardName, n, p1_label, p1_version, p2_label, p2_version, p1_os, p2_os
- local errorMessage, current_partition
- local op_ubi, cp_info, op_info, zyxelFlagPartition
- local romBoardName = util.trim(util.exec("cat /tmp/sysinfo/board_name"))
- for filename in fs.dir(devices_dir) do
- local p_func = loadfile(devices_dir .. filename)
- setfenv(p_func, { _ = i18n.translate })
- p = p_func()
- if p.boardName then
- boardName = p.boardName:gsub('%p','')
- end
- if p.boardNames then
- for i, v in pairs(p.boardNames) do
- boardName = v:gsub('%p','')
- if romBoardName and romBoardName:gsub('%p',''):match(boardName) then break end
- end
- end
- if romBoardName and romBoardName:gsub('%p',''):match(boardName) then
- if p.labelOffset then
- if p.partition1MTD then
- p1_label = util.trim(util.exec("dd if=/dev/" .. p.partition1MTD .. " bs=1 skip=" .. p.labelOffset .. " count=128" .. " 2>/dev/null"))
- n, p1_version = p1_label:match('(Linux)-([%d|.]+)')
- end
- if p.partition2MTD then
- p2_label = util.trim(util.exec("dd if=/dev/" .. p.partition2MTD .. " bs=1 skip=" .. p.labelOffset .. " count=128" .. " 2>/dev/null"))
- n, p2_version = p2_label:match('(Linux)-([%d|.]+)')
- end
- if p1_label and p1_label:find("LEDE") then p1_os = "LEDE" end
- if p1_label and p1_label:find("OpenWrt") then p1_os = "OpenWrt" end
- if p1_label and p.vendorName and p1_label:find(p.vendorName) then p1_os = p.vendorName end
- if p2_label and p2_label:find("LEDE") then p2_os = "LEDE" end
- if p2_label and p2_label:find("OpenWrt") then p2_os = "OpenWrt" end
- if p2_label and p.vendorName and p2_label:find(p.vendorName) then p2_os = p.vendorName end
- if not p1_os then p1_os = p.vendorName .. "/" .. i18n.translate("Unknown") end
- if not p2_os then p2_os = p.vendorName .. "/" .. i18n.translate("Unknown") end
- if p1_os and p1_version then p1_os = p1_os .. " (Linux " .. p1_version .. ")" end
- if p2_os and p2_version then p2_os = p2_os .. " (Linux " .. p2_version .. ")" end
- else
- p1_os = p.vendorName .. "/" .. i18n.translate("Unknown") .. " (" .. i18n.translate("Compressed") .. ")"
- p2_os = p.vendorName .. "/" .. i18n.translate("Unknown") .. " (" .. i18n.translate("Compressed") .. ")"
- end
-
- if p.bootEnv1 then
- if fs.access("/usr/sbin/fw_printenv") and fs.access("/usr/sbin/fw_setenv") then
- current_partition = tonumber(util.trim(util.exec("fw_printenv -n " .. p.bootEnv1)))
- end
- else
- if not zyxelFlagPartition then zyxelFlagPartition = util.trim(util.exec(". /lib/functions.sh; find_mtd_part 0:DUAL_FLAG")) end
- if zyxelFlagPartition then
- current_partition = tonumber(util.exec("dd if=" .. zyxelFlagPartition .. " bs=1 count=1 2>/dev/null | hexdump -n 1 -e '1/1 \"%d\"'"))
- else
- errorMessage = errorMessage or i18n.translate("Unable to find Dual Boot Flag Partition.")
- util.perror(i18n.translate("Unable to find Dual Boot Flag Partition."))
- end
- end
-
- if is_alt_mountable(p.partition1MTD, p.partition2MTD) then
- if current_partition == p.bootEnv1Partition1Value then
- op_ubi = tonumber(p.partition2MTD:sub(4)) + 1
- else
- op_ubi = tonumber(p.partition1MTD:sub(4)) + 1
- end
- local cp_info, op_info = get_partition_os_info(op_ubi)
- if current_partition == p.bootEnv1Partition1Value then
- p1_os = cp_info or p1_os
- p2_os = op_info or p2_os
- else
- p1_os = op_info or p1_os
- p2_os = cp_info or p2_os
- end
- end
- return romBoardName, p.vendorName .. " " .. p.deviceName, p.bootEnv1, p.bootEnv1Partition1Value, p1_os, p.bootEnv1Partition2Value, p2_os, p.bootEnv2, p.bootEnv2Partition1Value, p.bootEnv2Partition1Value, current_partition
- end
- end
- return romBoardName, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
-end
-
-function index()
- entry({"admin", "system", "advanced_reboot"}, call("action_template"), _("Advanced Reboot"), 90).acl_depends = { "luci-app-advanced-reboot" }
- entry({"admin", "system", "advanced_reboot", "reboot"}, post("action_reboot"))
- entry({"admin", "system", "advanced_reboot", "alternative_reboot"}, post("action_altreboot"))
- entry({"admin", "system", "advanced_reboot", "power_off"}, post("action_poweroff"))
-end
-
-function action_template()
- local romBoardName, device_name, bev1, bev1p1, p1_os, bev1p2, p2_os, bev2, bev2p1, bev2p2, current_partition = obtain_device_info()
- ltemplate.render("advanced_reboot/advanced_reboot",{
- romBoardName=romBoardName,
- device_name=device_name,
- bev1p1=bev1p1,
- p1_os=p1_os,
- bev1p2=bev1p2,
- p2_os=p2_os,
- current_partition=current_partition,
- errorMessage=errorMessage})
-end
-
-function action_reboot()
- ltemplate.render("advanced_reboot/applyreboot", {
- title = i18n.translate("Rebooting..."),
- msg = 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 = ip.new(util.imatch(uci:get("network", "lan", "ipaddr"))() or "192.168.1.1")
- })
- sys.reboot()
-end
-
-function action_altreboot()
- local romBoardName, device_name, bev1, bev1p1, p1_os, bev1p2, p2_os, bev2, bev2p1, bev2p2, current_partition = obtain_device_info()
- local zyxelFlagPartition, zyxelBootFlag, zyxelNewBootFlag, errorCode, curEnvSetting, newEnvSetting
- errorMessage = nil
- errorCode = 0
- if http.formvalue("cancel") then
- http.redirect(dispatcher.build_url('admin/system/advanced_reboot'))
- return
- end
- local step = tonumber(http.formvalue("step") or 1)
- if step == 1 then
- if fs.access("/usr/sbin/fw_printenv") and fs.access("/usr/sbin/fw_setenv") then
- ltemplate.render("advanced_reboot/alternative_reboot",{})
- else
- ltemplate.render("advanced_reboot/advanced_reboot",{errorMessage = i18n.translate("No access to fw_printenv or fw_printenv!")})
- end
- elseif step == 2 then
- if bev1 or bev2 then -- Linksys devices
- if bev1 then
- curEnvSetting = tonumber(util.trim(util.exec("fw_printenv -n " .. bev1)))
- if not curEnvSetting then
- errorMessage = errorMessage .. i18n.translatef("Unable to obtain firmware environment variable: %s.", bev1)
- util.perror(i18n.translatef("Unable to obtain firmware environment variable: %s.", bev1))
- else
- newEnvSetting = curEnvSetting == bev1p1 and bev1p2 or bev1p1
- errorCode = sys.call("fw_setenv " .. bev1 .. " " .. newEnvSetting)
- if errorCode ~= 0 then
- errorMessage = errorMessage or "" .. i18n.translatef("Unable to set firmware environment variable: %s to %s.", bev1, newEnvSetting)
- util.perror(i18n.translatef("Unable to set firmware environment variable: %s to %s.", bev1, newEnvSetting))
- end
- end
- end
- if bev2 then
- curEnvSetting = util.trim(util.exec("fw_printenv -n " .. bev2))
- if not curEnvSetting then
- errorMessage = errorMessage or "" .. i18n.translatef("Unable to obtain firmware environment variable: %s.", bev2)
- util.perror(i18n.translatef("Unable to obtain firmware environment variable: %s.", bev2))
- else
- newEnvSetting = curEnvSetting == bev2p1 and bev2p2 or bev2p1
- errorCode = sys.call("fw_setenv " .. bev2 .. " '" .. newEnvSetting .. "'")
- if errorCode ~= 0 then
- errorMessage = errorMessage or "" .. i18n.translatef("Unable to set firmware environment variable: %s to %s.", bev2, newEnvSetting)
- util.perror(i18n.translatef("Unable to set firmware environment variable: %s to %s.", bev2, newEnvSetting))
- end
- end
- end
- else -- NetGear device
- if not zyxelFlagPartition then zyxelFlagPartition = util.trim(util.exec(". /lib/functions.sh; find_mtd_part 0:DUAL_FLAG")) end
- if not zyxelFlagPartition then
- errorMessage = errorMessage .. i18n.translate("Unable to find Dual Boot Flag Partition." .. " ")
- util.perror(i18n.translate("Unable to find Dual Boot Flag Partition."))
- else
- zyxelBootFlag = tonumber(util.exec("dd if=" .. zyxelFlagPartition .. " bs=1 count=1 2>/dev/null | hexdump -n 1 -e '1/1 \"%d\"'"))
- zyxelNewBootFlag = zyxelBootFlag and zyxelBootFlag == 1 and "\\xff" or "\\x01"
- if zyxelNewBootFlag then
- errorCode = sys.call("printf \"" .. zyxelNewBootFlag .. "\" >" .. zyxelFlagPartition )
- if errorCode ~= 0 then
- errorMessage = errorMessage or "" .. i18n.translatef("Unable to set Dual Boot Flag Partition entry for partition: %s.", zyxelFlagPartition)
- util.perror(i18n.translatef("Unable to set Dual Boot Flag Partition entry for partition: %s.", zyxelFlagPartition))
- end
- end
- end
- end
- if not errorMessage then
- ltemplate.render("advanced_reboot/applyreboot", {
- title = i18n.translate("Rebooting..."),
- msg = 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."),
- addr = ip.new(util.imatch(uci:get("network", "lan", "ipaddr"))() or "192.168.1.1")
- })
- sys.reboot()
- else
- ltemplate.render("advanced_reboot/advanced_reboot",{
- romBoardName=romBoardName,
- device_name=device_name,
- bev1p1=bev1p1,
- p1_os=p1_os,
- bev1p2=bev1p2,
- p2_os=p2_os,
- current_partition=current_partition,
- errorMessage = errorMessage})
- end
- end
-end
-
-function action_poweroff()
- if http.formvalue("cancel") then
- http.redirect(dispatcher.build_url('admin/system/advanced_reboot'))
- return
- end
- local step = tonumber(http.formvalue("step") or 1)
- if step == 1 then
- if fs.access("/sbin/poweroff") then
- ltemplate.render("advanced_reboot/power_off",{})
- else
- ltemplate.render("advanced_reboot/advanced_reboot",{})
- end
- elseif step == 2 then
- ltemplate.render("advanced_reboot/applyreboot", {
- title = i18n.translate("Shutting down..."),
- msg = i18n.translate("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."),
- addr = ip.new(util.imatch(uci:get("network", "lan", "ipaddr"))() or "192.168.1.1")
- })
- sys.call("/sbin/poweroff")
- end
-end
diff --git a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm
deleted file mode 100644
index 49985b32ce..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm
+++ /dev/null
@@ -1,100 +0,0 @@
-<%#
- Copyright 2008 Steven Barth <steven@midlink.org>
- Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org>
- Copyright 2017-2020 Stan Grishin <stangri@melmac.net>
- Licensed to the public under the Apache License 2.0.
--%>
-
-<%+header%>
-
-<h2 name="content"><%:Advanced Reboot%></h2>
-<br />
-
-<%- local c = require("luci.model.uci").cursor():changes(); if c and next(c) then -%>
- <p class="alert-message warning"><%:Warning: There are unsaved changes that will get lost on reboot!%></p>
-<%- end -%>
-
-<%- if errorMessage and errorMessage ~= "" then -%>
- <p class="alert-message warning"><%:ERROR: %><%=errorMessage%></p>
-<%- end -%>
-
-<%- if device_name then -%>
-<fieldset class="cbi-section">
- <legend><%=device_name%><%: Partitions%></legend>
- <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%></div>
- <div class="th cbi-section-table-cell"><%:Reboot%></div>
- </div>
- <div class="tr cbi-section-table-row cbi-rowstyle-<%- if bev1p1 == current_partition then -%><%=1%><%- else -%><%=2%><%- end -%>">
- <div class="td">
- <%=string.format("%X", bev1p1)%>
- </div>
- <div class="td">
- <%- if bev1p1 == current_partition then -%><%:Current%><%- else -%><%:Alternative%><%- end -%>
- </div>
- <div class="td">
- <%=p1_os%>
- </div>
- <div class="td">
- <%- if bev1p1 == 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 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 important" value="<%:Reboot to alternative partition...%>" />
- </form>
- <%- end -%>
- </div>
- </div>
- <div class="tr cbi-section-table-row cbi-rowstyle-<%- if bev1p2 == current_partition then -%><%=1%><%- else -%><%=2%><%- end -%>">
- <div class="td">
- <%=string.format("%X", bev1p2)%>
- </div>
- <div class="td">
- <%- if bev1p2 == current_partition then -%><%:Current%><%- else -%><%:Alternative%><%- end -%>
- </div>
- <div class="td">
- <%=p2_os%>
- </div>
- <div class="td">
- <%- if bev1p2 == 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 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 important" value="<%:Reboot to alternative partition...%>" />
- </form>
- <%- end -%>
- </div>
- </div>
- </div>
-</fieldset>
-<%- else -%>
- <%- 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 />
-
-<%- 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 important" value="<%:Perform power off...%>" />
-</form>
-<%- else -%>
- <p class="alert-message warning"><%:Warning: This system does not support powering off!%></p>
-<%- end -%>
-
-<%+footer%>
diff --git a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm
deleted file mode 100644
index db11020628..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm
+++ /dev/null
@@ -1,29 +0,0 @@
-<%#
- Copyright 2008 Steven Barth <steven@midlink.org>
- Copyright 2008-2009 Jo-Philipp Wich <jow@openwrt.org>
- Copyright 2017-2018 Stan Grishin <stangri@melmac.net>
- Licensed to the public under the Apache License 2.0.
--%>
-
-<%+header%>
-
-<h2 name="content"><%:Reboot Device to an Alternative Partition%> - <%:Confirm%></h2>
-<p>
- <%_ 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. %>
-</p>
-
-<div class="cbi-page-actions right">
- <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 important" name="cancel" type="submit" value="<%:Cancel%>" />
- <input class="cbi-button cbi-button-apply important" type="submit" value="<%:Proceed%>" />
- </form>
-</div>
-
-<%+footer%>
diff --git a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm
deleted file mode 100644
index 94ac36bd70..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm
+++ /dev/null
@@ -1,53 +0,0 @@
-<%#
- Copyright 2008 Steven Barth <steven@midlink.org>
- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
- Licensed to the public under the Apache License 2.0.
--%>
-
-<html>
- <head>
- <title><%=luci.sys.hostname()%> - <%= title or translate("Rebooting...") %></title>
- <link rel="stylesheet" type="text/css" media="screen" href="<%=media%>/cascade.css?v=git-19.271.68204-f8775ee" />
- <script type="text/javascript" src="<%=resource%>/xhr.js?v=git-19.271.68204-f8775ee"></script>
- <script type="text/javascript">//<![CDATA[
- var interval = window.setInterval(function() {
- var img = new Image();
- var target = ('https:' == document.location.protocol ? 'https://' : 'http://') + <%=addr and "'%s'" % addr or "window.location.host"%>;
-
- img.onload = function() {
- window.clearInterval(interval);
- window.location.replace(target);
- };
-
- img.src = target + '<%=resource%>/icons/loading.gif?' + Math.random();
-
- }, 5000);
- //]]></script>
- </head>
- <body>
- <header>
- <div class="fill">
- <div class="container">
- <p class="brand"><%=luci.sys.hostname() or "?"%></p>
- </div>
- </div>
- </header>
- &#160;
- <div class="main">
- <div id="maincontainer">
- <div id="maincontent" class="container">
- <h2 name="content" id="applyreboot-container" ><%:System%> - <%= title or translate("Rebooting...") %></h2>
- <div class="cbi-section" id="applyreboot-section">
- <div>
- <%= msg or translate("Changes applied.") %>
- </div>
- <div>
- <img src="<%=resource%>/icons/loading.gif" alt="<%:Loading%>" style="vertical-align:middle" />
- <%:Waiting for changes to be applied...%>
- </div>
- </div>
- </div>
- </div>
- </div>
- </body>
-</html> \ No newline at end of file
diff --git a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm b/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm
deleted file mode 100644
index 1acf01b995..0000000000
--- a/applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm
+++ /dev/null
@@ -1,25 +0,0 @@
-<%#
- Copyright 2008 Steven Barth <steven@midlink.org>
- Copyright 2008-2009 Jo-Philipp Wich <jow@openwrt.org>
- Copyright 2017-2018 Stan Grishin <stangri@melmac.net>
- Licensed to the public under the Apache License 2.0.
--%>
-
-<%+header%>
-
-<h2 name="content"><%:Power Off Device%> - <%:Confirm%></h2>
-<p>
- <%_ 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. %>
-</p>
-
-<div class="cbi-page-actions right">
- <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 important" name="cancel" type="submit" value="<%:Cancel%>" />
- <input class="cbi-button cbi-button-apply important" type="submit" value="<%:Proceed%>" />
- </form>
-</div>
-
-<%+footer%>
diff --git a/applications/luci-app-advanced-reboot/po/ar/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ar/advanced-reboot.po
index d8426c1699..cdb4f10498 100644
--- a/applications/luci-app-advanced-reboot/po/ar/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ar/advanced-reboot.po
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-07-10 10:42+0000\n"
+"PO-Revision-Date: 2021-03-08 13:04+0000\n"
"Last-Translator: Mohammed Abu Hassan <medo94125@gmail.com>\n"
"Language-Team: Arabic <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/ar/>\n"
@@ -9,133 +9,109 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
-"X-Generator: Weblate 4.2-dev\n"
+"X-Generator: Weblate 4.5.1\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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
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:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
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 "امنح UCI والوصول إلى الملفات لإعادة تشغيل luci-app-advanced-reboot"
+msgstr "امنح UCI و التمكن من الملفات ل luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "جار التحميل"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
-msgstr "لا يمكن الوصول إلى fw_printenv أو 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:204
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:200
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:226
msgid "Perform power off..."
-msgstr "أداء السلطة ..."
+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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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..."
-msgstr "جارٍ إعادة التشغيل ..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
msgid "Status"
msgstr "الحالة"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "نظام"
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193
-#, fuzzy
-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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-"يقوم النظام بإعادة التشغيل الآن. <br /> لا تقم بإيقاف تشغيل الجهاز! <br /> "
-"انتظر بضع دقائق قبل محاولة إعادة الاتصال. قد يكون من الضروري تجديد عنوان "
-"الكمبيوتر الخاص بك للوصول إلى الجهاز مرة أخرى ، حسب إعداداتك."
-#: 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:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "فشل أمر إعادة التشغيل مع الرمز %d"
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:100
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 "
@@ -147,7 +123,7 @@ msgstr ""
"الضروري تجديد عنوان الكمبيوتر الخاص بك للوصول إلى الجهاز مرة أخرى ، حسب "
"إعداداتك."
-#: 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:39
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 "
@@ -156,40 +132,31 @@ msgstr ""
"النظام مغلق الآن. <br /> لا تقذف الجهاز! <br /> قد يكون من الضروري تجديد "
"عنوان الكمبيوتر الخاص بك للوصول إلى الجهاز مرة أخرى ، بناءً على إعداداتك."
-#: 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:14
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:13
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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "غير قادر على تعيين متغير بيئة البرامج الثابتة:٪ s إلى٪ 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -203,44 +170,74 @@ msgstr ""
"تحذير: قد يحتوي القسم البديل على إعداداته الخاصة به والبرامج الثابتة "
"المختلفة تمامًا. <br /> <br /> نظرًا لاختلاف تكوين الشبكة و WiFi SSID / كلمة "
"المرور على القسم البديل ، قد تضطر إلى ضبط إعدادات الكمبيوتر حتى تتمكن من "
-"للوصول إلى جهازك بمجرد إعادة تشغيله. <br /> <br /> يُرجى أيضًا الانتباه إلى "
-"أن البرامج الثابتة للقسم البديل قد لا توفر طريقة سهلة لتحويل القسم النشط "
-"وإعادة التشغيل إلى القسم النشط حاليًا. <br /> <br / > انقر فوق \"متابعة\" "
-"أدناه لإعادة تشغيل الجهاز إلى قسم بديل."
+"للوصول إلى جهازك بمجرد إعادة تشغيله. <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:47
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 /> انقر فوق \"متابعة\" أدناه لإيقاف تشغيل جهازك."
+"تحذير: قد يؤدي إيقاف التشغيل إلى إعادة تشغيل جهاز لا يدعم إيقاف التشغيل. "
+"<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:71
+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:216
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:193
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:229
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:217
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 "جار التحميل"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "محاولة إلغاء تحميل قسم بديل (mtd٪ s)"
+#~ msgid "Rebooting..."
+#~ msgstr "جارٍ إعادة التشغيل ..."
+
+#~ msgid "System"
+#~ msgstr "نظام"
+
+#, fuzzy
+#~ 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 /> لا تقم بإيقاف تشغيل الجهاز! <br /"
+#~ "> انتظر بضع دقائق قبل محاولة إعادة الاتصال. قد يكون من الضروري تجديد "
+#~ "عنوان الكمبيوتر الخاص بك للوصول إلى الجهاز مرة أخرى ، حسب إعداداتك."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "في انتظار تطبيق التغييرات ..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "محاولة تحميل قسم بديل (mtd٪ s)"
+
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "محاولة إلغاء تحميل قسم بديل (mtd٪ s)"
diff --git a/applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po
index a1b7efeca8..2dc89dd059 100644
--- a/applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po
@@ -1,48 +1,43 @@
msgid ""
msgstr ""
+"PO-Revision-Date: 2021-01-26 11:29+0000\n"
+"Last-Translator: Iskren Mihaylov <iskren.mihaylov91@gmail.com>\n"
+"Language-Team: Bulgarian <https://hosted.weblate.org/projects/openwrt/"
+"luciapplicationsadvanced-reboot/bg/>\n"
"Language: bg\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.5-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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
msgid "Compressed"
-msgstr ""
+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:125
msgid "Confirm"
-msgstr ""
+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:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
msgid "ERROR:"
-msgstr ""
+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:206
msgid "Firmware"
msgstr ""
@@ -50,81 +45,72 @@ msgstr ""
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 ""
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-#: 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:100
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 "
@@ -132,47 +118,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: 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:39
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +161,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/bn_BD/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/bn_BD/advanced-reboot.po
index 88228bb96b..752b6a0779 100644
--- a/applications/luci-app-advanced-reboot/po/bn_BD/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/bn_BD/advanced-reboot.po
@@ -4,45 +4,34 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
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"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
msgid "Firmware"
msgstr ""
@@ -50,81 +39,72 @@ msgstr ""
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 ""
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-#: 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:100
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 "
@@ -132,47 +112,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: 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:39
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +155,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po
index 08ff494ded..71e59d61db 100644
--- a/applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po
@@ -1,54 +1,43 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2019-10-20 13:10+0000\n"
-"Last-Translator: Adolfo Jayme Barrientos <fitojb@ubuntu.com>\n"
+"PO-Revision-Date: 2021-03-08 13:03+0000\n"
+"Last-Translator: BenRoura <benrouravkg@gmail.com>\n"
"Language-Team: Catalan <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/ca/>\n"
"Language: ca\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 3.9.1-dev\n"
+"X-Generator: Weblate 4.5.1\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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
-msgstr ""
+msgstr "Cancel•lar"
-#: 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:163
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:125
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"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
msgid "Firmware"
msgstr ""
@@ -56,81 +45,72 @@ msgstr ""
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 "S’està carregant"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
msgid "Status"
msgstr "Estat"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-#: 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:100
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 "
@@ -138,47 +118,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: 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:39
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -190,40 +161,35 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Loading"
+#~ msgstr "S’està carregant"
#~ msgid "Action"
#~ msgstr "Acció"
diff --git a/applications/luci-app-advanced-reboot/po/cs/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/cs/advanced-reboot.po
index b1884c2df3..785858e4b0 100644
--- a/applications/luci-app-advanced-reboot/po/cs/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/cs/advanced-reboot.po
@@ -1,54 +1,43 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-03-11 01:51+0000\n"
-"Last-Translator: Tomas Greif <greif.tomas@gmail.com>\n"
+"PO-Revision-Date: 2021-04-09 08:04+0000\n"
+"Last-Translator: Pavel Pernička <pernicka.pa@gmail.com>\n"
"Language-Team: Czech <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/cs/>\n"
"Language: cs\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
-"X-Generator: Weblate 4.0-dev\n"
+"X-Generator: Weblate 4.6-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Rozšířený restart"
-#: 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 "Alternativní"
-
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Storno"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Změny byly provedeny."
-
-#: 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:163
msgid "Compressed"
-msgstr ""
+msgstr "Komprimované"
-#: 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:125
msgid "Confirm"
msgstr "Potvrdit"
-#: 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 "Aktuální"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
msgid "ERROR:"
msgstr "CHYBA:"
-#: 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:206
msgid "Firmware"
msgstr "Firmware"
@@ -56,85 +45,73 @@ msgstr "Firmware"
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 "Načítání"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
"Není přístup k nástrojům /usr/sbin/fw_printenv nebo /usr/sbin/fw_setenv!"
-#: 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:204
msgid "Partition"
msgstr "Oddíl"
-#: 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:200
msgid "Partitions"
msgstr "Oddíly"
-#: 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:226
msgid "Perform power off..."
msgstr "Proveďte vypnutí..."
-#: 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:46
msgid "Power Off Device"
msgstr "Vypnutí zařízení"
-#: 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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Pokračovat"
-#: 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:207
msgid "Reboot"
msgstr "Restartovat"
-#: 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:125
msgid "Reboot Device to an Alternative Partition"
msgstr "Restartování zařízení do alternativního oddílu"
-#: 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:157
msgid "Reboot to alternative partition..."
msgstr "Restartovat do alternativního oddílu..."
-#: 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:154
msgid "Reboot to current partition"
msgstr "Restartovat do aktuálního oddílu"
-#: 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..."
-msgstr "Probíhá restartování…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
msgid "Shutting down..."
msgstr "Probíhá vypínání..."
-#: 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:205
msgid "Status"
msgstr "Stav"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Systém"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-"Systém se nyní znovu bootuje.<br/>NEVYPÍNEJTE PŘÍSTROJ!<br/>Počkejte několik "
-"minut, než se pokusíte znovu připojit. Může být nutné obnovit IP adresu "
-"počítače pro spojení se zařízením, a to v závislosti na nastavení."
-#: 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:100
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 "
@@ -146,7 +123,7 @@ msgstr ""
"obnovit IP adresu počítače pro spojení se zařízením, a to v závislosti na "
"nastavení."
-#: 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:39
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 "
@@ -155,40 +132,31 @@ msgstr ""
"Systém se nyní vypíná.<br/>NEVYPÍNEJTE PŘÍSTROJ!<br/>Může být nutné obnovit "
"IP adresu počítače pro spojení se zařízením, a to v závislosti na nastavení."
-#: 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 "Nelze najít druhý oddíl s příznakem pro bootovaní."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
msgid "Unknown"
msgstr "Neznámé"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -208,7 +176,7 @@ msgstr ""
"aktuálně aktivního oddílu. <br /> <br /> Klepnutím na 'Pokračovat' níže "
"restartujte zařízení do jiného oddílu."
-#: 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:47
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 "
@@ -217,35 +185,58 @@ msgstr ""
"VAROVÁNÍ: Vypnutí může vést k restartu zařízení, které nepodporuje vypínání."
"<br /> <br /> Chcete-li zařízení vypnout, klepněte níže na 'Pokračovat'."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Čekání na provedení změn..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Varování: Zařízení (%s) je neznámé nebo se nejedná o zařízení se dvěma "
"oddíly!"
-#: 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:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "Varování: Existují neuložené změny, které se po restartu ztratí!"
-#: 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:229
msgid "Warning: This system does not support powering off!"
msgstr "Varování: Tento systém nepodporuje vypínání!"
-#: 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:217
msgid "Warning: Unable to obtain device information!"
msgstr "Varování: Nelze získat informace o zařízení!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "Alternativní"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Změny byly provedeny."
+
+#~ msgid "Current"
+#~ msgstr "Aktuální"
+
+#~ msgid "Loading"
+#~ msgstr "Načítání"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Probíhá restartování…"
+
+#~ msgid "System"
+#~ msgstr "Systém"
+
+#~ 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 ""
+#~ "Systém se nyní znovu bootuje.<br/>NEVYPÍNEJTE PŘÍSTROJ!<br/>Počkejte "
+#~ "několik minut, než se pokusíte znovu připojit. Může být nutné obnovit IP "
+#~ "adresu počítače pro spojení se zařízením, a to v závislosti na nastavení."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Čekání na provedení změn..."
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Nelze získat proměnnou prostředí firmwaru"
diff --git a/applications/luci-app-advanced-reboot/po/de/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/de/advanced-reboot.po
index 78a6252ca3..55568b0ad6 100644
--- a/applications/luci-app-advanced-reboot/po/de/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/de/advanced-reboot.po
@@ -1,54 +1,43 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-07-11 21:29+0000\n"
-"Last-Translator: ssantos <ssantos@web.de>\n"
+"PO-Revision-Date: 2021-04-28 12:14+0000\n"
+"Last-Translator: Niklas Merkelt <hibo98.niklas@gmail.com>\n"
"Language-Team: German <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/de/>\n"
"Language: de\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 4.2-dev\n"
+"X-Generator: Weblate 4.7-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Erweitertes Neustarten"
-#: 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 "Alternative"
-
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Abbrechen"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Änderungen angewendet."
-
-#: 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:163
msgid "Compressed"
msgstr "Komprimiert"
-#: 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:125
msgid "Confirm"
msgstr "Bestätigen"
-#: 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 "Aktuell"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+msgid "Device unreachable! Still waiting for device..."
+msgstr "Gerät nicht erreichbar! Warte immer noch..."
-#: 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:198
msgid "ERROR:"
msgstr "FEHLER:"
-#: 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:206
msgid "Firmware"
msgstr "Firmware"
@@ -56,85 +45,72 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Gewähre UCI und Datei-Zugriff auf luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Lade"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Kein Zugriff auf fw_printenv oder fw_setenv!"
-#: 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:204
msgid "Partition"
msgstr "Partition"
-#: 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:200
msgid "Partitions"
msgstr "Partitionen"
-#: 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:226
msgid "Perform power off..."
msgstr "Ausschalten durchführen....."
-#: 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:46
msgid "Power Off Device"
msgstr "Gerät ausschalten"
-#: 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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Weiter"
-#: 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:207
msgid "Reboot"
msgstr "Neu Starten"
-#: 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:125
msgid "Reboot Device to an Alternative Partition"
msgstr "Gerät von einer alternativen Partition neu starten"
-#: 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:157
msgid "Reboot to alternative partition..."
msgstr "Von alternativer Partition neu starten..."
-#: 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:154
msgid "Reboot to current partition"
msgstr "Von aktueller Partition neu starten"
-#: 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..."
-msgstr "Starte neu..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+msgid "Rebooting…"
+msgstr "Neustart…"
-#: 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:38
msgid "Shutting down..."
msgstr "Fahre herunter..."
-#: 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:205
msgid "Status"
msgstr "Status"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr "Die Dual Boot Flag-Partition: %s ist kein Block-Gerät."
-#: 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 ""
-"Das System wird jetzt neu gestartet.<br /> DAS GERÄT NICHT AUSSCHALTEN!<br /"
-"> Einige Minuten warten, bevor versucht wird, die Verbindung "
-"wiederherzustellen. Es kann notwendig sein, die Adresse des Computers zu "
-"erneuern, um das Gerät je nach Einstellungen wieder zu erreichen."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "Der Neustartbefehl ist mit dem Code %d fehlgeschlagen"
-#: 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:100
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 "
@@ -147,7 +123,7 @@ msgstr ""
"Computers zu erneuern, um das Gerät je nach den Einstellungen wieder zu "
"erreichen."
-#: 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:39
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 "
@@ -157,40 +133,31 @@ msgstr ""
"Es kann notwendig sein, die Adresse des Computers zu erneuern, um das Gerät "
"je nach den Einstellungen wieder zu erreichen."
-#: 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 "Kann Gerätename nicht finden."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Dual Boot Flag-Partition konnte nicht gefunden werden."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Konnte Firmware-Umgebungsvariable nicht finden: %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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "Konnte Partition nicht mit Dualboot-Kennzeichnung markieren: %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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Konnte Firmware-Umgebungsvariable nicht setzen: %s = %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:163
msgid "Unknown"
msgstr "Unbekannt"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -211,45 +178,75 @@ msgstr ""
"wieder auf die aktuell aktive Partition zu booten.<br /><br /> Klicken Sie "
"unten auf \"Weiter\", um das Gerät neu zu starten."
-#: 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:47
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 ""
-"WARNUNG: Das Ausschalten kann zu einem Neustart eines Geräts führen, das das "
-"Ausschalten nicht unterstützt.<br /><br /> Auf \"Fortfahren\" klicken, um "
-"das Gerät auszuschalten."
+"WARNUNG: Das Ausschalten kann zu einem Neustart eines Geräts führen, dass "
+"das Ausschalten nicht unterstützt.<br /><br /> Auf \"Fortfahren\" klicken, "
+"um das Gerät auszuschalten."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Änderungen werden angewandt..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+msgid "Waiting for device..."
+msgstr "Warte auf Gerät..."
-#: 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:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr "Warnung: Gerät (%s) ist unbekannt oder ist kein Dual-Partitionsgerät!"
-#: 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:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Achtung: Es gibt ungespeicherte Änderungen die bei einem Neustart verloren "
"gehen!"
-#: 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:229
msgid "Warning: This system does not support powering off!"
msgstr "Warnung: Dieses System unterstützt kein Ausschalten!"
-#: 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:217
msgid "Warning: Unable to obtain device information!"
msgstr "Warnung: Geräteinformationen konnten nicht abgerufen werden!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "Versuche, alternative Partition einzuhängen (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Alternative"
+
+#~ msgid "Changes applied."
+#~ msgstr "Änderungen angewendet."
+
+#~ msgid "Current"
+#~ msgstr "Aktuell"
+
+#~ msgid "Loading"
+#~ msgstr "Lade"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Starte neu..."
+
+#~ msgid "System"
+#~ msgstr "System"
+
+#~ 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 ""
+#~ "Das System wird jetzt neu gestartet.<br /> DAS GERÄT NICHT AUSSCHALTEN!"
+#~ "<br /> Einige Minuten warten, bevor versucht wird, die Verbindung "
+#~ "wiederherzustellen. Es kann notwendig sein, die Adresse des Computers zu "
+#~ "erneuern, um das Gerät je nach Einstellungen wieder zu erreichen."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Änderungen werden angewandt..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "Versuche, alternative Partition einzuhängen (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "versuche, alternative Partition einzuhängen (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "versuche, alternative Partition einzuhängen (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Firmware-Umgebungsvariable kann nicht abgerufen werden"
diff --git a/applications/luci-app-advanced-reboot/po/el/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/el/advanced-reboot.po
index 01070a6642..1bbd7f5bac 100644
--- a/applications/luci-app-advanced-reboot/po/el/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/el/advanced-reboot.po
@@ -1,140 +1,116 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-05-23 15:41+0000\n"
-"Last-Translator: george k <norhorn@gmail.com>\n"
+"PO-Revision-Date: 2021-04-17 10:26+0000\n"
+"Last-Translator: MarioK239 <marios.k239@gmail.com>\n"
"Language-Team: Greek <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/el/>\n"
"Language: el\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 4.1-dev\n"
+"X-Generator: Weblate 4.6-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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
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:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
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 "Παραχωρήστε πρόσβαση αρχείων και UCI στο luci-app-advanced-reboot"
-#: 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:122
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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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..."
-msgstr "Επανεκκίνηση..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
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:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr "Το σημείο καταχώρησης διπλής εκκίνησης %s δεν είναι συσκευή block."
-#: 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 /> ΜΗΝ ΑΠΕΝΕΡΓΟΠΟΙΗΣΕΤΕ ΤΗΝ ΣΥΣΚΕΥΗ! "
-"<br /> Περιμένετε λίγα λεπτά προτού προσπαθήσετε να επανασυνδεθείτε. Ίσως "
-"χρειαστεί να ανανεώσετε τη διεύθυνση του υπολογιστή σας για να συνδεθείται "
-"ξανά στη συσκευή, ανάλογα με τις ρυθμίσεις σας."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "Η εντολή επανεκκίνησης απέτυχε με σφάλμα %d"
-#: 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:100
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 "
@@ -147,7 +123,7 @@ msgstr ""
"του υπολογιστή σας για να συνδεθείτε ξανά στη συσκευή, ανάλογα με τις "
"ρυθμίσεις σας."
-#: 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:39
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 "
@@ -157,40 +133,31 @@ msgstr ""
"<br /> Ίσως χρειαστεί να ανανεώσετε τη διεύθυνση του υπολογιστή σας για να "
"συνδεθείτε ξανά στη συσκευή, ανάλογα με τις ρυθμίσεις σας."
-#: 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 "Δεν είναι δυνατή η εύρεση Διπλής καταχώρησης Σημαίας Εκκίνησης."
+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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Δεν είναι δυνατή η λήψη στοιχείων firmware: %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:13
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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Δεν μπορεί να ρυθμιστούν στοιχεία του firmware: %s έως %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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -201,8 +168,19 @@ msgid ""
"back to the currently active partition.<br /><br /> Click \"Proceed\" below "
"to reboot device to an alternative partition."
msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+"ΠΡΟΕΙΔΟΠΟΙΗΣΗ: Ένα εναλλακτικό διαμέρισμα μπορεί να έχει τις δικές του "
+"ρυθμίσεις και εντελώς διαφορετικό υλικολογισμικό. <br /> <br /> Καθώς η "
+"διαμόρφωση του δικτύου σας και το SSID / κωδικός πρόσβασης WiFi σε "
+"εναλλακτικό διαμέρισμα ενδέχεται να είναι διαφορετικά, ίσως χρειαστεί να "
+"προσαρμόσετε τις ρυθμίσεις του υπολογιστή σας για να μπορείτε να έχετε "
+"πρόσβαση στη συσκευή σας μόλις γίνει επανεκκίνηση. <br /> <br /> Λάβετε "
+"επίσης υπόψη ότι το εναλλακτικό υλικολογισμικό διαμερισμάτων ενδέχεται να "
+"μην παρέχει έναν εύκολο τρόπο εναλλαγής του ενεργού διαμερίσματος και "
+"επανεκκίνησης στο τρέχον ενεργό διαμέρισμα. <br /> <br / > Κάντε κλικ στο "
+"κουμπί \"Συνέχεια\" παρακάτω για επανεκκίνηση της συσκευής σε εναλλακτικό "
+"διαμέρισμα."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:47
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 "
@@ -212,34 +190,64 @@ 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:71
+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:216
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:193
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:229
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:217
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 /> ΜΗΝ ΑΠΕΝΕΡΓΟΠΟΙΗΣΕΤΕ ΤΗΝ ΣΥΣΚΕΥΗ! "
+#~ "<br /> Περιμένετε λίγα λεπτά προτού προσπαθήσετε να επανασυνδεθείτε. Ίσως "
+#~ "χρειαστεί να ανανεώσετε τη διεύθυνση του υπολογιστή σας για να "
+#~ "συνδεθείται ξανά στη συσκευή, ανάλογα με τις ρυθμίσεις σας."
+
+#~ 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 "Αδύνατη λήψη μεταβλητής περιβάλλοντος υλικολογισμικού"
diff --git a/applications/luci-app-advanced-reboot/po/en/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/en/advanced-reboot.po
index f21e15e876..6d64ae3aa3 100644
--- a/applications/luci-app-advanced-reboot/po/en/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/en/advanced-reboot.po
@@ -4,45 +4,34 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
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"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
msgid "Firmware"
msgstr ""
@@ -50,81 +39,72 @@ msgstr ""
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 ""
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-#: 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:100
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 "
@@ -132,47 +112,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: 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:39
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +155,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po
index 3541ac753c..b925ca8166 100644
--- a/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"POT-Creation-Date: \n"
-"PO-Revision-Date: 2020-06-16 16:09+0000\n"
-"Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n"
+"PO-Revision-Date: 2021-04-18 12:54+0000\n"
+"Last-Translator: Enrique Lapenta <enriquelap20@gmail.com>\n"
"Language-Team: Spanish <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/es/>\n"
"Language: es\n"
@@ -11,47 +11,36 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 4.1.1-dev\n"
+"X-Generator: Weblate 4.6-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Cancelar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Cambios aplicados."
-
-#: 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:163
msgid "Compressed"
msgstr "Comprimido"
-#: 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:125
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/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+msgid "Device unreachable! Still waiting for device..."
+msgstr "¡Dispositivo inalcanzable! Todavía esperando al dispositivo..."
-#: 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:198
msgid "ERROR:"
msgstr "ERROR:"
-#: 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:206
msgid "Firmware"
msgstr "Firmware"
@@ -59,85 +48,73 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Conceder acceso a UCI y archivos para luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Cargando"
-
-#: 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:122
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Partition"
msgstr "Partición"
-#: 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:200
msgid "Partitions"
msgstr "Particiones"
-#: 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:226
msgid "Perform power off..."
msgstr "Realizar apagado..."
-#: 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:46
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Proceder"
-#: 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:207
msgid "Reboot"
msgstr "Reiniciar"
-#: 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:125
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:157
msgid "Reboot to alternative partition..."
msgstr "Reiniciar a la 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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:154
msgid "Reboot to current partition"
msgstr "Reiniciar a la partición actual"
-#: 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..."
-msgstr "Reiniciando..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+msgid "Rebooting…"
+msgstr "Reiniciando…"
-#: 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:38
msgid "Shutting down..."
msgstr "Apagando..."
-#: 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:205
msgid "Status"
msgstr "Estado"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Sistema"
-
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
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."
+"La bandera de partición de arranque dual: %s no es un dispositivo de bloque."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "El comando de reinicio falló con el código %d"
-#: 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:100
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 "
@@ -150,7 +127,7 @@ msgstr ""
"computadora para llegar al dispositivo nuevamente, dependiendo de su "
"configuración."
-#: 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:39
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 "
@@ -160,42 +137,33 @@ msgstr ""
"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: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 "No se puede encontrar el nombre de la placa del dispositivo."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr "No se puede obtener la variable de entorno del firmware: %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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
"No se puede establecer la entrada de Partición de indicador de arranque dual "
"para la partición: %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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "No se puede establecer la variable de entorno del firmware: %s a %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:163
msgid "Unknown"
msgstr "Desconocido"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -217,7 +185,7 @@ msgstr ""
"\"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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:47
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 "
@@ -227,35 +195,65 @@ msgstr ""
"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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Esperando a que se apliquen los cambios..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+msgid "Waiting for device..."
+msgstr "Esperando al dispositivo..."
-#: 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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:229
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:217
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:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "intentando montar una partición alternativa (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Alternativo"
+
+#~ msgid "Changes applied."
+#~ msgstr "Cambios aplicados."
+
+#~ msgid "Current"
+#~ msgstr "Actual"
+
+#~ msgid "Loading"
+#~ msgstr "Cargando"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Reiniciando..."
+
+#~ msgid "System"
+#~ msgstr "Sistema"
+
+#~ 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."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Esperando a que se apliquen los cambios..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "intentando montar una partición alternativa (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "intentando desmontar una partición alternativa (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "intentando desmontar una partición alternativa (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "No se puede obtener la variable de entorno de firmware"
diff --git a/applications/luci-app-advanced-reboot/po/fi/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/fi/advanced-reboot.po
index 47ff1bc93f..bc008e5524 100644
--- a/applications/luci-app-advanced-reboot/po/fi/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/fi/advanced-reboot.po
@@ -1,54 +1,43 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-06-23 07:42+0000\n"
-"Last-Translator: Petri Asikainen <uniluodossa@gmail.com>\n"
+"PO-Revision-Date: 2021-01-20 15:48+0000\n"
+"Last-Translator: olli <olli.asikainen@gmail.com>\n"
"Language-Team: Finnish <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/fi/>\n"
"Language: fi\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 4.2-dev\n"
+"X-Generator: Weblate 4.5-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Monipuolinen uudelleenkäynnistys"
-#: 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 "Vaihtoehto"
-
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Peruuta"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Muutokset tehty."
-
-#: 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:163
msgid "Compressed"
msgstr "Pakattu"
-#: 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:125
msgid "Confirm"
msgstr "Vahvista"
-#: 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 "Nykyinen"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+msgid "Device unreachable! Still waiting for device..."
+msgstr "Laitetta ei tavoiteta! Odotetaan edelleen laitetta ..."
-#: 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:198
msgid "ERROR:"
msgstr "VIRHE:"
-#: 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:206
msgid "Firmware"
msgstr "Laiteohjelmisto"
@@ -56,85 +45,72 @@ msgstr "Laiteohjelmisto"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Myönnä UCI ja tiedostojen käyttö luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Ladataan"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Ei pääsyä fw_printenv tai 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:204
msgid "Partition"
msgstr "Osio"
-#: 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:200
msgid "Partitions"
msgstr "Osiot"
-#: 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:226
msgid "Perform power off..."
msgstr "Sammutetaan..."
-#: 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:46
msgid "Power Off Device"
msgstr "Sammuta laite"
-#: 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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Suorita"
-#: 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:207
msgid "Reboot"
msgstr "Uudelleenkäynnistä"
-#: 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:125
msgid "Reboot Device to an Alternative Partition"
msgstr "Uudelleenkäynnistä vaihtoehtoisesta osiosta"
-#: 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:157
msgid "Reboot to alternative partition..."
msgstr "Uudelleenkäynnistys vaihtoehtoisesta osiosta..."
-#: 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:154
msgid "Reboot to current partition"
msgstr "Uudellenkäynnistys nykyisestä osiosta"
-#: 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..."
-msgstr "Uudelleenkäynnistetään..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+msgid "Rebooting…"
+msgstr "Uudelleenkäynnistetään…"
-#: 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:38
msgid "Shutting down..."
msgstr "Sammutetaan..."
-#: 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:205
msgid "Status"
msgstr "Tila"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Järjestelmä"
-
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-"Laite uudelleenkäynnistyy.<br /> ÄLÄ SAMMUTA LAITETTA!<br /> Odota muutama "
-"minuutti ennen kuin yrität ottaa yhteyttä. Mahdollisesti sinun täytyy uusia "
-"tietokoneen IP-osoite ennen yhteyden saamista laitteeseen, riippuen "
-"asetuksistasi."
-#: 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:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "Uudelleenkäynnistyskomento epäonnistui, koodi %d"
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:100
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 "
@@ -146,7 +122,7 @@ msgstr ""
"Mahdollisesti sinun täytyy uusia tietokoneen IP-osoite ennen yhteyden "
"saamista laitteeseen, riippuen asetuksistasi."
-#: 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:39
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 "
@@ -156,40 +132,31 @@ msgstr ""
"sinun täytyy uusia tietokoneen IP-osoite ennen yhteyden saamista "
"laitteeseen, riippuen asetuksistasi."
-#: 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 "Dual boot -tilatiedon osiota ei löydy."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Ei voi noutaa käynnistysympäristön muuttujaa: %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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "Ei voida asettaa kaksoiskäynnistyksen merkkiä partitiolle: %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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Ei voida asettaa käynnistysympäristön muuttujaa: %s arvoksi %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:163
msgid "Unknown"
msgstr "Tuntematon"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -209,7 +176,7 @@ msgstr ""
"vaihtaa aktiivista osiota ja palata nykyiseen osioon.<br /><br /> Paina "
"\"Suorita\" uudelleenkäynnistääksesi laite vaihtoehtoisesta osiosta."
-#: 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:47
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 "
@@ -219,31 +186,61 @@ msgstr ""
"johtaa uudelleenkäynnistykseen.<br /><br /> Paina \"Suorita\" sammuttaaksesi "
"laite."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Odotetaan muutosten käyttöönottoa..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+msgid "Waiting for device..."
+msgstr "Odotetaan laitetta..."
-#: 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:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr "Varoitus: Laite (%s) on tuntematon tai ei ole kaksoiskäynnistyslaite!"
-#: 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:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Varoitus: Tallentamattomat muutokset menetetään uudelleenkäynnistyksessä!"
-#: 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:229
msgid "Warning: This system does not support powering off!"
msgstr "Varoitus: tämä järjestelmä ei tue samuttamista!"
-#: 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:217
msgid "Warning: Unable to obtain device information!"
msgstr "Varoitus: laitteen tietoja ei voida noutaa!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "Yritetään liittää vaihtoehtoinen levyosio (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Vaihtoehto"
+
+#~ msgid "Changes applied."
+#~ msgstr "Muutokset tehty."
+
+#~ msgid "Current"
+#~ msgstr "Nykyinen"
+
+#~ msgid "Loading"
+#~ msgstr "Ladataan"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Uudelleenkäynnistetään..."
+
+#~ msgid "System"
+#~ msgstr "Järjestelmä"
+
+#~ 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 ""
+#~ "Laite uudelleenkäynnistyy.<br /> ÄLÄ SAMMUTA LAITETTA!<br /> Odota "
+#~ "muutama minuutti ennen kuin yrität ottaa yhteyttä. Mahdollisesti sinun "
+#~ "täytyy uusia tietokoneen IP-osoite ennen yhteyden saamista laitteeseen, "
+#~ "riippuen asetuksistasi."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Odotetaan muutosten käyttöönottoa..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "Yritetään liittää vaihtoehtoinen levyosio (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "Yritetään poistaa liitos: vaihtoehtoinen levyosio (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "Yritetään poistaa liitos: vaihtoehtoinen levyosio (mtd%s)"
diff --git a/applications/luci-app-advanced-reboot/po/fr/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/fr/advanced-reboot.po
index 40b3242378..75ad9547f7 100644
--- a/applications/luci-app-advanced-reboot/po/fr/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/fr/advanced-reboot.po
@@ -1,54 +1,43 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-06-24 17:41+0000\n"
-"Last-Translator: viking76 <liaudetgael@gmail.com>\n"
+"PO-Revision-Date: 2021-04-11 16:27+0000\n"
+"Last-Translator: SRay <seb@isostorm.com>\n"
"Language-Team: French <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/fr/>\n"
"Language: fr\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
-"X-Generator: Weblate 4.2-dev\n"
+"X-Generator: Weblate 4.6-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Redémarrage avancé"
-#: 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 "Alternative"
-
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Annuler"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Modifications appliquées."
-
-#: 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:163
msgid "Compressed"
msgstr "Compressé"
-#: 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:125
msgid "Confirm"
msgstr "Confirmer"
-#: 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 "Courant"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+msgid "Device unreachable! Still waiting for device..."
+msgstr "Appareil inaccessible ! Toujours en attente de l’appareil …"
-#: 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:198
msgid "ERROR:"
msgstr "ERREUR :"
-#: 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:206
msgid "Firmware"
msgstr "Firmware"
@@ -56,85 +45,72 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Accorder l'accès à l'UCI et aux fichiers pour luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Chargement"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Pas d'accès à fw_printenv ou 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:204
msgid "Partition"
msgstr "Partition"
-#: 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:200
msgid "Partitions"
msgstr "Partitions"
-#: 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:226
msgid "Perform power off..."
-msgstr "Éteindre…"
+msgstr "Effectuer la mise hors tension..."
-#: 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:46
msgid "Power Off Device"
msgstr "Éteindre l'appareil"
-#: 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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Continuer"
-#: 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:207
msgid "Reboot"
msgstr "Redémarrage"
-#: 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:125
msgid "Reboot Device to an Alternative Partition"
msgstr "Redémarrer l'appareil sur une autre 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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:157
msgid "Reboot to alternative partition..."
msgstr "Redémarrer sur une autre 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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:154
msgid "Reboot to current partition"
msgstr "Redémarrer sur la partition courante"
-#: 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..."
-msgstr "Redémarrage…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+msgid "Rebooting…"
+msgstr "Redémarrage …"
-#: 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:38
msgid "Shutting down..."
msgstr "Arrêt en cours…"
-#: 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:205
msgid "Status"
msgstr "État"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Système"
-
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-"Le système est en cours de redémarrage.<br />NE PAS ÉTEINDRE L'APPAREIL !"
-"<br />Attendez quelques minutes avant d'essayer de vous reconnecter. En "
-"fonction de vos paramètres, il peut être nécessaire de renouveler l'adresse "
-"IP de votre ordinateur pour accéder à nouveau à l'appareil."
-#: 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:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "La commande de redémarrage a échoué avec le code %d"
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:100
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 "
@@ -146,7 +122,7 @@ msgstr ""
"reconnecter. En fonction de vos paramètres, il peut être nécessaire de "
"renouveler votre adresse IP pour accéder à nouveau à votre appareil."
-#: 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:39
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 "
@@ -156,45 +132,36 @@ msgstr ""
"fonction de vos paramètres, il peut être nécessaire de renouveler votre "
"adresse IP pour accéder à nouveau à votre appareil."
-#: 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 "Impossible de trouver le nom de la carte du périphérique."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Impossible de trouver une partition en démarrage double."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
"Impossible d'obtenir la variable d'environnement du microprogramme : %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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
"Impossible de définir le drapeau Dual Boot Entrée de partition pour la "
"partition : %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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
"Impossible de définir la variable d'environnement du microprogramme : %s à "
"%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:163
msgid "Unknown"
msgstr "Inconnue"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -216,7 +183,7 @@ msgstr ""
"démarrer dessus.<br /><br />Cliquez sur « Continuer » ci-dessous pour "
"redémarrer l'appareil sur une partition alternative."
-#: 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:47
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 "
@@ -226,39 +193,69 @@ msgstr ""
"prend pas en charge la mise hors-tension.<br /><br />Cliquez sur « Continuer "
"» ci-dessous pour éteindre votre appareil."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "En attente d'application des modifications…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+msgid "Waiting for device..."
+msgstr "En attente de l’appareil …"
-#: 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:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Avertissement : L'appareil (%s) est inconnu ou n'est pas un appareil à "
"double partition !"
-#: 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:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Avertissement : Il y a des modifications non sauvegardées qui seront perdues "
"au redémarrage !"
-#: 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:229
msgid "Warning: This system does not support powering off!"
msgstr ""
"Avertissement : Ce système ne prend pas en charge la mise hors-tension !"
-#: 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:217
msgid "Warning: Unable to obtain device information!"
msgstr ""
"Avertissement : Impossible de récupérer les informations sur l'appareil !"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "tentative de mise en place d'une partition alternative (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Alternative"
+
+#~ msgid "Changes applied."
+#~ msgstr "Modifications appliquées."
+
+#~ msgid "Current"
+#~ msgstr "Courant"
+
+#~ msgid "Loading"
+#~ msgstr "Chargement"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Redémarrage…"
+
+#~ msgid "System"
+#~ msgstr "Système"
+
+#~ 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 ""
+#~ "Le système est en cours de redémarrage.<br />NE PAS ÉTEINDRE L'APPAREIL !"
+#~ "<br />Attendez quelques minutes avant d'essayer de vous reconnecter. En "
+#~ "fonction de vos paramètres, il peut être nécessaire de renouveler "
+#~ "l'adresse IP de votre ordinateur pour accéder à nouveau à l'appareil."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "En attente d'application des modifications…"
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "tentative de mise en place d'une partition alternative (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "tentative de mise en place d'une partition alternative (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "tentative de mise en place d'une partition alternative (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/he/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/he/advanced-reboot.po
index 9a93c84f4c..99f125e428 100644
--- a/applications/luci-app-advanced-reboot/po/he/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/he/advanced-reboot.po
@@ -1,48 +1,44 @@
msgid ""
msgstr ""
+"PO-Revision-Date: 2021-01-15 22:31+0000\n"
+"Last-Translator: Yaron Shahrabani <sh.yaron@gmail.com>\n"
+"Language-Team: Hebrew <https://hosted.weblate.org/projects/openwrt/"
+"luciapplicationsadvanced-reboot/he/>\n"
"Language: he\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=4; plural=(n == 1) ? 0 : ((n == 2) ? 1 : ((n > 10 && "
+"n % 10 == 0) ? 2 : 3));\n"
+"X-Generator: Weblate 4.5-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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
-msgstr ""
+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:163
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:125
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"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
msgid "Firmware"
msgstr ""
@@ -50,81 +46,72 @@ msgstr ""
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 ""
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-#: 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:100
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 "
@@ -132,47 +119,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: 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:39
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +162,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/hi/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/hi/advanced-reboot.po
index c905fe6404..214daa03b9 100644
--- a/applications/luci-app-advanced-reboot/po/hi/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/hi/advanced-reboot.po
@@ -4,45 +4,34 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
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"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
msgid "Firmware"
msgstr ""
@@ -50,81 +39,72 @@ msgstr ""
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 ""
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-#: 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:100
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 "
@@ -132,47 +112,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: 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:39
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +155,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/hu/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/hu/advanced-reboot.po
index 4007f1bff0..536cee7fa7 100644
--- a/applications/luci-app-advanced-reboot/po/hu/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/hu/advanced-reboot.po
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-01-12 19:22+0000\n"
+"PO-Revision-Date: 2020-08-12 21:32+0000\n"
"Last-Translator: Balázs Úr <balazs@urbalazs.hu>\n"
"Language-Team: Hungarian <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/hu/>\n"
@@ -8,134 +8,111 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 3.10.1\n"
+"X-Generator: Weblate 4.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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Speciális újraindítás"
-#: 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 "Alternatív"
-
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Mégse"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Változtatások alkalmazva."
-
-#: 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:163
msgid "Compressed"
msgstr "Tömörített"
-#: 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:125
msgid "Confirm"
msgstr "Megerősítés"
-#: 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 "Jelenlegi"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
msgid "ERROR:"
msgstr "HIBA:"
-#: 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:206
msgid "Firmware"
msgstr "Firmware"
#: 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 ""
+"UCI és fájlhozzáférés megadása a luci-app-advanced-reboot alkalmazásnak"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Betöltés"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
"Nincs hozzáférés az fw_printenv vagy az fw_printenv környezeti változókhoz!"
-#: 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:204
msgid "Partition"
msgstr "Partíció"
-#: 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:200
msgid "Partitions"
msgstr "Partíciók"
-#: 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:226
msgid "Perform power off..."
msgstr "Kikapcsolás végrehajtása…"
-#: 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:46
msgid "Power Off Device"
msgstr "Eszköz kikapcsolása"
-#: 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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Folytatás"
-#: 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:207
msgid "Reboot"
msgstr "Újraindítás"
-#: 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:125
msgid "Reboot Device to an Alternative Partition"
msgstr "Eszköz újraindítása egy alternatív partíción"
-#: 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:157
msgid "Reboot to alternative partition..."
msgstr "Újraindítás alternatív partíción…"
-#: 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:154
msgid "Reboot to current partition"
msgstr "Újraindítás a jelenlegi partíción"
-#: 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..."
-msgstr "Újraindítás…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
msgid "Shutting down..."
msgstr "Leállítás…"
-#: 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:205
msgid "Status"
msgstr "Állapot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Rendszer"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-"A rendszer most újraindul.<br /> NE KAPCSOLJA KI AZ ESZKÖZT!<br /> Várjon "
-"néhány percet, mielőtt megpróbál újrakacsolódni. A beállításoktól függően "
-"szükség lehet a számítógépe címének megújításához, hogy újra elérje az "
-"eszközt."
-#: 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:100
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 "
@@ -147,7 +124,7 @@ msgstr ""
"beállításoktól függően szükség lehet a számítógépe címének megújításához, "
"hogy újra elérje az eszközt."
-#: 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:39
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 "
@@ -157,40 +134,33 @@ msgstr ""
"beállításoktól függően szükség lehet a számítógépe címének megújításához, "
"hogy újra elérje az eszközt."
-#: 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 "Nem található kettős rendszerindítási jelző partíció."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
-msgstr ""
+msgstr "Nem lehet megszerezni a firmware környezeti változóját: %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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
+"Nem lehet beállítani a kettős rendszerindítási jelző partíció bejegyzését a "
+"partíciónál: %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:15
msgid "Unable to set firmware environment variable: %s to %s."
-msgstr ""
+msgstr "Nem lehet beállítani a firmware környezeti változóját: %s → %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:163
msgid "Unknown"
msgstr "Ismeretlen"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -211,7 +181,7 @@ msgstr ""
"><br /> Kattintson a lenti „Folytatás” gombra az eszköz újraindításához egy "
"alternatív partíción."
-#: 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:47
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 "
@@ -221,36 +191,66 @@ msgstr ""
"nem támogatja a kikapcsolást.<br /><br /> Kattintson a lenti „Folytatás” "
"gombra az eszköz kikapcsolásához."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Várakozás a változtatások alkalmazására…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Figyelmeztetés: az eszköz (%s) ismeretlen vagy nem kettős partíciójú eszköz!"
-#: 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:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Figyelmeztetés: mentetlen változtatások vannak, amelyek elvesznek az "
"újraindításkor!"
-#: 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:229
msgid "Warning: This system does not support powering off!"
msgstr "Figyelmeztetés: ez a rendszer nem támogatja a kikapcsolást!"
-#: 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:217
msgid "Warning: Unable to obtain device information!"
msgstr "Figyelmeztetés: nem lehet megszerezni az eszköz információit!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "Alternatív"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Változtatások alkalmazva."
+
+#~ msgid "Current"
+#~ msgstr "Jelenlegi"
+
+#~ msgid "Loading"
+#~ msgstr "Betöltés"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Újraindítás…"
+
+#~ msgid "System"
+#~ msgstr "Rendszer"
+
+#~ 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 ""
+#~ "A rendszer most újraindul.<br /> NE KAPCSOLJA KI AZ ESZKÖZT!<br /> Várjon "
+#~ "néhány percet, mielőtt megpróbál újrakacsolódni. A beállításoktól függően "
+#~ "szükség lehet a számítógépe címének megújításához, hogy újra elérje az "
+#~ "eszközt."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Várakozás a változtatások alkalmazására…"
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "kísérlet az alternatív partíció (mtd%s) csatolására"
+
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "kísérlet az alternatív partíció (mtd%s) leválasztására"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Nem lehet megszerezni a firmware környezeti változóját"
diff --git a/applications/luci-app-advanced-reboot/po/it/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/it/advanced-reboot.po
index 6560fbd61e..9e4ef5e8e1 100644
--- a/applications/luci-app-advanced-reboot/po/it/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/it/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.0-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Riavvio Avanzato"
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Annulla"
-#: 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:163
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:125
msgid "Confirm"
msgstr "Conferma"
-#: 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"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
msgid "ERROR:"
msgstr "ERRORE:"
-#: 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:206
msgid "Firmware"
msgstr "Firmware"
@@ -56,85 +45,72 @@ msgstr "Firmware"
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 "Caricamento"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
msgid "Partition"
msgstr "Partizione"
-#: 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:200
msgid "Partitions"
msgstr "Partizioni"
-#: 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:226
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:46
msgid "Power Off Device"
msgstr "Spegni il 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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
msgid "Reboot"
msgstr "Riavvia"
-#: 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:125
msgid "Reboot Device to an Alternative Partition"
msgstr "Riavvia il dispositivo in una partizione 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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:157
msgid "Reboot to alternative partition..."
msgstr "Riavvio in una partizione 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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:154
msgid "Reboot to current partition"
msgstr "Riavvia nella partizione corrente"
-#: 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..."
-msgstr "Riavvio..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
msgid "Shutting down..."
msgstr "Arresto..."
-#: 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:205
msgid "Status"
msgstr "Stato"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Sistema"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-"Il sistema si sta riavviando ora.<br /> NON SPEGNERE IL DISPOSITIVO!<br /> "
-"Attendere alcuni minuti prima di provare a riconnettersi. Potrebbe essere "
-"necessario rinnovare l'indirizzo del computer per raggiungere nuovamente il "
-"dispositivo, a seconda delle impostazioni."
-#: 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:100
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 "
@@ -146,7 +122,7 @@ msgstr ""
"ricollegarsi. Potrebbe essere necessario rinnovare l'indirizzo del computer "
"per raggiungere nuovamente il dispositivo, a seconda delle impostazioni."
-#: 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:39
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 "
@@ -156,40 +132,31 @@ msgstr ""
"Potrebbe essere necessario rinnovare l'indirizzo del computer per "
"raggiungere nuovamente il dispositivo, a seconda delle impostazioni."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
msgid "Unknown"
msgstr "Sconosciuto"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -201,40 +168,52 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
+#~ msgid "Loading"
+#~ msgstr "Caricamento"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Rebooting..."
+#~ msgstr "Riavvio..."
+
+#~ msgid "System"
+#~ msgstr "Sistema"
+
+#~ 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 ""
+#~ "Il sistema si sta riavviando ora.<br /> NON SPEGNERE IL DISPOSITIVO!<br /"
+#~ "> Attendere alcuni minuti prima di provare a riconnettersi. Potrebbe "
+#~ "essere necessario rinnovare l'indirizzo del computer per raggiungere "
+#~ "nuovamente il dispositivo, a seconda delle impostazioni."
#~ msgid "Action"
#~ msgstr "Azione"
diff --git a/applications/luci-app-advanced-reboot/po/ja/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ja/advanced-reboot.po
index 5421aeeb14..904ed21526 100644
--- a/applications/luci-app-advanced-reboot/po/ja/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ja/advanced-reboot.po
@@ -1,184 +1,161 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-06-28 19:19+0000\n"
-"Last-Translator: Satoru Yoshida <ramat@ram.ne.jp>\n"
+"PO-Revision-Date: 2020-12-08 14:52+0000\n"
+"Last-Translator: Ryota <21ryotagamer@gmail.com>\n"
"Language-Team: Japanese <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/ja/>\n"
"Language: ja\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
-"X-Generator: Weblate 4.2-dev\n"
+"X-Generator: Weblate 4.4-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:188
+#: 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 ""
+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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
msgid "Confirm"
-msgstr ""
+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:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
msgid "ERROR:"
-msgstr "エラー :"
+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:206
msgid "Firmware"
-msgstr ""
+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 "luci-app-advanced-reboot に UCI およびファイルアクセスを許可"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "読み込み中"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
-msgstr ""
+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:204
msgid "Partition"
-msgstr ""
+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:200
msgid "Partitions"
-msgstr ""
+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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
msgid "Reboot Device to an Alternative Partition"
-msgstr ""
+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:157
msgid "Reboot to alternative partition..."
-msgstr ""
+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:154
msgid "Reboot to current partition"
-msgstr ""
+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..."
-msgstr "リブート中..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
msgid "Status"
msgstr "ステータス"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "システム"
-
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-#: 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:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "rebootコマンドが失敗しました(コード: %d)"
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:100
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 />このデバイスの電源を切らないでく"
+"ださい!<br />再接続するまで数分お待ちください。設定によっては、デバイスに接"
+"続するためにコンピューターのアドレスを更新する必要があります。"
-#: 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:39
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 />このデバイスの電源を切らないでください!<br />"
+"再接続するまで数分お待ちください。設定によっては、デバイスに接続するためにコ"
+"ンピューターのアドレスを更新する必要があります。"
+
+#: 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/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:11
msgid "Unable to find Dual Boot Flag Partition."
-msgstr ""
+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:14
msgid "Unable to obtain firmware environment variable: %s."
-msgstr ""
+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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
-msgstr ""
+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:15
msgid "Unable to set firmware environment variable: %s to %s."
-msgstr ""
+msgstr "ファームウェアの環境変数を設定できませんでした: %s から %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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -189,38 +166,78 @@ msgid ""
"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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:47
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/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:71
+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:216
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:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
-msgstr "警告: 再起動すると消えてしまう、保存されていない設定があります!"
+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:229
msgid "Warning: This system does not support powering off!"
-msgstr "警告 : このシステムは電源オフをサポートしていません。"
+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:217
msgid "Warning: Unable to obtain device information!"
-msgstr "警告 : デバイス情報を取得できません。"
+msgstr "警告: デバイス情報を取得できません!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "代替案"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-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 />このデバイスの電源を切らないでください!<br />再接"
+#~ "続するまで数分お待ちください。設定によっては、デバイスに接続するためにコン"
+#~ "ピューターのアドレスを更新する必要があります。"
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "変更の適用を待機中..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "代替パーティションをマウントしようとしています (mtd%s)"
+
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "代替パーティションをアンマウントしようとしています (mtd%s)"
diff --git a/applications/luci-app-advanced-reboot/po/ko/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ko/advanced-reboot.po
index c1b952090d..501917d493 100644
--- a/applications/luci-app-advanced-reboot/po/ko/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ko/advanced-reboot.po
@@ -1,48 +1,43 @@
msgid ""
msgstr ""
+"PO-Revision-Date: 2021-01-17 20:54+0000\n"
+"Last-Translator: ANTEGRAL <antegral@antegral.net>\n"
+"Language-Team: Korean <https://hosted.weblate.org/projects/openwrt/"
+"luciapplicationsadvanced-reboot/ko/>\n"
"Language: ko\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: Weblate 4.5-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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
+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:163
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:125
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"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
msgid "Firmware"
msgstr ""
@@ -50,81 +45,72 @@ msgstr ""
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 ""
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-#: 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 ""
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "재시작 명령이 %d 인수로 인해 실패했습니다"
-#: 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:100
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 "
@@ -132,47 +118,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: 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:39
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +161,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/mr/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/mr/advanced-reboot.po
index 99d94228e3..bf3cf22094 100644
--- a/applications/luci-app-advanced-reboot/po/mr/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/mr/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 3.11-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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
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:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
msgid "Firmware"
msgstr "फर्मवेअर"
@@ -56,84 +45,72 @@ msgstr "फर्मवेअर"
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 "लोड करीत आहे"
-
-#: 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:122
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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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..."
-msgstr "रीबूट करीत आहे ..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
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:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-"सिस्टम आत्ता रीबूट होत आहे. <br /> डिव्हाईस ची पॉवर बंद करू नका ! <br /> आपण पुन्हा "
-"कनेक्ट करण्याचा प्रयत्न करण्यापूर्वी काही मिनिटे थांबा. आपल्या सेटिंग्जच्या आधारे डिव्हाइसवर "
-"पुन्हा पोहोचण्यासाठी आपल्या संगणकाच्या पत्त्याचे नूतनीकरण करणे आवश्यक असू शकेल."
-#: 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:100
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 "
@@ -145,7 +122,7 @@ msgstr ""
"आधारे डिव्हाइसवर पुन्हा पोहोचण्यासाठी आपल्या संगणकाच्या पत्त्याचे नूतनीकरण करणे आवश्यक असू "
"शकेल."
-#: 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:39
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 "
@@ -155,40 +132,31 @@ msgstr ""
"कनेक्ट करण्याचा प्रयत्न करण्यापूर्वी काही मिनिटे थांबा. आपल्या सेटिंग्जच्या आधारे डिव्हाइसवर "
"पुन्हा पोहोचण्यासाठी आपल्या संगणकाच्या पत्त्याचे नूतनीकरण करणे आवश्यक असू शकेल."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -200,7 +168,7 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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 "
@@ -210,33 +178,57 @@ msgstr ""
"><br />\n"
"आपले डिव्हाइस बंद करण्यासाठी खालील \"Proceed\" वर क्लिक करा."
-#: 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:71
+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:216
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:193
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:229
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:217
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 ""
+#~ msgid "Alternative"
+#~ msgstr "वैकल्पिक"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-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 /> डिव्हाईस ची पॉवर बंद करू नका ! <br /> आपण "
+#~ "पुन्हा कनेक्ट करण्याचा प्रयत्न करण्यापूर्वी काही मिनिटे थांबा. आपल्या सेटिंग्जच्या आधारे "
+#~ "डिव्हाइसवर पुन्हा पोहोचण्यासाठी आपल्या संगणकाच्या पत्त्याचे नूतनीकरण करणे आवश्यक असू "
+#~ "शकेल."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "बदल लागू होण्याची प्रतीक्षा करीत आहे ..."
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "फर्मवेअर एन्व्हायर्नमेंट व्हेरिएबल प्राप्त करण्यात अक्षम"
diff --git a/applications/luci-app-advanced-reboot/po/ms/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ms/advanced-reboot.po
index fa4089de19..798be49805 100644
--- a/applications/luci-app-advanced-reboot/po/ms/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ms/advanced-reboot.po
@@ -4,45 +4,34 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
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"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
msgid "Firmware"
msgstr ""
@@ -50,81 +39,72 @@ msgstr ""
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 ""
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-#: 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:100
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 "
@@ -132,47 +112,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: 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:39
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -184,37 +155,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po
index 684ff7dddb..74efa84f41 100644
--- a/applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2019-10-30 03:22+0000\n"
+"PO-Revision-Date: 2021-02-08 10:51+0000\n"
"Last-Translator: Allan Nordhøy <epost@anotheragency.no>\n"
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/nb_NO/>\n"
@@ -8,47 +8,36 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 3.9.1\n"
+"X-Generator: Weblate 4.5-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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
-msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr ""
+msgstr "Avbryt"
-#: 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:163
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:125
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"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
msgid "Firmware"
msgstr ""
@@ -56,81 +45,72 @@ msgstr ""
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 ""
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
msgid "Status"
-msgstr ""
+msgstr "Status"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-#: 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:100
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 "
@@ -138,47 +118,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: 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:39
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -190,40 +161,32 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
-
#~ msgid "Action"
#~ msgstr "Handling"
diff --git a/applications/luci-app-advanced-reboot/po/pl/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/pl/advanced-reboot.po
index be408bde9d..d4ab627fbb 100644
--- a/applications/luci-app-advanced-reboot/po/pl/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/pl/advanced-reboot.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-06-17 18:41+0000\n"
-"Last-Translator: Marcin Net <marcin.net@linux.pl>\n"
+"PO-Revision-Date: 2021-04-15 17:26+0000\n"
+"Last-Translator: Matthaiks <kitynska@gmail.com>\n"
"Language-Team: Polish <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/pl/>\n"
"Language: pl\n"
@@ -9,47 +9,36 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n"
-"X-Generator: Weblate 4.1.1-dev\n"
+"X-Generator: Weblate 4.6-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Zaawansowany restart"
-#: 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 "Alternatywne"
-
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Anuluj"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Zmiany zostały zastosowane."
-
-#: 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:163
msgid "Compressed"
msgstr "Skompresowane"
-#: 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:125
msgid "Confirm"
msgstr "Potwierdź"
-#: 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 "Obecny"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+msgid "Device unreachable! Still waiting for device..."
+msgstr "Urządzenie nieosiągalne! Wciąż czekam na urządzenie..."
-#: 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:198
msgid "ERROR:"
msgstr "BŁĄD:"
-#: 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:206
msgid "Firmware"
msgstr "Firmware"
@@ -57,85 +46,72 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Udziel dostępu UCI i plikom do luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Ładowanie"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Brak dostępu do fw_printenv lub fw_setenv!"
-#: 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:204
msgid "Partition"
msgstr "Partycja"
-#: 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:200
msgid "Partitions"
msgstr "Partycje"
-#: 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:226
msgid "Perform power off..."
msgstr "Wyłącz zasilanie..."
-#: 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:46
msgid "Power Off Device"
msgstr "Wyłącz urządzenie"
-#: 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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Przejdź dalej"
-#: 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:207
msgid "Reboot"
msgstr "Restart urządzenia"
-#: 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:125
msgid "Reboot Device to an Alternative Partition"
msgstr "Ponowne uruchomienie urządzenia do innej partycji"
-#: 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:157
msgid "Reboot to alternative partition..."
msgstr "Ponowne uruchomienie do innej partycji..."
-#: 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:154
msgid "Reboot to current partition"
msgstr "Ponowne uruchomienie na obecnej partycji"
-#: 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..."
-msgstr "Ponowne uruchamianie..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+msgid "Rebooting…"
+msgstr "Restartowanie…"
-#: 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:38
msgid "Shutting down..."
msgstr "Zamykanie..."
-#: 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:205
msgid "Status"
msgstr "Status"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr "Partycja z flagą Dual Boot: %s nie jest urządzeniem blokowym."
-#: 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 ""
-"System jest teraz ponownie uruchamiany.<br />NIE WYŁĄCZAJ ZASILANIA "
-"URZĄDZENIA!<br />Poczekaj kilka minut przed próbą ponownego nawiązania "
-"połączenia. W zależności od ustawień może być konieczne odnowienie adresu "
-"komputera, aby ponownie połączyć się z urządzeniem."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "Polecenie restartu nie powiodło się z kodem %d"
-#: 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:100
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 "
@@ -147,7 +123,7 @@ msgstr ""
"nawiązania połączenia. W zależności od ustawień może być konieczne "
"odnowienie adresu komputera, aby ponownie połączyć się z urządzeniem."
-#: 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:39
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,42 +134,33 @@ msgstr ""
"zależności od ustawień może być konieczne odnowienie adresu komputera, aby "
"ponownie połączyć się z urządzeniem."
-#: 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 "Nie można znaleźć nazwy płyty urządzenia."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Nie można odnaleźć partycji z flagą Dual Boot."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
"Nie można uzyskać zmiennej środowiskowej oprogramowania układowego: %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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "Nie można ustawić wpisu flagi podwójnego rozruchu dla partycji: %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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
"Nie można ustawić zmiennej środowiskowej oprogramowania układowego: %s na %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:163
msgid "Unknown"
msgstr "Nieznany"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -214,7 +181,7 @@ msgstr ""
"przycisk \"Kontynuuj\" poniżej, aby zrestartować urządzenie do innej "
"partycji."
-#: 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:47
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 "
@@ -224,37 +191,67 @@ msgstr ""
"które nie obsługuje wyłączenia zasilania.<br /><br /> Kliknij \"Kontynuuj\" "
"poniżej, aby wyłączyć urządzenie."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Oczekiwanie na zastosowanie zmian..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+msgid "Waiting for device..."
+msgstr "Oczekiwanie na urządzenie..."
-#: 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:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Ostrzeżenie: Urządzenie (%s) jest nieznane lub nie jest urządzeniem z dwiema "
"partycjami!"
-#: 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:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Ostrzeżenie: Istnieją niezapisane zmiany, które zostaną utracone po ponownym "
"uruchomieniu urządzenia!"
-#: 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:229
msgid "Warning: This system does not support powering off!"
msgstr "Ostrzeżenie: ten system nie obsługuje wyłączania zasilania!"
-#: 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:217
msgid "Warning: Unable to obtain device information!"
msgstr "Ostrzeżenie: Nie można uzyskać informacji o urządzeniu!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "próba zamontowania partycji alternatywnej (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Alternatywne"
+
+#~ msgid "Changes applied."
+#~ msgstr "Zmiany zostały zastosowane."
+
+#~ msgid "Current"
+#~ msgstr "Obecny"
+
+#~ msgid "Loading"
+#~ msgstr "Ładowanie"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Ponowne uruchamianie..."
+
+#~ msgid "System"
+#~ msgstr "System"
+
+#~ 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 ""
+#~ "System jest teraz ponownie uruchamiany.<br />NIE WYŁĄCZAJ ZASILANIA "
+#~ "URZĄDZENIA!<br />Poczekaj kilka minut przed próbą ponownego nawiązania "
+#~ "połączenia. W zależności od ustawień może być konieczne odnowienie adresu "
+#~ "komputera, aby ponownie połączyć się z urządzeniem."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Oczekiwanie na zastosowanie zmian..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "próba zamontowania partycji alternatywnej (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "próba odinstalowania partycji alternatywnej (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "próba odinstalowania partycji alternatywnej (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Nie można uzyskać zmiennej środowiskowej firmware"
diff --git a/applications/luci-app-advanced-reboot/po/pt/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/pt/advanced-reboot.po
index e0aaa2d548..4fb4e81055 100644
--- a/applications/luci-app-advanced-reboot/po/pt/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/pt/advanced-reboot.po
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-06-28 19:19+0000\n"
+"PO-Revision-Date: 2021-04-25 15:52+0000\n"
"Last-Translator: ssantos <ssantos@web.de>\n"
"Language-Team: Portuguese <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/pt/>\n"
@@ -8,133 +8,110 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
-"X-Generator: Weblate 4.2-dev\n"
+"X-Generator: Weblate 4.7-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Reinicio Avançado"
-#: 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 "Alternativa"
-
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Cancelar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Configurações aplicadas."
-
-#: 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:163
msgid "Compressed"
msgstr "Comprimido"
-#: 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:125
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 "Atual"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+msgid "Device unreachable! Still waiting for device..."
+msgstr "O aparelho está fora de alcance! Ainda à espera do aparelho..."
-#: 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:198
msgid "ERROR:"
msgstr "ERRO:"
-#: 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:206
msgid "Firmware"
msgstr "Firmware"
#: 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 "Conceda acesso ao ficheiro e ao UCI para o luci-app-advanced-reboot"
+msgstr "Conceder acesso ao ficheiro e ao UCI ao luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "A carregar"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Sem acesso ao fw_printenv ou ao 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:204
msgid "Partition"
msgstr "Partição"
-#: 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:200
msgid "Partitions"
msgstr "Partições"
-#: 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:226
msgid "Perform power off..."
msgstr "Iniciar o encerramento..."
-#: 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:46
msgid "Power Off Device"
-msgstr "Encerrar Dispositivo"
+msgstr "Desligar aparelho"
-#: 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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Continuar"
-#: 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:207
msgid "Reboot"
msgstr "Reiniciar"
-#: 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:125
msgid "Reboot Device to an Alternative Partition"
-msgstr "Reiniciar o Dispositivo para uma Partição Alternativa"
+msgstr "Reiniciar o Aparelho para uma Partição 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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:157
msgid "Reboot to alternative partition..."
msgstr "Reiniciar para uma partição 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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:154
msgid "Reboot to current partition"
msgstr "Reiniciar para a partição atual"
-#: 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..."
-msgstr "A reiniciar..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+msgid "Rebooting…"
+msgstr "A reiniciar…"
-#: 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:38
msgid "Shutting down..."
msgstr "A encerrar..."
-#: 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:205
msgid "Status"
msgstr "Estado"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Sistema"
-
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-"O sistema está agora a reiniciar.<br /> NÃO DESLIGUE O DISPOSITIVO!<br /> "
-"Espere alguns minutos antes de tentar uma nova ligação. Pode ser necessário "
-"renovar o endereço do seu computador para aceder ao dispositivo de novo, "
-"dependendo das suas definições."
+"A sinalização da partição \"dual boot\": o %s não é um aparelho de blocos."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "O comando reboot falhou com o código %d"
-#: 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:100
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 "
@@ -142,56 +119,47 @@ msgid ""
"again, depending on your settings."
msgstr ""
"O sistema está a reiniciar para uma partição alternativa.<br />NÃO DESLIGUE "
-"O DISPOSITIVO!<br /> Espere alguns minutos antes de tentar uma nova ligação. "
+"O APARELHO!<br /> Espere alguns minutos antes de tentar uma nova ligação. "
"Pode ser necessário renovar o endereço do seu computador para aceder ao "
-"dispositivo de novo, dependendo das suas definições."
+"aparelho de novo, dependendo das suas definições."
-#: 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:39
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 ""
-"O sistema está agora a desligar.<br /> NÃO DESLIGUE O DISPOSITIVO!<br /> "
-"Espere alguns minutos antes de tentar uma nova ligação. Pode ser necessário "
-"renovar o endereço do seu computador para aceder ao dispositivo de novo, "
-"dependendo das suas definições."
-
-#: 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
+"O sistema está agora a desligar.<br /> NÃO DESLIGUE O APARELHO!<br /> Espere "
+"alguns minutos antes de tentar uma nova ligação. Pode ser necessário renovar "
+"o endereço do seu computador para aceder ao aparelho de novo, dependendo das "
+"suas definições."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
+msgid "Unable to find Device Board Name."
+msgstr "Não foi possível encontrar o nome da placa do aparelho."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Não foi encontrada a Flag Dual Boot Partition."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Não foi possível obter a variável de ambiente de firmware: %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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
"Não foi possível definir a entrada Dual Boot Partition para a partição: %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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Incapaz de definir a variável de ambiente de firmware: %s a %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:163
msgid "Unknown"
msgstr "Desconhecido"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -204,54 +172,84 @@ msgid ""
msgstr ""
"AVISO: Uma partição alternativa pode conter as suas próprias definições e "
"firmware completamente diferentes.<br /><br /> Como as suas definições de "
-"rede e palavra-passe/SSID WiFi na partição alternativa podem ser diferentes, "
-"poderá ter que alterar as definições do seu computador para conseguir aceder "
-"ao seu dispositivo assim que este reiniciar.<br /><br /> Por favor tenha "
-"também em atenção que o firmware da partição alternativa pode não fornecer "
-"um modo fácil para mudar a partição ativa e arrancar de volta para a "
-"partição atual.<br /><br /> Selecione \"Continuar\" abaixo para reiniciar o "
-"dispositivo para uma partição alternativa."
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+"rede e palavra-passe/SSID WiFi na partição alternativa podem diferir, poderá "
+"ter que alterar as definições do seu computador para conseguir aceder ao seu "
+"aparelho assim que este reiniciar.<br /><br /> Por favor, tenha também em "
+"atenção que o firmware da partição alternativa pode não fornecer um modo "
+"fácil para mudar a partição ativa e arrancar de volta para a partição atual."
+"<br /><br /> Selecione \"Continuar\" abaixo para reiniciar o aparelho para "
+"uma partição alternativa."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:47
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 ""
-"AVISO: Encerrar pode causar um reinício num dispositivo que não suporte "
-"encerramento.<br /><br /> Selecione \"Continuar\" abaixo para encerrar o seu "
-"dispositivo."
+"AVISO: Desligar pode causar um reinício num aparelho que não suporte "
+"encerramento.<br /><br /> Selecione \"Continuar\" abaixo para desligar o seu "
+"aparelho."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "À espera que as definições sejam aplicadas..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+msgid "Waiting for device..."
+msgstr "À espera do aparelho..."
-#: 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:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
-"Aviso: O Dispositivo (%s) é desconhecido ou não é um dispositivo com "
-"partição dupla!"
+"Aviso: O aparelho (%s) é desconhecido ou não é um aparelho com partição "
+"dupla!"
-#: 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:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
"Aviso: Existem definições não gravadas que serão perdidas com o reinicio!"
-#: 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:229
msgid "Warning: This system does not support powering off!"
msgstr "Aviso: Este sistema não suporta encerramento!"
-#: 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:217
msgid "Warning: Unable to obtain device information!"
-msgstr "Aviso: Incapaz de obter informações do dispositivo!"
+msgstr "Aviso: Incapaz de obter informações do aparelho!"
+
+#~ msgid "Alternative"
+#~ msgstr "Alternativa"
+
+#~ msgid "Changes applied."
+#~ msgstr "Configurações aplicadas."
+
+#~ msgid "Current"
+#~ msgstr "Atual"
+
+#~ msgid "Loading"
+#~ msgstr "A carregar"
+
+#~ msgid "Rebooting..."
+#~ msgstr "A reiniciar..."
+
+#~ msgid "System"
+#~ msgstr "Sistema"
+
+#~ 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 ""
+#~ "O sistema está agora a reiniciar.<br /> NÃO DESLIGUE O DISPOSITIVO!<br /> "
+#~ "Espere alguns minutos antes de tentar uma nova ligação. Pode ser "
+#~ "necessário renovar o endereço do seu computador para aceder ao "
+#~ "dispositivo de novo, dependendo das suas definições."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "À espera que as definições sejam aplicadas..."
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "tentando montar a partição alternativa (mtd%s)"
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "tentando montar a partição alternativa (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "tentativa de desmontar a partição alternativa (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "tentativa de desmontar a partição alternativa (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Não foi possível obter a variável de ambiente do firmware"
diff --git a/applications/luci-app-advanced-reboot/po/pt_BR/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/pt_BR/advanced-reboot.po
index c2b4346971..9418de2aab 100644
--- a/applications/luci-app-advanced-reboot/po/pt_BR/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/pt_BR/advanced-reboot.po
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-06-16 16:09+0000\n"
+"PO-Revision-Date: 2021-04-09 08:04+0000\n"
"Last-Translator: Wellington Terumi Uemura <wellingtonuemura@gmail.com>\n"
"Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/"
"openwrt/luciapplicationsadvanced-reboot/pt_BR/>\n"
@@ -8,47 +8,37 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
-"X-Generator: Weblate 4.1.1-dev\n"
+"X-Generator: Weblate 4.6-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Reinicio Avançado"
-#: 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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Cancelar"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "As modificações foram aplicadas."
-
-#: 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:163
msgid "Compressed"
msgstr "Comprimido"
-#: 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:125
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 "Atual"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
+"O dispositivo está fora de alcance! Ainda aguardando pelo dispositivo..."
-#: 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:198
msgid "ERROR:"
msgstr "ERRO:"
-#: 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:206
msgid "Firmware"
msgstr "Firmware"
@@ -56,86 +46,73 @@ msgstr "Firmware"
msgid "Grant UCI and file access for luci-app-advanced-reboot"
msgstr "Conceda acesso ao arquivo e ao UCI para o luci-app-advanced-reboot"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Carregando"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Sem acesso ao fw_printenv ou 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:204
msgid "Partition"
msgstr "Partição"
-#: 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:200
msgid "Partitions"
msgstr "Partições"
-#: 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:226
msgid "Perform power off..."
msgstr "Desligando..."
-#: 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:46
msgid "Power Off Device"
msgstr "Desligar 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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Proceguir"
-#: 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:207
msgid "Reboot"
msgstr "Reiniciar"
-#: 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:125
msgid "Reboot Device to an Alternative Partition"
msgstr "Reiniciar o Dispositivo em uma Partição Diferente"
-#: 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:157
msgid "Reboot to alternative partition..."
msgstr "Reiniciando em uma partição diferente..."
-#: 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:154
msgid "Reboot to current partition"
msgstr "Reiniciar na partição atual"
-#: 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..."
-msgstr "Reiniciando..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+msgid "Rebooting…"
+msgstr "Reiniciando…"
-#: 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:38
msgid "Shutting down..."
msgstr "Desligando..."
-#: 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:205
msgid "Status"
msgstr "Condição Geral"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Sistema"
-
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-"O sistema está sendo reinicializado.<br /> NÃO DESLIGUE A FORÇA DO "
-"DISPOSITIVO!<br /> Aguarde alguns minutos antes de tentar se reconectar. "
-"Para ter acesso ao dispositivo novamente, pode ser necessário renovar ou "
-"trocar o endereço IP do seu computador dependendo das configurações "
-"realizadas."
+"A sinalização da partição dual boot: %s não é um dispositivo de bloqueio."
-#: 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:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "O comando de reinicialização falhou com o código %d"
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:100
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 "
@@ -148,7 +125,7 @@ msgstr ""
"necessário renovar ou trocar o endereço IP do seu computador dependendo das "
"configurações realizadas."
-#: 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:39
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 "
@@ -159,40 +136,31 @@ msgstr ""
"ou trocar o endereço IP do seu computador dependendo das configurações "
"realizadas."
-#: 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 "Não foi possível encontrar o nome da placa do dispositivo."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Não foi possível encontrar a partição Dual Boot Flag."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr "Não foi possível obter a variável de ambiente do firmware: %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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr "Não foi possível definir a entrada Dual Boot Flag na partição: %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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr "Não é possível definir a variável de ambiente do firmware: %s para %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:163
msgid "Unknown"
msgstr "Desconhecido"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -214,7 +182,7 @@ msgstr ""
"Clique em \"Prosseguir\" para reiniciar o dispositivo em uma partição "
"diferente."
-#: 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:47
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 "
@@ -224,35 +192,68 @@ msgstr ""
"compatível com o desligamento.<br /><br /> Clique em \"Prosseguir\" para "
"desligar seu dispositivo."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Aguardando as modificações serem aplicadas..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+msgid "Waiting for device..."
+msgstr "Esperando pelo dispositivo..."
-#: 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:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Atenção: O dispositivo (%s) é desconhecido ou não é um dispositivo com duas "
"partições!"
-#: 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:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
-msgstr "Atenção: Existem mudanças não salvas que serão perdidas ao reiniciar!"
+msgstr ""
+"Atenção: Existem alterações que não foram salvas e serão perdidas na "
+"reinicialização!"
-#: 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:229
msgid "Warning: This system does not support powering off!"
msgstr "Atenção: Este sistema não tem suporte para desligamento!"
-#: 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:217
msgid "Warning: Unable to obtain device information!"
msgstr "Atenção: Não foi possível obter as informações do dispositivo!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr "tentando montar a partição alternativa (mtd%s)"
+#~ msgid "Alternative"
+#~ msgstr "Alternativo"
+
+#~ msgid "Changes applied."
+#~ msgstr "As modificações foram aplicadas."
+
+#~ msgid "Current"
+#~ msgstr "Atual"
+
+#~ msgid "Loading"
+#~ msgstr "Carregando"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Reiniciando..."
+
+#~ msgid "System"
+#~ msgstr "Sistema"
+
+#~ 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 ""
+#~ "O sistema está sendo reinicializado.<br /> NÃO DESLIGUE A FORÇA DO "
+#~ "DISPOSITIVO!<br /> Aguarde alguns minutos antes de tentar se reconectar. "
+#~ "Para ter acesso ao dispositivo novamente, pode ser necessário renovar ou "
+#~ "trocar o endereço IP do seu computador dependendo das configurações "
+#~ "realizadas."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Aguardando as modificações serem aplicadas..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "tentando montar a partição alternativa (mtd%s)"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr "tentando desmontar a partição alternativa (mtd%s)"
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "tentando desmontar a partição alternativa (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Não foi possível obter a variável de ambiente para o firmware"
diff --git a/applications/luci-app-advanced-reboot/po/ro/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ro/advanced-reboot.po
index 452c8e734d..899407bc87 100644
--- a/applications/luci-app-advanced-reboot/po/ro/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ro/advanced-reboot.po
@@ -11,45 +11,34 @@ msgstr ""
"20)) ? 1 : 2;\n"
"X-Generator: Weblate 3.10.1\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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Repornire Avansata"
-#: 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"
-
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Anulare"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Modificari efectuate"
-
-#: 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:163
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:125
msgid "Confirm"
msgstr "Confirmare"
-#: 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 "Curent"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
msgid "ERROR:"
msgstr "Eroare"
-#: 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:206
msgid "Firmware"
msgstr ""
@@ -57,85 +46,72 @@ msgstr ""
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 "Încărcare"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Nu aveți acces la fw_printenv sau 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:204
msgid "Partition"
msgstr "Partitie"
-#: 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:200
msgid "Partitions"
msgstr "Partitii"
-#: 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:226
msgid "Perform power off..."
msgstr "Efectuare oprire"
-#: 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:46
msgid "Power Off Device"
msgstr "Oprire dispozitiv"
-#: 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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Continua"
-#: 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:207
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:125
msgid "Reboot Device to an Alternative Partition"
msgstr "Reporniți dispozitivul într-o partiție alternativă"
-#: 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:157
msgid "Reboot to alternative partition..."
msgstr "Reporniți in partiția alternativă"
-#: 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:154
msgid "Reboot to current partition"
msgstr "Reporniți in partitia curenta"
-#: 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..."
-msgstr "Reporneste"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
msgid "Shutting down..."
msgstr "Oprire"
-#: 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:205
msgid "Status"
msgstr "Status"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Sistem"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-"Sistemul se repornește acum. <br /> NU DECONECTATI DISPOZITIVUL! <br /> "
-"Așteptați câteva minute înainte de a încerca să vă reconectați. Poate fi "
-"necesar să reînoiți adresa computerului pentru a ajunge din nou la "
-"dispozitiv, în funcție de setările dvs."
-#: 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:100
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 "
@@ -147,7 +123,7 @@ msgstr ""
"reconectați. Poate fi necesar să reînnoiți adresa computerului pentru a "
"ajunge din nou la dispozitiv, în funcție de setările dvs."
-#: 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:39
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 "
@@ -157,40 +133,31 @@ msgstr ""
"putea fi necesar să reînnoiești adresa computerului pentru a ajunge din nou "
"la dispozitiv, în funcție de setările tale."
-#: 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 "Imposibil de găsit partiția Dual Boot"
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -202,40 +169,61 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
+#~ msgid "Alternative"
+#~ msgstr "Alternativ"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Modificari efectuate"
+
+#~ msgid "Current"
+#~ msgstr "Curent"
+
+#~ msgid "Loading"
+#~ msgstr "Încărcare"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Reporneste"
+
+#~ msgid "System"
+#~ msgstr "Sistem"
+
+#~ 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 ""
+#~ "Sistemul se repornește acum. <br /> NU DECONECTATI DISPOZITIVUL! <br /> "
+#~ "Așteptați câteva minute înainte de a încerca să vă reconectați. Poate fi "
+#~ "necesar să reînoiți adresa computerului pentru a ajunge din nou la "
+#~ "dispozitiv, în funcție de setările dvs."
#~ msgid "Action"
#~ msgstr "Actiune"
diff --git a/applications/luci-app-advanced-reboot/po/ru/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/ru/advanced-reboot.po
index e75b65fa43..28c12bb93c 100644
--- a/applications/luci-app-advanced-reboot/po/ru/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ru/advanced-reboot.po
@@ -2,8 +2,8 @@ msgid ""
msgstr ""
"Project-Id-Version: LuCI: advanced-reboot\n"
"POT-Creation-Date: 2017-11-30 15:20+0300\n"
-"PO-Revision-Date: 2020-07-02 23:41+0000\n"
-"Last-Translator: Artem <KovalevArtem.ru@gmail.com>\n"
+"PO-Revision-Date: 2021-04-25 02:37+0000\n"
+"Last-Translator: masta0f1eave <lomskoff.dima@gmail.com>\n"
"Language-Team: Russian <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/ru/>\n"
"Language: ru\n"
@@ -12,188 +12,155 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
-"X-Generator: Weblate 4.2-dev\n"
+"X-Generator: Weblate 4.7-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
-msgstr "Дополнительная перезагрузка"
+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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
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:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
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 "Предоставить доступ к UCI и файлам для luci-app-advanced-reboot"
+msgstr "Предоставить 'luci-app-advanced-reboot' доступ к UCI и файлам"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Загрузка"
-
-#: 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:122
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:204
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:200
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:226
msgid "Perform power off..."
-msgstr "Выполнить отключение..."
+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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
msgid "Reboot Device to an Alternative Partition"
-msgstr "Перезагрузить устройство в альтернативный раздел"
+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:157
msgid "Reboot to alternative partition..."
-msgstr "Перезагрузить до альтернативного раздела..."
+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:154
msgid "Reboot to current partition"
-msgstr "Перезагрузка к текущему разделу"
+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..."
-msgstr "Перезагрузка..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
msgid "Shutting down..."
-msgstr "Отключается..."
+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:205
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:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr "Раздел с флагом Dual Boot:%s не является блочным устройством."
-#: 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 /> НЕ ВЫКЛЮЧАЙТЕ УСТРОЙСТВО!<br /> Подождите "
-"несколько минут, прежде чем попытаться установить соединение снова. "
-"Возможно, потребуется обновить адрес компьютера для повторного доступа к "
-"устройству в зависимости от настроек."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "Команда reboot завершилась с кодом ошибки %d"
-#: 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:100
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 /> НЕ ВЫКЛЮЧАЙТЕ "
+"Система перезагружается в альтернативный раздел.<br />НЕ ВЫКЛЮЧАЙТЕ "
"УСТРОЙСТВО!<br /> Подождите несколько минут и попробуйте переустановить "
"соединение. В зависимости от настроек может потребоваться обновить адрес "
"компьютера для доступа к устройству."
-#: 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:39
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 /> НЕ ВЫКЛЮЧАЙТЕ УСТРОЙСТВО!<br /> Возможно, "
+"Система завершает работу.<br />НЕ ВЫКЛЮЧАЙТЕ УСТРОЙСТВО!<br /> Возможно, "
"потребуется обновить адрес компьютера для повторного доступа к устройству в "
"зависимости от настроек."
-#: 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 "Не удалось найти Board Name устройства."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
-msgstr "Невозможно найти Dual Boot раздел."
+msgstr "Не удалось найти раздел, отмеченный как Dual Boot."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
-msgstr "Невозможно получить переменную окружения прошивки: %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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
-msgstr "Невозможно установить точку входа Dual Boot для раздела: %s."
+msgstr "Не удалось установить точку входа Dual Boot для раздела: %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:15
msgid "Unable to set firmware environment variable: %s to %s."
-msgstr "Невозможно установить переменную окружения прошивки: %s в %s."
+msgstr "Не удалось установить переменную окружения прошивки: %s в %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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -205,55 +172,84 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
"ВНИМАНИЕ: альтернативный раздел может иметь собственные настройки и "
-"совершенно другую прошивку.<br /><br /> Поскольку ваши настройки сети и WiFi "
-"SSID/пароли на альтернативных разделах могут отличаться, может потребоваться "
+"совершенно иное ПО.<br /><br /> Поскольку ваши настройки сети и SSID/пароль "
+"WiFi на альтернативном разделе могут отличаться, может потребоваться "
"изменить настройки компьютера, чтобы иметь возможность получить доступ к "
-"устройству после перезагрузки .<br /><br /> Помните также, что "
-"альтернативный раздел с прошивкой может не обеспечить простой способ "
-"переключения активного раздела и загрузки обратно в текущий активный раздел."
-"<br /><br /> Нажмите \"Продолжить\" ниже, чтобы перезагрузить устройство в "
-"альтернативный раздел."
+"устройству после перезагрузки .<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:47
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 /> Нажмите \"Продолжить"
-"\" ниже, чтобы выключить устройство."
+"ВНИМАНИЕ: Отключение питания может привести к перезагрузке устройства, если "
+"оно не поддерживает отключение питания.<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:71
+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:216
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:193
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:229
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:217
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 /> НЕ ВЫКЛЮЧАЙТЕ УСТРОЙСТВО!<br /> Подождите "
+#~ "несколько минут, прежде чем попытаться установить соединение снова. "
+#~ "Возможно, потребуется обновить адрес компьютера для повторного доступа к "
+#~ "устройству в зависимости от настроек."
+
+#~ 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 "Невозможно получить переменную среды прошивки"
diff --git a/applications/luci-app-advanced-reboot/po/si/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/si/advanced-reboot.po
new file mode 100644
index 0000000000..1f9ae79d4d
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/po/si/advanced-reboot.po
@@ -0,0 +1,189 @@
+msgid ""
+msgstr ""
+"PO-Revision-Date: 2021-03-01 07:55+0000\n"
+"Last-Translator: HelaBasa <R45XvezA@protonmail.ch>\n"
+"Language-Team: Sinhala <https://hosted.weblate.org/projects/openwrt/"
+"luciapplicationsadvanced-reboot/si/>\n"
+"Language: si\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n > 1;\n"
+"X-Generator: Weblate 4.5\n"
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:188
+#: 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/htdocs/luci-static/resources/view/system/advanced_reboot.js:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
+msgid "Cancel"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:163
+msgid "Compressed"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
+msgid "Confirm"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+msgid "Device unreachable! Still waiting for device..."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:198
+msgid "ERROR:"
+msgstr "දෝෂය:"
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206
+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/htdocs/luci-static/resources/view/system/advanced_reboot.js:122
+msgid "No access to fw_printenv or fw_printenv!"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
+msgid "Partition"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:200
+msgid "Partitions"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:226
+msgid "Perform power off..."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
+msgid "Power Off Device"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
+msgid "Proceed"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:207
+msgid "Reboot"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
+msgid "Reboot Device to an Alternative Partition"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:157
+msgid "Reboot to alternative partition..."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:154
+msgid "Reboot to current partition"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+msgid "Rebooting…"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
+msgid "Shutting down..."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205
+msgid "Status"
+msgstr "තත්ත්වය"
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:100
+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 ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:39
+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/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/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
+msgid "Unable to obtain firmware environment variable: %s."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
+msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:15
+msgid "Unable to set firmware environment variable: %s to %s."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:163
+msgid "Unknown"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:126
+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 ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:47
+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/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+msgid "Waiting for device..."
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
+msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
+msgid "Warning: There are unsaved changes that will get lost on reboot!"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:229
+msgid "Warning: This system does not support powering off!"
+msgstr ""
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:217
+msgid "Warning: Unable to obtain device information!"
+msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/sk/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/sk/advanced-reboot.po
index d63bbe0a7a..06ac6469f6 100644
--- a/applications/luci-app-advanced-reboot/po/sk/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/sk/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Weblate 4.0-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Pokročilý reštart"
-#: 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 "Alternatívny"
-
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Zrušiť"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Zmeny boli aplikované."
-
-#: 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:163
msgid "Compressed"
msgstr "Komprimované"
-#: 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:125
msgid "Confirm"
msgstr "Potvrdiť"
-#: 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 "Aktuálne"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
msgid "ERROR:"
msgstr "CHYBA:"
-#: 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:206
msgid "Firmware"
msgstr "Firmvér"
@@ -56,81 +45,72 @@ msgstr "Firmvér"
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 "Načítava sa"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
msgid "Partition"
msgstr "Oddiel"
-#: 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:200
msgid "Partitions"
msgstr "Oddiely"
-#: 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:226
msgid "Perform power off..."
msgstr "Prebieha vypínanie..."
-#: 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:46
msgid "Power Off Device"
msgstr "Vypnúť zariadenie"
-#: 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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Pokračovať"
-#: 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:207
msgid "Reboot"
msgstr "Reštart"
-#: 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:125
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:157
msgid "Reboot to alternative partition..."
msgstr "Reštart na alternatívny oddiel..."
-#: 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:154
msgid "Reboot to current partition"
msgstr "Reštart na aktuálny oddiel"
-#: 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..."
-msgstr "Reštartuje sa..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
msgid "Shutting down..."
msgstr "Vypína sa..."
-#: 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:205
msgid "Status"
msgstr "Stav"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Systém"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-#: 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:100
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 "
@@ -138,47 +118,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: 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:39
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
msgid "Unknown"
msgstr "Neznáme"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -190,40 +161,53 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Čaká sa na aplikovanie zmien..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "Upozornenie: Existujú neuložené zmeny, ktoré sa pri reštarte stratia!"
-#: 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:229
msgid "Warning: This system does not support powering off!"
msgstr "Upozornenie: Tento systém nepodporuje vypnutie!"
-#: 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:217
msgid "Warning: Unable to obtain device information!"
msgstr "Upozornenie: Nie je možné získať informácie o zariadení!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "Alternatívny"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Zmeny boli aplikované."
+
+#~ msgid "Current"
+#~ msgstr "Aktuálne"
+
+#~ msgid "Loading"
+#~ msgstr "Načítava sa"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Reštartuje sa..."
+
+#~ msgid "System"
+#~ msgstr "Systém"
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Čaká sa na aplikovanie zmien..."
#~ msgid "attempting to mount alternative partition"
#~ msgstr "pokus o pripojenie alternatívneho oddielu"
diff --git a/applications/luci-app-advanced-reboot/po/sv/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/sv/advanced-reboot.po
index 4efc94ce9e..36bcc5bb6d 100644
--- a/applications/luci-app-advanced-reboot/po/sv/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/sv/advanced-reboot.po
@@ -1,144 +1,128 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2019-12-03 08:27+0000\n"
-"Last-Translator: Mattias Münster <mattiasmun@gmail.com>\n"
+"PO-Revision-Date: 2021-04-07 17:42+0000\n"
+"Last-Translator: Luna Jernberg <droidbittin@gmail.com>\n"
"Language-Team: Swedish <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/sv/>\n"
"Language: sv\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 3.10-dev\n"
+"X-Generator: Weblate 4.6-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
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"
-
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Avbryt"
-#: 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:163
msgid "Compressed"
-msgstr ""
+msgstr "Komprimerad"
-#: 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:125
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/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+msgid "Device unreachable! Still waiting for device..."
+msgstr "Enheten ej nåbar! Väntar fortfarande på enheten..."
-#: 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:198
msgid "ERROR:"
-msgstr ""
+msgstr "FEL:"
-#: 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:206
msgid "Firmware"
-msgstr ""
+msgstr "fast programvara"
#: 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 "Laddar"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
-msgstr ""
+msgstr "Ingen åtkomst till fw_printenv eller 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:204
msgid "Partition"
msgstr "Partition"
-#: 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:200
msgid "Partitions"
msgstr "Partitioner"
-#: 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:226
msgid "Perform power off..."
msgstr "Utför avstängning..."
-#: 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:46
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Fortsätt"
-#: 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:207
msgid "Reboot"
msgstr "Starta om"
-#: 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:125
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:157
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:154
msgid "Reboot to current partition"
msgstr "Starta om till nuvarande partition"
-#: 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..."
-msgstr "Startar om..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+msgid "Rebooting…"
+msgstr "Startar om…"
-#: 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:38
msgid "Shutting down..."
msgstr "Stänger av..."
-#: 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:205
msgid "Status"
msgstr "Status"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-#: 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:100
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 ""
+"Systemet startar om till en alternativ partition nu.<br />STÄNG INTE AV "
+"ENHETEN!<br /> Vänta ett par minuter innan du försöker ansluta. Du kan "
+"behöva förnya adressen på din dator för att nå enheten igen, beroende på "
+"inställningarna. "
-#: 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:39
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 "
@@ -148,40 +132,31 @@ 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: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
-msgid "Unable to find Dual Boot Flag Partition."
+#: 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/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:11
+msgid "Unable to find Dual Boot Flag Partition."
+msgstr "Det gick inte att hitta Dual Boot Flag Partition."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
msgid "Unknown"
-msgstr ""
+msgstr "Okänd"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -192,8 +167,17 @@ msgid ""
"back to the currently active partition.<br /><br /> Click \"Proceed\" below "
"to reboot device to an alternative partition."
msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+"VARNING: En alternativ partition kan ha sina egna inställningar och helt "
+"annan firmware.<br /> <br />Eftersom din nätverkskonfiguration och WiFi "
+"SSID / lösenord på alternativ partition kan vara annorlunda, kan du behöva "
+"justera dina datorinställningar för att kunna nå din enhet igen efter "
+"omstart.\n"
+"<br /> <br /> Tänk också på att en alternativ partition firmware kanske inte "
+"är ett enkelt sätt att växla aktiv partition och starta tillbaka till den "
+"aktiva partitionen. <br /> <br / > Klicka på \"Fortsätt\" nedan för att "
+"starta om enheten till en alternativ partition."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:47
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 "
@@ -203,34 +187,59 @@ 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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Väntar på att ändringarna ska bli verkställda..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+msgid "Waiting for device..."
+msgstr "Väntar på enhet..."
-#: 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:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
+"Varning: Enheten (% s) är okänd eller är inte en enhet med dubbla "
+"partitioner!"
-#: 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:193
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!"
-#: 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:229
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:217
msgid "Warning: Unable to obtain device information!"
-msgstr ""
+msgstr "Varning: Det går inte att få information om enheten!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "Alternativ"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Ändringar tillämpade. "
+
+#~ msgid "Current"
+#~ msgstr "Nuvarande"
+
+#~ msgid "Loading"
+#~ msgstr "Laddar"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Startar om..."
+
+#~ msgid "System"
+#~ msgstr "System"
+
+#~ 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 ""
+#~ "Systemet startar om nu. <br /> STÄNG INTE AV ENHETEN!<br /> Vänta ett par "
+#~ "minuter innan du försöker ansluta. Du kan behöva förnya adressen på din "
+#~ "dator för att nå enheten igen, beroende på inställningarna."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Väntar på att ändringarna ska bli verkställda..."
#~ msgid "Action"
#~ msgstr "Åtgärd"
diff --git a/applications/luci-app-advanced-reboot/po/templates/advanced-reboot.pot b/applications/luci-app-advanced-reboot/po/templates/advanced-reboot.pot
index 888a909457..719760e273 100644
--- a/applications/luci-app-advanced-reboot/po/templates/advanced-reboot.pot
+++ b/applications/luci-app-advanced-reboot/po/templates/advanced-reboot.pot
@@ -1,45 +1,34 @@
msgid ""
msgstr "Content-Type: text/plain; charset=UTF-8"
-#: 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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
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"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
msgid "Firmware"
msgstr ""
@@ -47,81 +36,72 @@ msgstr ""
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 ""
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
msgid "Status"
msgstr ""
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-#: 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:100
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 "
@@ -129,47 +109,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: 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:39
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -181,37 +152,29 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
-
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
diff --git a/applications/luci-app-advanced-reboot/po/tr/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/tr/advanced-reboot.po
index d6e0e9a8a4..66127b59c2 100644
--- a/applications/luci-app-advanced-reboot/po/tr/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/tr/advanced-reboot.po
@@ -1,192 +1,162 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2019-12-04 12:07+0000\n"
-"Last-Translator: Caglar Ozalp <cozalp@gmail.com>\n"
+"PO-Revision-Date: 2021-05-11 11:34+0000\n"
+"Last-Translator: semih <semiht@gmail.com>\n"
"Language-Team: Turkish <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/tr/>\n"
"Language: tr\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 3.10-dev\n"
+"X-Generator: Weblate 4.7-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Gelişmiş Yeniden Başlatma"
-#: 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 "Alternatif"
-
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "İptal"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Değişiklikler uygulandı."
-
-#: 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:163
msgid "Compressed"
-msgstr ""
+msgstr "Sıkıştırılmış"
-#: 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:125
msgid "Confirm"
msgstr "Onayla"
-#: 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 "Geçerli"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+msgid "Device unreachable! Still waiting for device..."
+msgstr "Aygıta ulaşılamıyor! Hala aygıt bekleniyor..."
-#: 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:198
msgid "ERROR:"
msgstr "HATA:"
-#: 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:206
msgid "Firmware"
msgstr "Cihaz yazılımı"
#: 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 ""
+msgstr "luci-app-advanced-reboot için UCI ve dosya erişimi verin"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "Yükleniyor"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
-msgstr "fw_printenv e veya fw_printenv e erişim yok!"
+msgstr "fw_printenv'e veya fw_printenv'e erişim yok!"
-#: 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:204
msgid "Partition"
msgstr "Bölüm"
-#: 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:200
msgid "Partitions"
msgstr "Bölümler"
-#: 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:226
msgid "Perform power off..."
msgstr "Güç kapat..."
-#: 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:46
msgid "Power Off Device"
msgstr "Cihazın Gücünü Kapat"
-#: 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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "İlerle"
-#: 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:207
msgid "Reboot"
msgstr "Yeniden başlat"
-#: 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:125
msgid "Reboot Device to an Alternative Partition"
msgstr "Alternatif Bölüm için cihazı yeniden başlat"
-#: 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:157
msgid "Reboot to alternative partition..."
msgstr "alternatif bölüm için yeniden başlat..."
-#: 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:154
msgid "Reboot to current partition"
msgstr "Mevcut bölüm için yeniden başlat"
-#: 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..."
-msgstr "Yeniden Başlatılıyor..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+msgid "Rebooting…"
+msgstr "Yeniden başlatılıyor…"
-#: 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:38
msgid "Shutting down..."
msgstr "Kapatılıyor..."
-#: 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:205
msgid "Status"
msgstr "Durum"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Sistem"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr "İkili Önyükleme İşareti Bölümü: %s bir blok aygıtı değil."
-#: 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 ""
-"Sistem yeniden başlatılıyor.<br /> CİHAZ GÜCÜNÜ KAPATMAYIN!<br /> Yeniden "
-"bağlanmayı denemeden önce birkaç dakika bekleyin.Bu ayarlarınıza göre, "
-"yeniden cihaza erişebilmeniz için, bilgisayar adresinin yenilenmesinde "
-"gereklidir."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "Yeniden başlatma komutu %d koduyla başarısız oldu"
-#: 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:100
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 ""
-"Sistem şimdi alternatif bir bölüme yeniden başlıyor. <br /> CİHAZI "
-"KAPATMAYIN! <br /> Yeniden bağlanmayı denemeden önce birkaç dakika bekleyin. "
+"Sistem şimdi alternatif bir bölüme yeniden başlatılıyor.<br /> AYGITI "
+"KAPATMAYIN!<br /> Yeniden bağlanmayı denemeden önce birkaç dakika bekleyin. "
"Ayarlarınıza bağlı olarak, aygıta tekrar erişmek için bilgisayarınızın "
"adresini yenilemeniz gerekebilir."
-#: 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:39
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 ""
+"Sistem şimdi kapanıyor.<br /> LÜTFEN GÜCÜ KESMEYİN!<br /> Ayarlarınıza bağlı "
+"olarak, cihaza tekrar ulaşmak için bilgisayarınızın adresini yenilemeniz "
+"gerekebilir."
-#: 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 "Aygıt Kartı Adı bulunamıyor."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
msgstr "Dual Boot Flag bölümü bulunamadı."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
-msgstr ""
+msgstr "Yazılım ortam değişkeni alınamıyor: %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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
-msgstr ""
+msgstr "Bölüm için Çift Önyükleme İşareti ayarlanamıyor: %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:15
msgid "Unable to set firmware environment variable: %s to %s."
-msgstr ""
+msgstr "Yazılım ortam değişkeni ayarlanamıyor: %s'ten %s'e."
-#: 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:163
msgid "Unknown"
-msgstr ""
+msgstr "Bilinmiyor"
-#: 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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -197,41 +167,84 @@ msgid ""
"back to the currently active partition.<br /><br /> Click \"Proceed\" below "
"to reboot device to an alternative partition."
msgstr ""
-
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12
+"UYARI: Alternatif bir bölümün kendi ayarları ve tamamen farklı ürün yazılımı "
+"olabilir. <br /> <br /> Alternatif bölümdeki ağ yapılandırmanız ve Kablosuz "
+"Ağ isim/parolanız farklı olabileceğinden, aygıt yeniden başlatıldığında "
+"bağlantı sağlayabilmek için bilgisayar ayarlarınızı düzenlemeniz "
+"gerekebilir. <br /> <br /> Lütfen alternatif bölüm yazılımının, etkin bölümü "
+"değiştirmek veya şu an etkin olan bölüme geri dönebilmek için kolay bir yol "
+"sağlamayabileceğini unutmayın.<br /> <br />Aygıtı alternatif bir bölümde "
+"yeniden başlatmak için lütfen aşağıdaki \"Devam Et\" düğmesine tıklayın."
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:47
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 ""
+"UYARI: Kapat seçeneği, kapatma fonksiyonunu desteklemeyen bir cihazın "
+"yeniden başlatma işlemi yapmasına neden olabilir. <br /> <br /> Cihazınızı "
+"kapatmak için aşağıdaki \"Devam et\" seçeneğine tıklayın."
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Değişikliklerin uygulanması bekleniyor..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+msgid "Waiting for device..."
+msgstr "Aygıt bekleniyor..."
-#: 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:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
+"Uyarı: Cihaz (%s) bilinmiyor ya da çift önyükleme özelliğini desteklemiyor!"
-#: 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:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
+"Uyarı: Yeniden başlatılınca kaybedilecek kaydedilmemiş değişiklikler var!"
-#: 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:229
msgid "Warning: This system does not support powering off!"
-msgstr ""
+msgstr "Uyarı: Bu sistem kapatmayı desteklemiyor!"
-#: 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:217
msgid "Warning: Unable to obtain device information!"
-msgstr ""
+msgstr "Uyarı: Cihaz bilgileri getirilemedi!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "Alternatif"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Değişiklikler uygulandı."
+
+#~ msgid "Current"
+#~ msgstr "Geçerli"
+
+#~ msgid "Loading"
+#~ msgstr "Yükleniyor"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Yeniden Başlatılıyor..."
+
+#~ msgid "System"
+#~ msgstr "Sistem"
+
+#~ 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 ""
+#~ "Sistem yeniden başlatılıyor.<br /> CİHAZ GÜCÜNÜ KAPATMAYIN!<br /> Yeniden "
+#~ "bağlanmayı denemeden önce birkaç dakika bekleyin.Bu ayarlarınıza göre, "
+#~ "yeniden cihaza erişebilmeniz için, bilgisayar adresinin yenilenmesinde "
+#~ "gereklidir."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Değişikliklerin uygulanması bekleniyor..."
+
+#~ msgid "attempting to mount alternative partition (mtd%s)"
+#~ msgstr "alternatif bölüm bağlanmaya çalışılıyor (mtd%s)"
+
+#~ msgid "attempting to unmount alternative partition (mtd%s)"
+#~ msgstr "alternatif bölümün bağlantısı kesilmeye çalışılıyor (mtd%s)"
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Firmware ortam değişkenine ulaşılamıyor"
diff --git a/applications/luci-app-advanced-reboot/po/uk/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/uk/advanced-reboot.po
index 951c61f85d..84819d1dae 100644
--- a/applications/luci-app-advanced-reboot/po/uk/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/uk/advanced-reboot.po
@@ -11,45 +11,34 @@ msgstr ""
"4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 3.11-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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
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:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
msgid "Firmware"
msgstr ""
@@ -57,81 +46,72 @@ msgstr ""
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 "Завантаження"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr ""
-#: 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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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..."
-msgstr "Перезавантаження..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
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:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-#: 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:100
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 "
@@ -139,47 +119,38 @@ msgid ""
"again, depending on your settings."
msgstr ""
-#: 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:39
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: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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -191,41 +162,51 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
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
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
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:229
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:217
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 ""
+#~ msgid "Alternative"
+#~ msgstr "Альтернатива"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Зміни застосовано."
+
+#~ msgid "Current"
+#~ msgstr "Поточний"
+
+#~ msgid "Loading"
+#~ msgstr "Завантаження"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Перезавантаження..."
+
+#~ msgid "System"
+#~ msgstr "Система"
#~ msgid "Action"
#~ msgstr "Дія"
diff --git a/applications/luci-app-advanced-reboot/po/vi/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/vi/advanced-reboot.po
index 89b4a58ec0..af27289503 100644
--- a/applications/luci-app-advanced-reboot/po/vi/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/vi/advanced-reboot.po
@@ -10,45 +10,34 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 3.10-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
msgstr "Khởi động nâng cao"
-#: 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 "Thay thế"
-
-#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
msgid "Cancel"
msgstr "Hủy bỏ"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42
-msgid "Changes applied."
-msgstr "Các thay đổi đã được áp dụng."
-
-#: 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:163
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:125
msgid "Confirm"
msgstr "Xác nhận"
-#: 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 "Hiện tại"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
msgid "ERROR:"
msgstr "Lỗi:"
-#: 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:206
msgid "Firmware"
msgstr ""
@@ -56,85 +45,72 @@ msgstr ""
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 "Đang tải"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
msgstr "Không thể truy cập tới 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:204
msgid "Partition"
msgstr "Phân vùng"
-#: 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:200
msgid "Partitions"
msgstr "Phân vùng"
-#: 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:226
msgid "Perform power off..."
msgstr "Thực hiện tắt nguồn..."
-#: 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:46
msgid "Power Off Device"
msgstr "Tắt nguồn thiết bị"
-#: 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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
msgstr "Tiến trình"
-#: 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:207
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:125
msgid "Reboot Device to an Alternative Partition"
msgstr "Khởi động lại thiết bị vào phân vùng thay thế"
-#: 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:157
msgid "Reboot to alternative partition..."
msgstr "Đang khởi động vào phân vùng thay thế..."
-#: 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:154
msgid "Reboot to current partition"
msgstr "Khởi động lại vào phần vùng hiện tại"
-#: 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..."
-msgstr "Đang khởi động lại..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
msgid "Shutting down..."
msgstr "Đang tắt nguồn..."
-#: 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:205
msgid "Status"
msgstr "Trạng thái"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "Hệ thống"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr ""
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
msgstr ""
-"Hệ thống sẽ được khởi động lại ngay.<br /> VUI LÒNG KHÔNG TẮT NGUỒN THIẾT BỊ!"
-"<br /> Vui lòng chờ một vài phút trước khi thử kết nối lại. Bạn có thể cần "
-"phải cập nhật lại địa chỉ máy tính để kết nối lại với thiết bị, phụ thuộc "
-"vào cài đặt máy tính."
-#: 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:100
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 "
@@ -146,7 +122,7 @@ msgstr ""
"nối lại. Bạn có thể cần phải cập nhật lại địa chỉ máy tính để kết nối lại "
"với thiết bị, phụ thuộc vào cài đặt máy tính."
-#: 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:39
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 "
@@ -156,40 +132,31 @@ msgstr ""
"<br /> Bạn có thể cần phải cập nhật lại địa chỉ máy tính để kết nối lại với "
"thiết bị, phụ thuộc vào cài đặt máy tính."
-#: 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 "Không tìm thấy phân vùng khởi động kép."
-#: 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:14
msgid "Unable to obtain firmware environment variable: %s."
msgstr ""
-#: 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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
-#: 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:15
msgid "Unable to set firmware environment variable: %s to %s."
msgstr ""
-#: 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:163
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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -201,42 +168,66 @@ msgid ""
"to reboot device to an alternative partition."
msgstr ""
-#: 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:47
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/applyreboot.htm:46
-msgid "Waiting for changes to be applied..."
-msgstr "Vui lòng chờ để áp dụng các thay đổi..."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
+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:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
"Cảnh báo: Không thể nhận diện thiết bị (%s) hoặc không phải là thiết bị có "
"hai phân vùng!"
-#: 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:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr "Cảnh báo: Những thay đổi chưa được lưu sẽ bị xóa khi khởi động lại!"
-#: 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:229
msgid "Warning: This system does not support powering off!"
msgstr "Cảnh báo: Hệ thống không hỗ trợ việc tắt nguồn!"
-#: 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:217
msgid "Warning: Unable to obtain device information!"
msgstr "Cảnh báo: Không lấy được thông tin thiết bị!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "Thay thế"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Changes applied."
+#~ msgstr "Các thay đổi đã được áp dụng."
+
+#~ msgid "Current"
+#~ msgstr "Hiện tại"
+
+#~ msgid "Loading"
+#~ msgstr "Đang tải"
+
+#~ msgid "Rebooting..."
+#~ msgstr "Đang khởi động lại..."
+
+#~ msgid "System"
+#~ msgstr "Hệ thống"
+
+#~ 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 ""
+#~ "Hệ thống sẽ được khởi động lại ngay.<br /> VUI LÒNG KHÔNG TẮT NGUỒN THIẾT "
+#~ "BỊ!<br /> Vui lòng chờ một vài phút trước khi thử kết nối lại. Bạn có thể "
+#~ "cần phải cập nhật lại địa chỉ máy tính để kết nối lại với thiết bị, phụ "
+#~ "thuộc vào cài đặt máy tính."
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "Vui lòng chờ để áp dụng các thay đổi..."
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "Không thể lấy được biến bộ nạp khởi động"
diff --git a/applications/luci-app-advanced-reboot/po/zh_Hans/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/zh_Hans/advanced-reboot.po
index aec7360ea9..41860cf1b5 100644
--- a/applications/luci-app-advanced-reboot/po/zh_Hans/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/zh_Hans/advanced-reboot.po
@@ -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-04-09 08:04+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,109 @@ 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.6-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:188
+#: 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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
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:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
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:122
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:204
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:200
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:226
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:46
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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
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:125
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:157
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:154
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:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
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:205
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:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
+msgstr "双引导标志分区:%s 不是块设备。"
-#: 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/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "reboot 命令失败,代码 %d"
-#: 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:100
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 +127,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:39
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 +136,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:14
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:13
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:15
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:163
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:126
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 +176,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:47
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 +185,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:71
+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:216
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:193
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:229
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:217
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 "无法获取固件环境变量"
diff --git a/applications/luci-app-advanced-reboot/po/zh_Hant/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/zh_Hant/advanced-reboot.po
index cebed2cd96..5ec7e8ce33 100644
--- a/applications/luci-app-advanced-reboot/po/zh_Hant/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/zh_Hant/advanced-reboot.po
@@ -3,191 +3,160 @@
#
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-03-03 13:35+0000\n"
-"Last-Translator: Trevor <wowpapa3232@gmail.com>\n"
+"PO-Revision-Date: 2021-01-19 21:13+0000\n"
+"Last-Translator: akibou <jinwenxin1997@icloud.com>\n"
"Language-Team: Chinese (Traditional) <https://hosted.weblate.org/projects/"
"openwrt/luciapplicationsadvanced-reboot/zh_Hant/>\n"
"Language: zh_Hant\n"
"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-dev\n"
+"X-Generator: Weblate 4.5-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:188
+#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
-msgstr "進階重啟"
+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:53
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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:163
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:125
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:77
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
+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:198
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:206
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 ""
+msgstr "授予 luci-app-advanced-reboot 擁有 UCI 和檔案存取的權限"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45
-msgid "Loading"
-msgstr "載入中"
-
-#: 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:122
msgid "No access to fw_printenv or fw_printenv!"
-msgstr "無法訪問 fw_printenv 或 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:204
msgid "Partition"
-msgstr "分割槽"
+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:200
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:226
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:46
msgid "Power Off Device"
-msgstr "關閉裝置"
+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:57
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
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:207
msgid "Reboot"
-msgstr "重啟"
+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:125
msgid "Reboot Device to an Alternative Partition"
-msgstr "重啟至備用分割區"
+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:157
msgid "Reboot to alternative partition..."
-msgstr "重啟到備用分割區…"
+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:154
msgid "Reboot to current partition"
-msgstr "重啟到當前分割區"
+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..."
-msgstr "正在重啟…"
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:75
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
+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:38
msgid "Shutting down..."
-msgstr "正在關機…"
+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:205
msgid "Status"
msgstr "狀態"
-#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39
-msgid "System"
-msgstr "系統"
-
-#: 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."
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
+msgid "The Dual Boot Flag Partition: %s is not a block device."
msgstr ""
-"系統正在重啟。<br />切勿關閉電源!<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:66
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
+msgid "The reboot command failed with code %d"
+msgstr "重新啟動命令執行失敗(錯誤碼:%d)"
+
+#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:100
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 />切勿關閉電源! <br />等待數分鐘後即可嘗試"
-"重新連線。您可能需要更改電腦的 IP 地址以重新連線。"
+"系統正在重新啟動到替代分割區中;<br />切勿關閉電源!<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:39
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 />切勿關閉電源! <br />等待數分鐘後即可嘗試重新連線。您"
-"可能需要更改電腦的 IP 位址以重新連線。"
+"系統正在關機中;<br />切勿關閉電源!<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 "無法找到雙引導標誌分割槽。"
+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:14
msgid "Unable to obtain firmware environment variable: %s."
-msgstr ""
+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:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
-msgstr ""
+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:15
msgid "Unable to set firmware environment variable: %s to %s."
-msgstr ""
+msgstr "無法設定韌體的環境變數(%s 到 %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:163
msgid "Unknown"
-msgstr "未知的"
+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:126
msgid ""
"WARNING: An alternative partition might have its own settings and completely "
"different firmware.<br /><br /> As your network configuration and WiFi SSID/"
@@ -198,48 +167,70 @@ msgid ""
"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 />點選下方「繼續」,使裝置重啟至"
-"備用分割區。"
+"警告:替代分割區的設定和韌體可能與目前完全不同;<br /><br />由於替代分割區的"
+"網路組態和 Wi-Fi SSID/密碼可能與目前不同,一旦重新啟動,您需要調整電腦設定才"
+"能存取該裝置。<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:47
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 />點選下方「繼"
-"續」,使裝置關機。"
+"警告:不支援執行關機的裝置強制執行關機可能會導致其重新啟動;<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:71
+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:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
-msgstr "警告:裝置(%s)未知或不是雙分割區裝置!"
+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:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
-msgstr "警告:未儲存的更改會在重啟時遺失!"
+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:229
msgid "Warning: This system does not support powering off!"
-msgstr "警告:此系統不支援關閉電源!"
+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:217
msgid "Warning: Unable to obtain device information!"
-msgstr "警告:無法獲取裝置資訊!"
+msgstr "警告:無法取得裝置資訊!"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45
-msgid "attempting to mount alternative partition (mtd%s)"
-msgstr ""
+#~ msgid "Alternative"
+#~ msgstr "備用"
-#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54
-msgid "attempting to unmount alternative partition (mtd%s)"
-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 />切勿關閉電源!<br />等待數分鍾後即可嘗試重新連線。您可"
+#~ "能需要更改電腦的 IP 位址以重新連線。"
+
+#~ msgid "Waiting for changes to be applied..."
+#~ msgstr "正在等待設定套用..."
#~ msgid "Unable to obtain firmware environment variable"
#~ msgstr "無法獲取韌體環境變數"
diff --git a/applications/luci-app-advanced-reboot/root/etc/uci-defaults/40_luci-advanced-reboot b/applications/luci-app-advanced-reboot/root/etc/uci-defaults/40_luci-advanced-reboot
index e1a8f1e307..8e457adce8 100644
--- a/applications/luci-app-advanced-reboot/root/etc/uci-defaults/40_luci-advanced-reboot
+++ b/applications/luci-app-advanced-reboot/root/etc/uci-defaults/40_luci-advanced-reboot
@@ -1,5 +1,5 @@
#!/bin/sh
+/etc/init.d/rpcd reload
rm -rf /var/luci-modulecache/; rm -f /var/luci-indexcache;
exit 0
-
diff --git a/applications/luci-app-advanced-reboot/root/usr/libexec/rpcd/luci.advanced_reboot b/applications/luci-app-advanced-reboot/root/usr/libexec/rpcd/luci.advanced_reboot
new file mode 100755
index 0000000000..7ee2ec8ba2
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/libexec/rpcd/luci.advanced_reboot
@@ -0,0 +1,396 @@
+#!/bin/sh
+# Copyright 2017-2020 Stan Grishin (stangri@melmac.net)
+# shellcheck disable=SC2039,SC1091
+
+readonly devices_dir="/usr/share/advanced-reboot/devices/"
+
+. /lib/functions.sh
+. /usr/share/libubox/jshn.sh
+
+logger() { /usr/bin/logger -t advanced-reboot "$1"; }
+is_present() { command -v "$1" >/dev/null 2>&1; }
+
+is_alt_mountable() {
+ local p1_mtd="$1" p2_mtd="$2"
+ if [ "${p1_mtd:0:3}" = "mtd" ] && [ "${p2_mtd:0:3}" = "mtd" ] && \
+ is_present 'ubiattach' && \
+ is_present 'ubiblock' && \
+ is_present 'mount'; then
+ return 0
+ else
+ return 1
+ fi
+}
+
+alt_partition_mount() {
+ local ubi_dev op_ubi="$1"
+ mkdir -p /var/alt_rom
+ ubi_dev="$(ubiattach -m "$op_ubi")"
+ ubi_dev="$(echo "$ubi_dev" | sed -n "s/^UBI device number\s*\(\d*\),.*$/\1/p")"
+ if [ -z "$ubi_dev" ]; then
+ ubidetach -m "$op_ubi"
+ return 1
+ fi
+ ubiblock --create "/dev/ubi${ubi_dev}_0" && \
+ mount -t squashfs -r "/dev/ubiblock${ubi_dev}_0" /var/alt_rom
+}
+
+alt_partition_unmount() {
+ local mtdCount i=0 op_ubi="$1"
+ mtdCount="$(ubinfo | grep 'Present UBI devices' | tr ',' '\n' | grep -c 'ubi')"
+ [ -z "$mtdCount" ] && mtdCount=10
+ [ -d /var/alt_rom ] && umount /var/alt_rom
+ while [ "$i" -le "$mtdCount" ]; do
+ if [ ! -e "/sys/devices/virtual/ubi/ubi${i}/mtd_num" ]; then
+ break
+ fi
+ ubi_mtd="$(cat /sys/devices/virtual/ubi/ubi${i}/mtd_num)"
+ if [ -n "$ubi_mtd" ] && [ "$ubi_mtd" = "$op_ubi" ]; then
+ ubiblock --remove /dev/ubi${i}_0
+ ubidetach -m "$op_ubi"
+ rm -rf /var/alt_rom
+ fi
+ i=$((i + 1))
+ done
+}
+
+get_main_partition_os_info(){
+ local cp_info
+ if [ -s "/etc/os-release" ]; then
+ cp_info="$(. /etc/os-release && echo "$PRETTY_NAME")"
+ if [ "${cp_info//SNAPSHOT}" != "$cp_info" ]; then
+ cp_info="$(. /etc/os-release && echo "${OPENWRT_RELEASE%%-*}")"
+ fi
+ fi
+ echo "$cp_info"
+}
+
+get_alt_partition_os_info(){
+ local op_info op_ubi="$1"
+ logger "attempting to mount alternative partition (mtd${op_ubi})"
+ alt_partition_unmount "$op_ubi"
+ alt_partition_mount "$op_ubi"
+ if [ -s "/var/alt_rom/etc/os-release" ]; then
+ op_info="$(. /var/alt_rom/etc/os-release && echo "$PRETTY_NAME")"
+ if [ "${op_info//SNAPSHOT}" != "$op_info" ]; then
+ op_info="$(. /var/alt_rom/etc/os-release && echo "${OPENWRT_RELEASE%%-*}")"
+ fi
+ fi
+ logger "attempting to unmount alternative partition (mtd${op_ubi})"
+ alt_partition_unmount "$op_ubi"
+ echo "$op_info"
+}
+
+find_device_data(){
+ local boardNames filename i romBoardName="$1"
+ for filename in "${devices_dir}"*.json; do
+ [ "$filename" = "${devices_dir}*.json" ] && return
+ json_load_file "$filename"
+ json_get_values boardNames 'boardNames'
+ json_cleanup
+ for i in $boardNames; do
+ if [ "$i" = "$romBoardName" ]; then
+ echo "$filename"
+ return
+ fi
+ done
+ done
+}
+
+print_json() { json_init; json_add_string "$1" "$2"; json_dump; json_cleanup; }
+
+obtain_device_info(){
+ local romBoardName p zyxelFlagPartition i
+ local vendorName deviceName partition1MTD partition2MTD labelOffset
+ local bootEnv1 bootEnv1Partition1Value bootEnv1Partition2Value
+ local bootEnv2 bootEnv2Partition1Value bootEnv2Partition2Value
+ local p1_label p1_version p2_label p2_version p1_os p2_os
+ local current_partition op_ubi cp_info op_info
+
+ romBoardName="$(cat /tmp/sysinfo/board_name)"
+ if [ -z "$romBoardName" ]; then
+ print_json 'error' 'NO_BOARD_NAME'
+ return
+ fi
+
+ p="$(find_device_data "$romBoardName")"
+ if [ -z "$p" ] || [ ! -s "$p" ]; then
+ print_json 'rom_board_name' "$romBoardName"
+ return
+ fi
+
+ json_load_file "$p"
+ for i in vendorName deviceName partition1MTD partition2MTD labelOffset \
+ bootEnv1 bootEnv1Partition1Value bootEnv1Partition2Value \
+ bootEnv2 bootEnv2Partition1Value bootEnv2Partition2Value; do
+ json_get_var $i "$i"
+ done
+ json_cleanup
+
+ if [ -n "$labelOffset" ]; then
+ if [ -n "$partition1MTD" ]; then
+ p1_label="$(dd if="/dev/${partition1MTD}" bs=1 skip="${labelOffset}" count=64 2>/dev/null)"
+ if [ -n "$p1_label" ]; then
+ p1_version="$(echo "$p1_label" | sed -n "s/\(.*\)Linux-\([0-9.]\+\).*$/\2/p")"
+ if [ "${p1_label//LEDE}" != "$p1_label" ]; then p1_os="LEDE"; fi
+ if [ "${p1_label//OpenWrt}" != "$p1_label" ]; then p1_os="OpenWrt"; fi
+ if [ -n "$vendorName" ] && [ "${p1_label//$vendorName}" != "$p1_label" ]; then
+ p1_os="$vendorName"
+ fi
+ fi
+ if [ -z "$p1_os" ]; then
+ p1_os="${vendorName:-Unknown}/Unknown"
+ fi
+ fi
+
+ if [ -n "$partition2MTD" ]; then
+ p2_label="$(dd if="/dev/${partition2MTD}" bs=1 skip="${labelOffset}" count=64 2>/dev/null)"
+ if [ -n "$p2_label" ]; then
+ p2_version="$(echo "$p2_label" | sed -n "s/\(.*\)Linux-\([0-9.]\+\).*$/\2/p")"
+ if [ "${p2_label//LEDE}" != "$p2_label" ]; then p2_os="LEDE"; fi
+ if [ "${p2_label//OpenWrt}" != "$p2_label" ]; then p2_os="OpenWrt"; fi
+ if [ -n "$vendorName" ] && [ "${p2_label//$vendorName}" != "$p2_label" ]; then
+ p2_os="$vendorName"
+ fi
+ fi
+ if [ -z "$p2_os" ]; then
+ p2_os="${vendorName:-Unknown}/Unknown"
+ fi
+ fi
+ else
+ p1_os="${vendorName}/Unknown (Compressed)"
+ p2_os="${vendorName}/Unknown (Compressed)"
+ fi
+
+ if [ -n "$bootEnv1" ]; then
+ if [ -x "/usr/sbin/fw_printenv" ] && [ -x "/usr/sbin/fw_setenv" ]; then
+ current_partition="$(/usr/sbin/fw_printenv -n "${bootEnv1}")"
+ fi
+ else
+ for i in '0:dual_flag' '0:DUAL_FLAG'; do
+ zyxelFlagPartition="$(find_mtd_part "$i" 2>/dev/null)"
+ [ -n "$zyxelFlagPartition" ] && break
+ done
+ if [ -z "$zyxelFlagPartition" ]; then
+ print_json 'error' 'NO_DUAL_FLAG'
+ logger "Unable to find Dual Boot Environment or Dual Boot Flag Partition."
+ return
+ elif [ ! -b "$zyxelFlagPartition" ]; then
+ print_json 'error' 'NO_DUAL_FLAG_BLOCK'
+ logger "The Dual Boot Flag Partition: $zyxelFlagPartition is not block device."
+ return
+ else
+ current_partition="$(dd if="${zyxelFlagPartition}" bs=1 count=1 2>/dev/null | hexdump -n 1 -e '1/1 "%d"')"
+ fi
+ fi
+
+ if is_alt_mountable "$partition1MTD" "$partition2MTD"; then
+ if [ "$current_partition" = "$bootEnv1Partition1Value" ]; then
+ op_ubi=$(( ${partition2MTD:3:3} + 1 ))
+ else
+ op_ubi=$(( ${partition1MTD:3:3} + 1 ))
+ fi
+ cp_info="$(get_main_partition_os_info $op_ubi)"
+ op_info="$(get_alt_partition_os_info $op_ubi)"
+ if [ "$current_partition" = "$bootEnv1Partition1Value" ]; then
+ p1_os="${cp_info:-$p1_os}"
+ p2_os="${op_info:-$p2_os}"
+ else
+ p1_os="${op_info:-$p1_os}"
+ p2_os="${cp_info:-$p2_os}"
+ fi
+ fi
+ if [ -n "$p1_os" ] && [ -n "$p1_version" ]; then
+ p1_os="$p1_os (Linux ${p1_version})"
+ fi
+ if [ -n "$p2_os" ] && [ -n "$p2_version" ]; then
+ p2_os="$p2_os (Linux ${p2_version})"
+ fi
+
+ json_init
+ json_add_int 'current_partition' "$current_partition"
+ json_add_string 'device_name' "$vendorName $deviceName"
+ json_add_array 'partitions'
+ json_add_object
+ if [ "$bootEnv1Partition1Value" = "$current_partition" ]; then
+ json_add_string 'state' "Current"
+ else
+ json_add_string 'state' "Alternative"
+ fi
+ json_add_string 'os' "$p1_os"
+ json_add_int 'number' "$bootEnv1Partition1Value"
+ json_close_object
+ json_add_object
+ if [ "$bootEnv1Partition2Value" = "$current_partition" ]; then
+ json_add_string 'state' "Current"
+ else
+ json_add_string 'state' "Alternative"
+ fi
+ json_add_string 'os' "$p2_os"
+ json_add_int 'number' "$bootEnv1Partition2Value"
+ json_close_object
+ json_close_array
+ json_add_string 'rom_board_name' "$romBoardName"
+ json_dump; json_cleanup;
+}
+
+toggle_boot_partition(){
+ local zyxelFlagPartition i zyxelBootFlag zyxelNewBootFlag curEnvSetting newEnvSetting
+ local romBoardName p
+ local bev1 bev2 bev1p1 bev1p2 bev2p1 bev2p2
+ local vendorName deviceName partition1MTD partition2MTD labelOffset
+ local bootEnv1 bootEnv1Partition1Value bootEnv1Partition2Value
+ local bootEnv2 bootEnv2Partition1Value bootEnv2Partition2Value
+
+ romBoardName="$(cat /tmp/sysinfo/board_name)"
+ if [ -z "$romBoardName" ]; then
+ print_json 'error' 'NO_BOARD_NAME'
+ return
+ fi
+
+ p="$(find_device_data "$romBoardName")"
+ if [ -z "$p" ] || [ ! -s "$p" ]; then
+ print_json 'rom_board_name' "$romBoardName"
+ return
+ fi
+
+ json_load_file "$p"
+ for i in vendorName deviceName partition1MTD partition2MTD labelOffset \
+ bootEnv1 bootEnv1Partition1Value bootEnv1Partition2Value \
+ bootEnv2 bootEnv2Partition1Value bootEnv2Partition2Value; do
+ json_get_var $i "$i"
+ done
+ json_cleanup
+
+ bev1="$bootEnv1"
+ bev2="$bootEnv2"
+
+ if [ -n "${bev1}${bev2}" ]; then # Linksys devices
+ if [ -n "$bev1" ]; then
+ curEnvSetting="$(fw_printenv -n "${bev1}")"
+ if [ -z "$curEnvSetting" ]; then
+ logger "$(printf "Unable to obtain firmware environment variable: %s." "$bev1")"
+ json_init
+ json_add_string 'error' 'NO_FIRM_ENV'
+ json_add_array 'args'
+ json_add_string "$bev1"
+ json_close_array
+ json_add_string 'rom_board_name' "$romBoardName"
+ json_dump; json_cleanup;
+ return
+ else
+ bev1p1="$bootEnv1Partition1Value"
+ bev1p2="$bootEnv1Partition2Value"
+ if [ "$curEnvSetting" = "$bev1p1" ]; then
+ newEnvSetting="$bev1p2"
+ else
+ newEnvSetting="$bev1p1"
+ fi
+ if ! fw_setenv "$bev1" "$newEnvSetting"; then
+ logger "$(printf "Unable to set firmware environment variable: %s to %s." "$bev1" "$newEnvSetting")"
+ json_init
+ json_add_string 'error' 'ERR_SET_ENV'
+ json_add_array 'args'
+ json_add_string "$bev1"
+ json_add_string "$newEnvSetting"
+ json_close_array
+ json_add_string 'rom_board_name' "$romBoardName"
+ json_dump; json_cleanup;
+ return
+ fi
+ fi
+ fi
+ if [ -n "$bev2" ]; then
+ curEnvSetting="$(fw_printenv -n "${bev2}")"
+ if [ -z "$curEnvSetting" ]; then
+ logger "$(printf "Unable to obtain firmware environment variable: %s." "$bev2")"
+ json_init
+ json_add_string 'error' 'NO_FIRM_ENV'
+ json_add_array 'args'
+ json_add_string "$bev2"
+ json_close_array
+ json_add_string 'rom_board_name' "$romBoardName"
+ json_dump; json_cleanup;
+ return
+ else
+ bev2p1="$bootEnv2Partition1Value"
+ bev2p2="$bootEnv2Partition2Value"
+ if [ "$curEnvSetting" = "$bev2p1" ]; then
+ newEnvSetting="$bev2p2"
+ else
+ newEnvSetting="$bev2p1"
+ fi
+ if ! fw_setenv "$bev2" "$newEnvSetting"; then
+ logger "$(printf "Unable to set firmware environment variable: %s to %s." "$bev2" "$newEnvSetting")"
+ json_init
+ json_add_string 'error' 'ERR_SET_ENV'
+ json_add_array 'args'
+ json_add_string "$bev2"
+ json_add_string "$newEnvSetting"
+ json_close_array
+ json_add_string 'rom_board_name' "$romBoardName"
+ json_dump; json_cleanup;
+ return
+ fi
+ fi
+ fi
+ json_init
+ json_dump; json_cleanup;
+ else # NetGear device
+ for i in '0:dual_flag' '0:DUAL_FLAG'; do
+ zyxelFlagPartition="$(find_mtd_part "$i" 2>/dev/null)"
+ [ -n "$zyxelFlagPartition" ] && break
+ done
+ if [ -z "$zyxelFlagPartition" ]; then
+ print_json 'error' 'NO_DUAL_FLAG'
+ logger "Unable to find Dual Boot Environment or Dual Boot Flag Partition."
+ return
+ elif [ ! -b "$zyxelFlagPartition" ]; then
+ print_json 'error' 'NO_DUAL_FLAG_BLOCK'
+ logger "The Dual Boot Flag Partition: $zyxelFlagPartition is not block device."
+ return
+ else
+ zyxelBootFlag="$(dd if="${zyxelFlagPartition}" bs=1 count=1 2>/dev/null | hexdump -n 1 -e '1/1 "%d"')"
+ if [ "$zyxelBootFlag" = "1" ]; then
+ zyxelNewBootFlag="\\xff"
+ else
+ zyxelNewBootFlag="\\x01"
+ fi
+ if [ -n "$zyxelNewBootFlag" ]; then
+ if ! printf "%b" "$zyxelNewBootFlag" > "$zyxelFlagPartition"; then
+ logger "$(printf "Unable to set Dual Boot Flag Partition entry for partition: %s." "$zyxelFlagPartition")"
+ json_init
+ json_add_string 'error' 'ERR_SET_DUAL_FLAG'
+ json_add_array 'args'
+ json_add_string "$zyxelFlagPartition"
+ json_close_array
+ json_add_string 'rom_board_name' "$romBoardName"
+ json_dump; json_cleanup;
+ return
+ fi
+ fi
+ fi
+ json_init
+ json_dump; json_cleanup;
+ fi
+}
+
+case "$1" in
+ list)
+ json_init
+ json_add_object "obtain_device_info"
+ json_close_object
+ json_add_object "toggle_boot_partition"
+ json_close_object
+ json_dump
+ json_cleanup
+ ;;
+ call)
+ case "$2" in
+ obtain_device_info)
+ obtain_device_info;;
+ toggle_boot_partition)
+ toggle_boot_partition;;
+ esac
+ ;;
+esac
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices.disabled/linksys-ea9500.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices.disabled/linksys-ea9500.json
new file mode 100644
index 0000000000..7c84413e74
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices.disabled/linksys-ea9500.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "EA9500",
+ "boardName": "linksys-panamera",
+ "partition1MTD": "mtd3",
+ "partition2MTD": "mtd6",
+ "labelOffset": 28,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": null,
+ "bootEnv2Partition1Value": null,
+ "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices.disabled/netgear-wac510.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices.disabled/netgear-wac510.json
new file mode 100644
index 0000000000..b9067c4d4b
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices.disabled/netgear-wac510.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Netgear",
+ "deviceName": "WAC510",
+ "boardNames": [ "netgear,wac510" ],
+ "partition1MTD": "mtd9",
+ "partition2MTD": "mtd10",
+ "labelOffset": null,
+ "bootEnv1": "primary",
+ "bootEnv1Partition1Value": 0,
+ "bootEnv1Partition2Value": 3800000,
+ "bootEnv2": "secondary",
+ "bootEnv2Partition1Value": 3800000,
+ "bootEnv2Partition2Value": 0
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e4200v2-ea4500.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e4200v2-ea4500.json
new file mode 100644
index 0000000000..be749a9995
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e4200v2-ea4500.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "E4200v2/EA4500",
+ "boardNames": [ "linksys-viper", "linksys,viper" ],
+ "partition1MTD": "mtd3",
+ "partition2MTD": "mtd5",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": "bootcmd",
+ "bootEnv2Partition1Value": "run nandboot",
+ "bootEnv2Partition2Value": "run altnandboot"
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e4200v2.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e4200v2.json
new file mode 100644
index 0000000000..c32aaf8a3c
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e4200v2.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "E4200v2",
+ "boardNames": [ "linksys-e4200v2", "linksys,e4200v2" ],
+ "partition1MTD": "mtd3",
+ "partition2MTD": "mtd5",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": "bootcmd",
+ "bootEnv2Partition1Value": "run nandboot",
+ "bootEnv2Partition2Value": "run altnandboot"
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea3500.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea3500.json
new file mode 100644
index 0000000000..6cdc726431
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea3500.json
@@ -0,0 +1,15 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "EA3500",
+ "boardNames": [ "linksys-audi", "linksys,audi", "linksys-ea3500", "linksys,ea3500" ],
+ "partition1MTD": "mtd3",
+ "partition2MTD": "mtd5",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": "bootcmd",
+ "bootEnv2Partition1Value": "run nandboot",
+ "bootEnv2Partition2Value": "run altnandboot"
+}
+
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea4500.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea4500.json
new file mode 100644
index 0000000000..aa897f8f61
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea4500.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "EA4500",
+ "boardNames": [ "linksys-e4500", "linksys,e4500" ],
+ "partition1MTD": "mtd3",
+ "partition2MTD": "mtd5",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": "bootcmd",
+ "bootEnv2Partition1Value": "run nandboot",
+ "bootEnv2Partition2Value": "run altnandboot"
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea6350v3.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea6350v3.json
new file mode 100644
index 0000000000..f5fc476c10
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea6350v3.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "EA6350v3",
+ "boardNames": [ "linksys-ea6350v3", "linksys,ea6350v3" ],
+ "partition1MTD": "mtd10",
+ "partition2MTD": "mtd12",
+ "labelOffset": 192,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": null,
+ "bootEnv2Partition1Value": null,
+ "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v1.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v1.json
new file mode 100644
index 0000000000..22f1a8c01a
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v1.json
@@ -0,0 +1,15 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "EA7300v1",
+ "boardNames": [ "linksys,ea7300-v1" ],
+ "partition1MTD": "mtd5",
+ "partition2MTD": "mtd7",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": "bootcmd",
+ "bootEnv2Partition1Value": "run nandboot",
+ "bootEnv2Partition2Value": "run altnandboot"
+}
+
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v2.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v2.json
new file mode 100644
index 0000000000..9f463758c8
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7300v2.json
@@ -0,0 +1,15 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "EA7300v2",
+ "boardNames": [ "linksys,ea7300-v2" ],
+ "partition1MTD": "mtd5",
+ "partition2MTD": "mtd7",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": "bootcmd",
+ "bootEnv2Partition1Value": "run nandboot",
+ "bootEnv2Partition2Value": "run altnandboot"
+}
+
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v1.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v1.json
new file mode 100644
index 0000000000..4c68639fd3
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea7500v1.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "EA7500v1",
+ "boardNames": [ "linksys,ea7500-v1" ],
+ "partition1MTD": "mtd13",
+ "partition2MTD": "mtd15",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": null,
+ "bootEnv2Partition1Value": null,
+ "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8300.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8300.json
new file mode 100644
index 0000000000..d4a47886a5
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8300.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "EA8300",
+ "boardNames": [ "linksys-ea8300", "linksys,ea8300" ],
+ "partition1MTD": "mtd10",
+ "partition2MTD": "mtd12",
+ "labelOffset": 192,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": null,
+ "bootEnv2Partition1Value": null,
+ "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8500.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8500.json
new file mode 100644
index 0000000000..cafa573fb4
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8500.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "EA8500",
+ "boardNames": [ "linksys-ea8500", "linksys,ea8500" ],
+ "partition1MTD": "mtd13",
+ "partition2MTD": "mtd15",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": null,
+ "bootEnv2Partition1Value": null,
+ "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mr8300.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mr8300.json
new file mode 100644
index 0000000000..644f1712f3
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-mr8300.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "MR8300",
+ "boardNames": [ "linksys-mr8300", "linksys,mr8300" ],
+ "partition1MTD": "mtd10",
+ "partition2MTD": "mtd12",
+ "labelOffset": 192,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": null,
+ "bootEnv2Partition1Value": null,
+ "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1200ac.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1200ac.json
new file mode 100644
index 0000000000..3d1b19a921
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1200ac.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "WRT1200AC",
+ "boardNames": [ "linksys-caiman", "linksys,caiman", "linksys,wrt1200ac" ],
+ "partition1MTD": "mtd4",
+ "partition2MTD": "mtd6",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": "bootcmd",
+ "bootEnv2Partition1Value": "run nandboot",
+ "bootEnv2Partition2Value": "run altnandboot"
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1900ac.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1900ac.json
new file mode 100644
index 0000000000..d088e9a2ed
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1900ac.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "WRT1900ACv1",
+ "boardNames": [ "linksys-mamba", "linksys,mamba", "linksys,wrt1900ac-v1" ],
+ "partition1MTD": "mtd4",
+ "partition2MTD": "mtd6",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": "bootcmd",
+ "bootEnv2Partition1Value": "run nandboot",
+ "bootEnv2Partition2Value": "run altnandboot"
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1900acs.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1900acs.json
new file mode 100644
index 0000000000..a30b3dcab3
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1900acs.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "WRT1900ACS",
+ "boardNames": [ "linksys-shelby", "linksys,shelby", "linksys,wrt1900acs" ],
+ "partition1MTD": "mtd4",
+ "partition2MTD": "mtd6",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": "bootcmd",
+ "bootEnv2Partition1Value": "run nandboot",
+ "bootEnv2Partition2Value": "run altnandboot"
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1900acv2.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1900acv2.json
new file mode 100644
index 0000000000..361b434b31
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt1900acv2.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "WRT1900ACv2",
+ "boardNames": [ "linksys-cobra", "linksys,cobra", "linksys,wrt1900ac-v2" ],
+ "partition1MTD": "mtd4",
+ "partition2MTD": "mtd6",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": "bootcmd",
+ "bootEnv2Partition1Value": "run nandboot",
+ "bootEnv2Partition2Value": "run altnandboot"
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt3200acm.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt3200acm.json
new file mode 100644
index 0000000000..09fcf96c2b
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt3200acm.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "WRT3200ACM",
+ "boardNames": [ "linksys-rango", "linksys,rango", "linksys,wrt3200acm" ],
+ "partition1MTD": "mtd5",
+ "partition2MTD": "mtd7",
+ "labelOffset": 32,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": "bootcmd",
+ "bootEnv2Partition1Value": "run nandboot",
+ "bootEnv2Partition2Value": "run altnandboot"
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt32x.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt32x.json
new file mode 100644
index 0000000000..47e94ab876
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-wrt32x.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "Linksys",
+ "deviceName": "WRT32X",
+ "boardNames": [ "linksys-venom", "linksys,venom", "linksys,wrt32x" ],
+ "partition1MTD": "mtd5",
+ "partition2MTD": "mtd7",
+ "labelOffset": null,
+ "bootEnv1": "boot_part",
+ "bootEnv1Partition1Value": 1,
+ "bootEnv1Partition2Value": 2,
+ "bootEnv2": "bootcmd",
+ "bootEnv2Partition1Value": "run nandboot",
+ "bootEnv2Partition2Value": "run altnandboot"
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/zyxel-nbg6817.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/zyxel-nbg6817.json
new file mode 100644
index 0000000000..85e764879a
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/zyxel-nbg6817.json
@@ -0,0 +1,14 @@
+{
+ "vendorName": "ZyXEL",
+ "deviceName": "NBG6817",
+ "boardNames": [ "nbg6817", "zyxel,nbg6817" ],
+ "partition1MTD": "mmcblk0p4",
+ "partition2MTD": "mmcblk0p7",
+ "labelOffset": 32,
+ "bootEnv1": null,
+ "bootEnv1Partition1Value": 255,
+ "bootEnv1Partition2Value": 1,
+ "bootEnv2": null,
+ "bootEnv2Partition1Value": null,
+ "bootEnv2Partition2Value": null
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json b/applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json
new file mode 100644
index 0000000000..e377fa9362
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json
@@ -0,0 +1,13 @@
+{
+ "admin/system/advanced_reboot": {
+ "title": "Advanced Reboot",
+ "order": 90,
+ "action": {
+ "type": "view",
+ "path": "system/advanced_reboot"
+ },
+ "depends": {
+ "acl": [ "luci-app-advanced-reboot" ]
+ }
+ }
+}
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json b/applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json
index 50d50bc2f7..48f43a2756 100644
--- a/applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json
+++ b/applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json
@@ -2,95 +2,15 @@
"luci-app-advanced-reboot": {
"description": "Grant UCI and file access for luci-app-advanced-reboot",
"read": {
- "cgi-io": [
- "exec"
- ],
- "file": {
- "/usr/lib/lua/luci/advanced-reboot/devices/*": [
- "read"
- ],
- "/sys/devices/virtual/ubi/ubi*/mtd_num": [
- "read"
- ],
- "/etc/os-release": [
- "read"
- ],
- "/alt/rom/etc/os-release": [
- "read"
- ],
- "/usr/sbin/fw_printenv *": [
- "exec"
- ],
- "/usr/sbin/fw_setenv *": [
- "exec"
- ],
- "/usr/sbin/ubiattach *": [
- "exec"
- ],
- "/usr/sbin/ubiblock *": [
- "exec"
- ],
- "/usr/sbin/ubidetach *": [
- "exec"
- ],
- "/usr/sbin/ubinfo *": [
- "exec"
- ],
- "/bin/cat *": [
- "exec"
- ],
- "/usr/bin/cat *": [
- "exec"
- ],
- "/bin/dd *": [
- "exec"
- ],
- "/usr/bin/dd *": [
- "exec"
- ],
- "/bin/hexdump *": [
- "exec"
- ],
- "/usr/bin/hexdump *": [
- "exec"
- ],
- "/bin/logger -t advanced-reboot *": [
- "exec"
- ],
- "/usr/bin/logger -t advanced-reboot *": [
- "exec"
- ],
- "/bin/mkdir *": [
- "exec"
- ],
- "/usr/bin/mkdir *": [
- "exec"
- ],
- "/bin/mount *": [
- "exec"
- ],
- "/usr/bin/mount *": [
- "exec"
- ],
- "/bin/printf *": [
- "exec"
- ],
- "/usr/bin/printf *": [
- "exec"
- ],
- "/bin/rm *": [
- "exec"
- ],
- "/usr/bin/rm *": [
- "exec"
- ],
- "/lib/functions.sh": [
- "exec"
- ]
+ "ubus": {
+ "luci.advanced_reboot": [ "obtain_device_info", "toggle_boot_partition" ],
+ "system": [ "reboot" ]
},
- "uci": [
- "network"
- ]
+ "file": {
+ "/usr/sbin/fw_printenv": [ "list" ],
+ "/usr/sbin/fw_setenv": [ "list" ],
+ "/sbin/poweroff": [ "list", "exec" ]
+ }
}
}
}