diff options
Diffstat (limited to 'applications/luci-app-advanced-reboot')
78 files changed, 3447 insertions, 4012 deletions
diff --git a/applications/luci-app-advanced-reboot/README.md b/applications/luci-app-advanced-reboot/README.md index da26ef26b..48ff558c1 100644 --- a/applications/luci-app-advanced-reboot/README.md +++ b/applications/luci-app-advanced-reboot/README.md @@ -14,6 +14,7 @@ Currently supported dual-partition devices include: - Linksys E4200v2 - Linksys EA4500 - Linksys EA6350v3 +- Linksys EA7300v2 - Linksys EA8300 - Linksys MR8300 - Linksys EA8500 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 000000000..762d65f66 --- /dev/null +++ b/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js @@ -0,0 +1,237 @@ +'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.')}, + 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': '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': '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).toString(16).toUpperCase(), + _(partition.state), + partition.os.replace("Unknown", _("Unknown")).replace("Compressed", _("Compressed")), + E('button', { + 'class': '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('div', { 'class': 'table' }, [ + E('div', { 'class': 'tr table-titles' }, [ + E('div', { 'class': 'th' }, [ _('Partition') ]), + E('div', { 'class': 'th' }, [ _('Status') ]), + E('div', { 'class': 'th' }, [ _('Firmware') ]), + E('div', { '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': '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 82f82ddba..000000000 --- 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 6122409dd..000000000 --- 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-e4200v2.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2.lua deleted file mode 100644 index 50c4970ed..000000000 --- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-e4200v2.lua +++ /dev/null @@ -1,14 +0,0 @@ -return { - 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/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 2b72cd4b7..000000000 --- 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", "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/luasrc/advanced-reboot/devices/linksys-ea4500.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea4500.lua deleted file mode 100644 index 10f53d1d7..000000000 --- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-ea4500.lua +++ /dev/null @@ -1,14 +0,0 @@ -return { - 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/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 ccfe55ead..000000000 --- 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 e5faf2787..000000000 --- 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 865b72683..000000000 --- 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-mr8300.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua deleted file mode 100644 index 49b3086db..000000000 --- a/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-mr8300.lua +++ /dev/null @@ -1,14 +0,0 @@ -return { - vendorName = "Linksys", - deviceName = "MR8300", - boardNames = { "linksys-mr8300", "linksys,mr8300" }, - 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-wrt1200ac.lua b/applications/luci-app-advanced-reboot/luasrc/advanced-reboot/devices/linksys-wrt1200ac.lua deleted file mode 100644 index a3efb6973..000000000 --- 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 24869bef8..000000000 --- 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 6b409a191..000000000 --- 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 15062eb54..000000000 --- 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 2e4cbec1a..000000000 --- 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 dd9baf551..000000000 --- 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 0e9112472..000000000 --- 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 1fb4d461b..000000000 --- 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 a28418cc5..000000000 --- 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="btn 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="btn 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="btn 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="btn 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="btn 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 b81aaf455..000000000 --- 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="btn cbi-button cbi-button-reset important" name="cancel" type="submit" value="<%:Cancel%>" /> - <input class="btn 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 94ac36bd7..000000000 --- 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> -   - <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 56200a4c1..000000000 --- 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="btn cbi-button cbi-button-reset important" name="cancel" type="submit" value="<%:Cancel%>" /> - <input class="btn 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 d8426c169..10cf0fc6e 100644 --- a/applications/luci-app-advanced-reboot/po/ar/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/ar/advanced-reboot.po @@ -11,45 +11,34 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "إعادة تشغيل متقدمة" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "لبديل" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "إلغاء" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "تم تطبيق التغييرات." - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "مضغوط" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "تؤكد" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" -msgstr "حالي" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "خطأ:" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "البرامج الثابتة" @@ -57,85 +46,68 @@ msgstr "البرامج الثابتة" msgid "Grant UCI and file access for 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:121 msgid "No access to fw_printenv or fw_printenv!" msgstr "لا يمكن الوصول إلى fw_printenv أو fw_printenv!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203 msgid "Partition" msgstr "تقسيم" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "أقسام" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "أداء السلطة ..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "ايقاف تشغيل الجهاز" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "تقدم" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "اعادة التشغيل" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "إعادة تشغيل الجهاز إلى قسم بديل" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "إعادة التشغيل إلى قسم بديل ..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "إعادة التشغيل إلى القسم الحالي" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." -msgstr "جارٍ إعادة التشغيل ..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "اغلاق..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "الحالة" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" -msgstr "نظام" - -#: applications/luci-app-advanced-reboot/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"يقوم النظام بإعادة التشغيل الآن. <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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -147,7 +119,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -156,40 +128,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:13 msgid "Unable to obtain firmware environment variable: %s." msgstr "غير قادر على الحصول على متغير بيئة البرامج الثابتة:٪ s." -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12 msgid "Unable to set Dual Boot Flag Partition entry for partition: %s." msgstr "غير قادر على تعيين إدخال قسم إشارة التمهيد المزدوج للقسم:٪ s." -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14 msgid "Unable to set firmware environment variable: %s to %s." msgstr "غير قادر على تعيين متغير بيئة البرامج الثابتة:٪ s إلى٪ s." -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Unknown" msgstr "مجهول" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -203,44 +166,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "تحذير: الجهاز (٪ s) غير معروف أو ليس جهازًا مزدوج القسم!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "تحذير: هناك تغييرات غير محفوظة ستضيع عند إعادة التشغيل!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "تحذير: هذا النظام لا يدعم إيقاف التشغيل!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "تحذير: تعذر الحصول على معلومات الجهاز!" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "محاولة تحميل قسم بديل (mtd٪ s)" +#~ msgid "Alternative" +#~ msgstr "لبديل" + +#~ msgid "Changes applied." +#~ msgstr "تم تطبيق التغييرات." + +#~ msgid "Current" +#~ msgstr "حالي" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54 -msgid "attempting to unmount alternative partition (mtd%s)" -msgstr "محاولة إلغاء تحميل قسم بديل (mtd٪ s)" +#~ msgid "Loading" +#~ msgstr "جار التحميل" + +#~ 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 a1b7efeca..06ecd62c8 100644 --- a/applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/bg/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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "" @@ -50,81 +39,68 @@ 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:121 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:203 msgid "Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -#: 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/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -132,47 +108,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -184,37 +151,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" - -#: 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 88228bb96..9fb3a14ea 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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "" @@ -50,81 +39,68 @@ 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:121 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:203 msgid "Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -#: 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/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -132,47 +108,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -184,37 +151,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" - -#: 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 08ff494de..fec6b30c1 100644 --- a/applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po @@ -10,45 +10,34 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.9.1-dev\n" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "" @@ -56,81 +45,68 @@ 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:121 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:203 msgid "Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -#: 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/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -138,47 +114,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -190,40 +157,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" - -#: 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 b1884c2df..769392a39 100644 --- a/applications/luci-app-advanced-reboot/po/cs/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/cs/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:187 +#: 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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "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:205 msgid "Firmware" msgstr "Firmware" @@ -56,85 +45,69 @@ 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:121 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:203 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:199 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:225 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:45 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 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:124 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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "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:204 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/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -146,7 +119,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -155,40 +128,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:13 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:12 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:14 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:162 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:125 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 +172,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -217,35 +181,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:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" "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:192 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:228 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:216 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 78a6252ca..636f9b136 100644 --- a/applications/luci-app-advanced-reboot/po/de/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/de/advanced-reboot.po @@ -10,45 +10,34 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 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:187 +#: 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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 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:124 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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "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:205 msgid "Firmware" msgstr "Firmware" @@ -56,85 +45,68 @@ 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:121 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:203 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:199 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:225 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:45 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 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:124 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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "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:204 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/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"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/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -147,7 +119,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -157,40 +129,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 "" + +#: 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:13 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:12 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:14 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:162 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:125 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 +174,7 @@ 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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -221,35 +184,65 @@ msgstr "" "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:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "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:192 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:228 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:216 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 01070a664..bda85e1d0 100644 --- a/applications/luci-app-advanced-reboot/po/el/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/el/advanced-reboot.po @@ -10,45 +10,34 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.1-dev\n" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "Προχωρημένη Επανεκκίνηση" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "Εναλλακτικό" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "Ακύρωση" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "Οι αλλαγές εφαρμόστηκαν." - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "Συμπιεσμένο" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "Επιβεβαίωση" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" -msgstr "Τρέχων" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "ΣΦΑΛΜΑ:" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "Υλικολογισμικό" @@ -56,85 +45,68 @@ 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:121 msgid "No access to fw_printenv or fw_printenv!" msgstr "Δεν υπάρχει πρόσβαση στο fw_printenv ή fw_printenv!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203 msgid "Partition" msgstr "Διαμέριση" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "Διαμερίσεις" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "Εκτελέστε απενεργοποίηση ..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "Απενεργοποίηση Συσκευής" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "Συνέχιση" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "Επανεκκίνηση" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "Επανεκκινήστε τη Συσκευή σε Εναλλακτικό Διαμερισμό" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "Επανεκκίνηση σε εναλλακτικό διαμερισμό..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "Επανεκκίνηση στον τρέχον διαμερισμό" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." -msgstr "Επανεκκίνηση..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "Απενεργοποίηση..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "Κατάσταση" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" -msgstr "Σύστημα" - -#: applications/luci-app-advanced-reboot/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"Το σύστημα επανεκκινείται τώρα. <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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -147,7 +119,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -157,40 +129,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 "Δεν είναι δυνατή η εύρεση Διπλής καταχώρησης Σημαίας Εκκίνησης." -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13 msgid "Unable to obtain firmware environment variable: %s." msgstr "Δεν είναι δυνατή η λήψη στοιχείων 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:12 msgid "Unable to set Dual Boot Flag Partition entry for partition: %s." msgstr "Δεν μπορεί να ορισθεί το διαμέρισμα δίσκου ως διπλής εκκίνησης: %s." -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14 msgid "Unable to set firmware environment variable: %s to %s." msgstr "Δεν μπορεί να ρυθμιστούν στοιχεία του 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:162 msgid "Unknown" msgstr "Άγνωστο" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -202,7 +165,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -212,34 +175,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:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" "Προσοχή: Άγνωστη συσκευή (%s) ή δεν είναι συσκευή διπλού διαμερίσματος!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "Προσοχή: Οι μη αποθηκευμένες αλλαγές θα χαθούν με την επανεκκίνηση!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "Προσοχή: Το σύστημα δεν υποστηρίζει λειτουργία τερματισμού!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "Προσοχή: Δεν είναι δυνατή η λήψη πληροφοριών συσκευής!" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "προσπάθεια προσάρτησης εναλλακτικού διαμερίσματος (mtd%s)" +#~ msgid "Alternative" +#~ msgstr "Εναλλακτικό" + +#~ msgid "Changes applied." +#~ msgstr "Οι αλλαγές εφαρμόστηκαν." + +#~ msgid "Current" +#~ msgstr "Τρέχων" + +#~ msgid "Loading" +#~ msgstr "Φόρτωση" + +#~ msgid "Rebooting..." +#~ msgstr "Επανεκκίνηση..." + +#~ msgid "System" +#~ msgstr "Σύστημα" + +#~ msgid "" +#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> " +#~ "Wait a few minutes before you try to reconnect. It might be necessary to " +#~ "renew the address of your computer to reach the device again, depending " +#~ "on your settings." +#~ msgstr "" +#~ "Το σύστημα επανεκκινείται τώρα. <br /> ΜΗΝ ΑΠΕΝΕΡΓΟΠΟΙΗΣΕΤΕ ΤΗΝ ΣΥΣΚΕΥΗ! " +#~ "<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 f21e15e87..169789d31 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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "" @@ -50,81 +39,68 @@ 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:121 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:203 msgid "Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -#: 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/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -132,47 +108,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -184,37 +151,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" - -#: 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 3541ac753..b3379239d 100644 --- a/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/es/advanced-reboot.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2020-06-16 16:09+0000\n" +"PO-Revision-Date: 2020-10-14 08:09+0000\n" "Last-Translator: Franco Castillo <castillofrancodamian@gmail.com>\n" "Language-Team: Spanish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsadvanced-reboot/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.3-dev\n" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 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:124 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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +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:197 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:205 msgid "Firmware" msgstr "Firmware" @@ -59,85 +48,68 @@ 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:121 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:203 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:199 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:225 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:45 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 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:124 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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "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:37 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:204 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." -msgstr "" -"El sistema se está reiniciando ahora.<br /> ¡NO APAGUE EL DISPOSITIVO!<br /> " -"Espere unos minutos antes de intentar volver a conectarse. Es posible que " -"sea necesario renovar la dirección de su computadora para llegar al " -"dispositivo nuevamente, dependiendo de su configuración." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" +msgstr "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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -150,7 +122,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -160,42 +132,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:13 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:12 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:14 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:162 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:125 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 +180,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -227,35 +190,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:70 +msgid "Waiting for device..." +msgstr "Esperando por el 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:215 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:192 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:228 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:216 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 47ff1bc93..506b9bf5c 100644 --- a/applications/luci-app-advanced-reboot/po/fi/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/fi/advanced-reboot.po @@ -10,45 +10,34 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 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:187 +#: 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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 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:124 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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "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:205 msgid "Firmware" msgstr "Laiteohjelmisto" @@ -56,85 +45,68 @@ 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:121 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:203 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:199 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:225 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:45 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 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:124 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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "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:204 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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -146,7 +118,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -156,40 +128,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:13 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:12 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:14 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:162 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:125 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 +172,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -219,31 +182,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:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "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:192 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:228 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:216 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 40b324237..5012d39eb 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: 2020-10-24 08:56+0000\n" +"Last-Translator: ButterflyOfFire <ButterflyOfFire@protonmail.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.3.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:187 +#: 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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 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:124 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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +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:197 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:205 msgid "Firmware" msgstr "Firmware" @@ -56,85 +45,68 @@ 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:121 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:203 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:199 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:225 msgid "Perform power off..." msgstr "Éteindre…" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "É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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 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:124 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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "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:37 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:204 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/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" +msgstr "La commande de redémarrage a échoué avec le code %d" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193 -msgid "" -"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a " -"few minutes before you try to reconnect. It might be necessary to renew the " -"address of your computer to reach the device again, depending on your " -"settings." -msgstr "" -"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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -146,7 +118,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -156,45 +128,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 "" + +#: 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:13 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:12 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:14 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:162 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:125 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 +179,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -226,39 +189,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:70 +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:215 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:192 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:228 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:216 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 9a93c84f4..beaffa535 100644 --- a/applications/luci-app-advanced-reboot/po/he/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/he/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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "" @@ -50,81 +39,68 @@ 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:121 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:203 msgid "Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -#: 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/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -132,47 +108,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -184,37 +151,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" - -#: 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 c905fe640..92fd038f9 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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "" @@ -50,81 +39,68 @@ 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:121 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:203 msgid "Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -#: 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/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -132,47 +108,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -184,37 +151,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" - -#: 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 93b497740..294cfb8f4 100644 --- a/applications/luci-app-advanced-reboot/po/hu/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/hu/advanced-reboot.po @@ -10,132 +10,105 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 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:187 +#: 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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 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:124 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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "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:205 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" +msgstr "" +"UCI és fájlhozzáférés megadása a luci-app-advanced-reboot alkalmazásnak" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121 msgid "No access to fw_printenv or fw_printenv!" msgstr "" "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:203 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:199 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:225 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:45 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 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:124 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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "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:204 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/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -147,7 +120,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -157,42 +130,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:13 msgid "Unable to obtain firmware environment variable: %s." 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:12 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:14 msgid "Unable to set firmware environment variable: %s to %s." 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:162 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:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -213,7 +177,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -223,36 +187,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:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" "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:192 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:228 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:216 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 "kísérlet az alternatív partíció (mtd%s) csatolására" +#~ msgid "Alternative" +#~ msgstr "Alternatív" + +#~ 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" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54 -msgid "attempting to unmount alternative partition (mtd%s)" -msgstr "kísérlet az alternatív partíció (mtd%s) leválasztá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 6560fbd61..b74b223f2 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:187 +#: 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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "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:205 msgid "Firmware" msgstr "Firmware" @@ -56,85 +45,68 @@ 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:121 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:203 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:199 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:225 msgid "Perform power off..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "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:124 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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "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:204 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/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -146,7 +118,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -156,40 +128,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:13 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:12 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:14 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:162 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:125 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 +164,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" +#~ 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 5421aeeb1..3c323b8a3 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,155 @@ 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-10-17 15:26+0000\n" +"Last-Translator: RyotaGamer <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.3.1-dev\n" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "" +msgstr "高度な再起動" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "キャンセル" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "変更が適用されました。" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "圧縮済" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" -msgstr "" +msgstr "確認" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" -msgstr "" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "デバイスに接続できません!まだデバイスを待っています..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" -msgstr "エラー :" +msgstr "エラー:" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" -msgstr "" +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:121 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:203 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:199 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:225 msgid "Perform power off..." msgstr "電源オフを実行..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "デバイスの電源オフ" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "続行" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "再起動" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" -msgstr "" +msgstr "デバイスを代替パーティションへ再起動" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." -msgstr "" +msgstr "代替パーティションへ再起動しています..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" -msgstr "" +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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "再起動中…" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "シャットダウン中..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "ステータス" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" -msgstr "システム" - -#: applications/luci-app-advanced-reboot/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" +msgstr "reboot コマンドが失敗しました(コード: %d)" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " "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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "again, depending on your settings." 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 -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 "デュアルブートフラグパーティションが見つかりませんでした。" + +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13 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:12 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:14 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:162 msgid "Unknown" msgstr "不明" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -189,38 +160,76 @@ 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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." +msgstr "起動が終了するのを待っています..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" -msgstr "" +msgstr "警告: デバイス (%s) は不明であるか、デュアルパーティションのデバイスではありません!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "警告: 再起動すると消えてしまう、保存されていない設定があります!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" -msgstr "警告 : このシステムは電源オフをサポートしていません。" +msgstr "警告: このシステムは電源オフをサポートしていません!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" -msgstr "警告 : デバイス情報を取得できません。" +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 d023e29b1..52f253c2c 100644 --- a/applications/luci-app-advanced-reboot/po/ko/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/ko/advanced-reboot.po @@ -10,45 +10,34 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "취소" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "" @@ -56,81 +45,68 @@ 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:121 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:203 msgid "Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -#: 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/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -138,47 +114,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -190,37 +157,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" - -#: 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 99d94228e..b176cefa7 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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "प्रगत रीबूट" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "वैकल्पिक" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "रद्द करा" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "बदल लागू केले." - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "संकुचित" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "पुष्टी" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" -msgstr "वर्तमान" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "त्रुटी:" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "फर्मवेअर" @@ -56,84 +45,68 @@ 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:121 msgid "No access to fw_printenv or fw_printenv!" msgstr "fw_printenv किंवा fw_printenv मध्ये प्रवेश नाही!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203 msgid "Partition" msgstr "विभाजन" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "विभाजने" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "वीज बंद करा ..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "डिव्हाइस बंद करा" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "पुढे जा" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "रीबूट करा" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "वैकल्पिक विभाजनावर डिव्हाइस रीबूट करा" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "वैकल्पिक विभाजनास रीबूट करा ..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "सध्याच्या विभाजनास रीबूट करा" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." -msgstr "रीबूट करीत आहे ..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "बंद होत आहे..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "स्थिती" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" -msgstr "प्रणाली" - -#: applications/luci-app-advanced-reboot/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"सिस्टम आत्ता रीबूट होत आहे. <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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -145,7 +118,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -155,40 +128,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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "अज्ञात" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -200,7 +164,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -210,33 +174,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:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "चेतावणी: डिव्हाइस (%s) अज्ञात आहे किंवा ड्युअल-विभाजन डिव्हाइस नाही!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "चेतावणी: जतन न केलेले बदल आहेत जे रीबूट केल्यावर गमावतील!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "चेतावणी: ही प्रणाली वीज बंद करण्यास समर्थन देत नाही!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "चेतावणी: डिव्हाइस माहिती प्राप्त करण्यात अक्षम!" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" +#~ 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 fa4089de1..86ceb3784 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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "" @@ -50,81 +39,68 @@ 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:121 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:203 msgid "Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -#: 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/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -132,47 +108,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -184,37 +151,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" - -#: 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 684ff7ddd..a4d9ccaa1 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 @@ -10,45 +10,34 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 3.9.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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "" @@ -56,81 +45,68 @@ 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:121 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:203 msgid "Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -#: 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/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -138,47 +114,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -190,40 +157,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" - -#: 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 be408bde9..b455e0f97 100644 --- a/applications/luci-app-advanced-reboot/po/pl/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/pl/advanced-reboot.po @@ -1,6 +1,6 @@ msgid "" msgstr "" -"PO-Revision-Date: 2020-06-17 18:41+0000\n" +"PO-Revision-Date: 2020-10-17 15:26+0000\n" "Last-Translator: Marcin Net <marcin.net@linux.pl>\n" "Language-Team: Polish <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsadvanced-reboot/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.3.1-dev\n" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 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:124 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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +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:197 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:205 msgid "Firmware" msgstr "Firmware" @@ -57,85 +46,68 @@ 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:121 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:203 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:199 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:225 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:45 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 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:124 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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "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:37 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:204 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/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" +msgstr "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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -147,7 +119,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -158,42 +130,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:13 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:12 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:14 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:162 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:125 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 +177,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -224,37 +187,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:70 +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:215 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:192 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:228 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:216 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 e0aaa2d54..0ec97e710 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: 2020-10-14 08:09+0000\n" "Last-Translator: ssantos <ssantos@web.de>\n" "Language-Team: Portuguese <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsadvanced-reboot/pt/>\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 4.2-dev\n" +"X-Generator: Weblate 4.3-dev\n" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 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:124 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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +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:197 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:205 msgid "Firmware" msgstr "Firmware" @@ -56,85 +45,68 @@ msgstr "Firmware" 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" -#: 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:121 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:203 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:199 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:225 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:45 msgid "Power Off Device" msgstr "Encerrar 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 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:124 msgid "Reboot Device to an Alternative Partition" msgstr "Reiniciar o Dispositivo 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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "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:37 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:204 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." -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." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" +msgstr "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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -146,7 +118,7 @@ msgstr "" "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:298 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -157,41 +129,32 @@ msgstr "" "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 +#: 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:13 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:12 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:14 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:162 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:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -212,7 +175,7 @@ msgstr "" "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 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -222,36 +185,66 @@ msgstr "" "encerramento.<br /><br /> Selecione \"Continuar\" abaixo para encerrar o seu " "dispositivo." -#: 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:70 +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:215 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!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" "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:228 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:216 msgid "Warning: Unable to obtain device information!" msgstr "Aviso: Incapaz de obter 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 "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..." + +#~ 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 c2b434697..63d612223 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: 2020-10-14 08:09+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.3-dev\n" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 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:124 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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +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:197 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:205 msgid "Firmware" msgstr "Firmware" @@ -56,86 +46,68 @@ 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:121 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:203 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:199 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:225 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:45 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 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:124 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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "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:37 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:204 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/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" +msgstr "O comando de reinicialização falhou com o código %d" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:193 -msgid "" -"The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> Wait a " -"few minutes before you try to reconnect. It might be necessary to renew the " -"address of your computer to reach the device again, depending on your " -"settings." -msgstr "" -"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." - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -148,7 +120,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -159,40 +131,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:13 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:12 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:14 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:162 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:125 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 +177,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -224,35 +187,66 @@ 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:70 +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:215 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:192 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!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "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:216 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 452c8e734..3df3c83e7 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:187 +#: 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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "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:205 msgid "Firmware" msgstr "" @@ -57,85 +46,68 @@ 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:121 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:203 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:199 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:225 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:45 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 msgid "Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "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:204 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/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -147,7 +119,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -157,40 +129,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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -202,40 +165,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" +#~ 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 e75b65fa4..ee3bc0e2d 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: 2020-10-29 08:32+0000\n" +"Last-Translator: sergio <sergio+it@outerface.net>\n" "Language-Team: Russian <https://hosted.weblate.org/projects/openwrt/" "luciapplicationsadvanced-reboot/ru/>\n" "Language: ru\n" @@ -12,47 +12,36 @@ 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.3.2-dev\n" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "Дополнительная перезагрузка" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "Альтернатива" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "Отмена" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "Изменения установлены." - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "Сжатый" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "Подтвердить" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" -msgstr "Текущий" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "ОШИБКА:" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "Прошивка" @@ -60,85 +49,68 @@ msgstr "Прошивка" msgid "Grant UCI and file access for 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:121 msgid "No access to fw_printenv or fw_printenv!" msgstr "Нет доступа к fw_printenv или fw_printenv!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203 msgid "Partition" msgstr "Раздел" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "Разделы" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "Выполнить отключение..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "Отключить питание устройства" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "Продолжить" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "Перезагрузка" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "Перезагрузить устройство в альтернативный раздел" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "Перезагрузить до альтернативного раздела..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "Перезагрузка к текущему разделу" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." -msgstr "Перезагрузка..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "Перезагрузка…" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." -msgstr "Отключается..." +msgstr "Выключение..." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "Состояние" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" -msgstr "Система" - -#: applications/luci-app-advanced-reboot/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"Система перезагружается.<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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -150,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -160,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 "Невозможно найти 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:13 msgid "Unable to obtain firmware environment variable: %s." msgstr "Невозможно получить переменную окружения прошивки: %s." -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12 msgid "Unable to set Dual Boot Flag Partition entry for partition: %s." msgstr "Невозможно установить точку входа 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:14 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:162 msgid "Unknown" msgstr "Неизвестно" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -214,7 +177,7 @@ msgstr "" "<br /><br /> Нажмите \"Продолжить\" ниже, чтобы перезагрузить устройство в " "альтернативный раздел." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -224,36 +187,66 @@ msgstr "" "которое не поддерживает выключение питания.<br /><br /> Нажмите \"Продолжить" "\" ниже, чтобы выключить устройство." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46 -msgid "Waiting for changes to be applied..." -msgstr "Ждём установления изменений..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" "Внимание: Устройство (%s) не известно или не имеет двойной раздел памяти!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" "Внимание: Есть не сохраненные изменения, которые будут потеряны при " "перезагрузке!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "Внимание: Эта система не поддерживает отключение питания!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "Внимание: Невозможно получить информацию об устройстве!" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "попытка монтирования альтернативного раздела (mtd%s)" +#~ msgid "Alternative" +#~ msgstr "Альтернатива" + +#~ msgid "Changes applied." +#~ msgstr "Изменения установлены." + +#~ msgid "Current" +#~ msgstr "Текущий" + +#~ msgid "Loading" +#~ msgstr "Загрузка" + +#~ msgid "Rebooting..." +#~ msgstr "Перезагрузка..." + +#~ msgid "System" +#~ msgstr "Система" + +#~ msgid "" +#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> " +#~ "Wait a few minutes before you try to reconnect. It might be necessary to " +#~ "renew the address of your computer to reach the device again, depending " +#~ "on your settings." +#~ msgstr "" +#~ "Система перезагружается.<br /> НЕ ВЫКЛЮЧАЙТЕ УСТРОЙСТВО!<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/sk/advanced-reboot.po b/applications/luci-app-advanced-reboot/po/sk/advanced-reboot.po index d63bbe0a7..8818245bc 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:187 +#: 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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 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:124 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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "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:205 msgid "Firmware" msgstr "Firmvér" @@ -56,81 +45,68 @@ 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:121 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:203 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:199 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:225 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:45 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 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:124 msgid "Reboot Device to an Alternative Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "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:204 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/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -138,47 +114,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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:13 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:12 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:14 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:162 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:125 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 +157,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "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:228 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:216 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 ab4b21cdd..c49338431 100644 --- a/applications/luci-app-advanced-reboot/po/sv/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/sv/advanced-reboot.po @@ -10,45 +10,34 @@ msgstr "" "Plural-Forms: nplurals=2; plural=n != 1;\n" "X-Generator: Weblate 4.2.1-dev\n" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "Avbryt" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "Ändringar tillämpade. " - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "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:205 msgid "Firmware" msgstr "Firmware" @@ -56,84 +45,68 @@ 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 "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:121 msgid "No access to fw_printenv or fw_printenv!" 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:203 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:199 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:225 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:45 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 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:124 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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "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:204 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/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"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." -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -145,7 +118,7 @@ msgstr "" "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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -155,40 +128,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 +#: 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 "Det gick inte att hitta Dual Boot Flag 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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -200,8 +164,8 @@ msgid "" "to reboot device to an alternative partition." msgstr "" "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 " +"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 " @@ -209,7 +173,7 @@ msgstr "" "aktiva partitionen. <br /> <br / > Klicka på \"Fortsätt\" nedan för att " "starta om enheten till en alternativ partition." -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -219,36 +183,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:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" "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:192 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:228 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:216 msgid "Warning: Unable to obtain device information!" 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 888a90945..e55bce3ee 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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "" @@ -47,81 +36,68 @@ 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:121 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:203 msgid "Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -#: 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/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -129,47 +105,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -181,37 +148,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" - -#: 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 d6e0e9a8a..47548dd17 100644 --- a/applications/luci-app-advanced-reboot/po/tr/advanced-reboot.po +++ b/applications/luci-app-advanced-reboot/po/tr/advanced-reboot.po @@ -1,140 +1,112 @@ msgid "" msgstr "" -"PO-Revision-Date: 2019-12-04 12:07+0000\n" -"Last-Translator: Caglar Ozalp <cozalp@gmail.com>\n" +"PO-Revision-Date: 2020-09-28 13:26+0000\n" +"Last-Translator: Mehmet Çetin <excom_zkko@hotmail.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.3-dev\n" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 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:124 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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "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:205 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 "" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:45 -msgid "Loading" -msgstr "Yükleniyor" +msgstr "luci-app-advanced-reboot için UCI ve dosya erişimi izni ver" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:213 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:121 msgid "No access to fw_printenv or fw_printenv!" msgstr "fw_printenv 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:203 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:199 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:225 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:45 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 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:124 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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "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:204 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/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"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/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -146,47 +118,41 @@ msgstr "" "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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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/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 "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:13 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:12 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:14 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:162 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:125 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 +163,85 @@ msgid "" "back to the currently active partition.<br /><br /> Click \"Proceed\" below " "to reboot device to an alternative partition." msgstr "" +"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/şifreniz farklı olabileceğinden, cihaz 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, aktif bölümü " +"değiştirmek veya şu an aktif olan bölüme geri dönebilmek için kolay bir yol " +"sağlamayabileceğini unutmayın.<br /> <br />Cihazı alternatif bir bölümde " +"yeniden başlatmak için lütfen aşağıdaki \"Devam Et\" seçeneğini tıklayı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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" +"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:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" +"Uyarı: Yeniden başlatılınca kaybedilecek henüz 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:228 msgid "Warning: This system does not support powering off!" -msgstr "" +msgstr "Uyarı: Bu sistem kapatma fonksiyonunu 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:216 msgid "Warning: Unable to obtain device information!" -msgstr "" +msgstr "Uyarı: Cihaz bilgisi alınamıyor!" -#: 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 951c61f85..71666f879 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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "Розширене перезавантаження" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "Альтернатива" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "Скасувати" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "Зміни застосовано." - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "Підтвердити" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" -msgstr "Поточний" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "ПОМИЛКА:" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "" @@ -57,81 +46,68 @@ 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:121 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:203 msgid "Partition" msgstr "Розділ" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "Розділи" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "Вимкнути живлення пристрою" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "Продовжити" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "Перезавантаження" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." -msgstr "Перезавантаження..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "Стан" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" -msgstr "Система" - -#: applications/luci-app-advanced-reboot/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -139,47 +115,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " "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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "Невідомо" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -191,41 +158,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "" "Застереження: Є незбережені зміни, які буде втрачено при перезавантаженні!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" +#~ 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 89b4a58ec..0dc07c4ee 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:187 +#: 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:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 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:162 msgid "Compressed" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "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:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "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:205 msgid "Firmware" msgstr "" @@ -56,85 +45,68 @@ 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:121 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:203 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:199 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:225 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:45 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:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 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:206 msgid "Reboot" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "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:156 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:153 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:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "Đ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:204 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/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -146,7 +118,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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -156,40 +128,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:13 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:12 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:14 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:162 msgid "Unknown" msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -201,42 +164,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:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " "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:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "" "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:192 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:228 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:216 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 aec7360ea..29658bf70 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 @@ -16,45 +16,34 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.0.2-dev\n" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:171 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "高级重启" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "备用" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "取消" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "更改已应用。" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "压缩" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "确认" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" -msgstr "当前" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "错误:" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "固件" @@ -62,83 +51,68 @@ 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:121 msgid "No access to fw_printenv or fw_printenv!" msgstr "无法访问 fw_printenv 或 fw_printenv!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203 msgid "Partition" msgstr "分区" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "分区" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "执行关机…" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "设备关机" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "继续" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "重启" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "将设备重启至备用分区" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "重启到备用分区…" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "重启到当前分区" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." -msgstr "正在重启…" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "正在关机…" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "状态" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" -msgstr "系统" - -#: applications/luci-app-advanced-reboot/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"系统正在重启。<br />切勿关闭电源! DO NOT POWER OFF THE DEVICE!<br />等待数分" -"钟后即可尝试重新连接到路由。您可能需要更改计算机的 IP 地址以重新连接。" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:265 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -149,7 +123,7 @@ msgstr "" "<br />等待数分钟后即可尝试重新连接到路由。您可能需要更改计算机的 IP 地址以重" "新连接。" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:298 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -158,40 +132,31 @@ msgstr "" "系统现在正在关机。<br />切勿关闭电源! DO NOT POWER OFF THE DEVICE!<br />等待" "数分钟后即可尝试重新连接到路由。您可能需要更改计算机的 IP 地址以重新连接。" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:144 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:145 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:248 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:249 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10 +msgid "Unable to find Device Board Name." +msgstr "" + +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11 msgid "Unable to find Dual Boot Flag Partition." msgstr "无法找到双引导标志分区。" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13 msgid "Unable to obtain firmware environment variable: %s." msgstr "无法获取固件环境变量: %s." -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12 msgid "Unable to set Dual Boot Flag Partition entry for partition: %s." msgstr "无法为分区设置双启动标志分区项: %s." -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14 msgid "Unable to set firmware environment variable: %s to %s." msgstr "无法设置固件环境变量: %s to %s." -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Unknown" msgstr "未知" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -207,7 +172,7 @@ msgstr "" "问您的设备。<br /><br />请注意,备用分区固件可能无法提供切换活动分区和引导回" "当前活动分区的简便方法。<br /><br />点击下方“继续”,使设备重启至备用分区。" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -216,33 +181,61 @@ msgstr "" "警告:对于不支持关机的设备,关机可能会导致重新启动。<br /><br />点击下方“继" "续”,使设备关机。" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46 -msgid "Waiting for changes to be applied..." -msgstr "正在等待应用更改…" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "警告:设备(%s)未知或不是双分区设备!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "警告:未保存的更改会在重启时丢失!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "警告:此系统不支持关闭电源!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "警告:无法获取设备信息!" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "正在尝试挂载备用分区 (mtd%s)" +#~ msgid "Alternative" +#~ msgstr "备用" + +#~ msgid "Changes applied." +#~ msgstr "更改已应用。" + +#~ msgid "Current" +#~ msgstr "当前" + +#~ msgid "Loading" +#~ msgstr "加载中" + +#~ msgid "Rebooting..." +#~ msgstr "正在重启…" + +#~ msgid "System" +#~ msgstr "系统" + +#~ msgid "" +#~ "The system is rebooting now.<br /> DO NOT POWER OFF THE DEVICE!<br /> " +#~ "Wait a few minutes before you try to reconnect. It might be necessary to " +#~ "renew the address of your computer to reach the device again, depending " +#~ "on your settings." +#~ msgstr "" +#~ "系统正在重启。<br />切勿关闭电源! DO NOT POWER OFF THE DEVICE!<br />等待" +#~ "数分钟后即可尝试重新连接到路由。您可能需要更改计算机的 IP 地址以重新连接。" + +#~ msgid "Waiting for changes to be applied..." +#~ msgstr "正在等待应用更改…" + +#~ msgid "attempting to mount alternative partition (mtd%s)" +#~ msgstr "正在尝试挂载备用分区 (mtd%s)" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:54 -msgid "attempting to unmount alternative partition (mtd%s)" -msgstr "正在尝试卸载备用分区 (mtd%s)" +#~ msgid "attempting to unmount alternative partition (mtd%s)" +#~ msgstr "正在尝试卸载备用分区 (mtd%s)" #~ msgid "Unable to obtain firmware environment variable" #~ msgstr "无法获取固件环境变量" 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 cebed2cd9..325fbd2a2 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 @@ -13,45 +13,34 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\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:187 +#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3 msgid "Advanced Reboot" msgstr "進階重啟" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Alternative" -msgstr "備用" - -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:24 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:20 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:52 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:135 msgid "Cancel" msgstr "取消" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:42 -msgid "Changes applied." -msgstr "變更已套用。" - -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Compressed" msgstr "已壓縮" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Confirm" msgstr "確認" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:36 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:60 -msgid "Current" -msgstr "目前" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:76 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:105 +msgid "Device unreachable! Still waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:18 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:197 msgid "ERROR:" msgstr "錯誤:" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:28 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:205 msgid "Firmware" msgstr "韌體" @@ -59,83 +48,68 @@ 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:121 msgid "No access to fw_printenv or fw_printenv!" msgstr "無法訪問 fw_printenv 或 fw_printenv!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:26 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:203 msgid "Partition" msgstr "分割槽" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:23 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:199 msgid "Partitions" msgstr "分割區" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:94 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:225 msgid "Perform power off..." msgstr "執行關機…" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:45 msgid "Power Off Device" msgstr "關閉裝置" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:25 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:21 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:56 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:139 msgid "Proceed" msgstr "繼續" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:29 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:206 msgid "Reboot" msgstr "重啟" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:10 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:124 msgid "Reboot Device to an Alternative Partition" msgstr "重啟至備用分割區" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:50 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:156 msgid "Reboot to alternative partition..." msgstr "重啟到備用分割區…" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:45 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:153 msgid "Reboot to current partition" msgstr "重啟到當前分割區" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:192 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:264 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:9 -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "Rebooting..." -msgstr "正在重啟…" +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:69 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:74 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:98 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:103 +msgid "Rebooting…" +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:297 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:37 msgid "Shutting down..." msgstr "正在關機…" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:27 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204 msgid "Status" msgstr "狀態" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:39 -msgid "System" -msgstr "系統" - -#: applications/luci-app-advanced-reboot/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:65 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:94 +msgid "The reboot command failed with code %d" msgstr "" -"系統正在重啟。<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:99 msgid "" "The system is rebooting to an alternative partition now.<br /> DO NOT POWER " "OFF THE DEVICE!<br /> Wait a few minutes before you try to reconnect. It " @@ -145,7 +119,7 @@ msgstr "" "系統現在正在重啟到備用分割槽。<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:38 msgid "" "The system is shutting down now.<br /> DO NOT POWER OFF THE DEVICE!<br /> It " "might be necessary to renew the address of your computer to reach the device " @@ -154,40 +128,31 @@ msgstr "" "系統現在正在關機。<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 "無法找到雙引導標誌分割槽。" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:220 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:221 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:234 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:235 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13 msgid "Unable to obtain firmware environment variable: %s." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:256 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:257 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12 msgid "Unable to set Dual Boot Flag Partition entry for partition: %s." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:226 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:227 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:240 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:241 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14 msgid "Unable to set firmware environment variable: %s to %s." msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:126 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:127 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:131 -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:132 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:162 msgid "Unknown" msgstr "未知的" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/alternative_reboot.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125 msgid "" "WARNING: An alternative partition might have its own settings and completely " "different firmware.<br /><br /> As your network configuration and WiFi SSID/" @@ -204,7 +169,7 @@ msgstr "" "和引導回當前活動分割槽的簡便方法。<br /><br />點選下方「繼續」,使裝置重啟至" "備用分割區。" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/power_off.htm:12 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46 msgid "" "WARNING: Power off might result in a reboot on a device which doesn't " "support power off.<br /><br /> Click \"Proceed\" below to power off your " @@ -213,33 +178,55 @@ msgstr "" "警告:對於不支援關機的裝置,關機可能會導致重新啟動。<br /><br />點選下方「繼" "續」,使裝置關機。" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/applyreboot.htm:46 -msgid "Waiting for changes to be applied..." -msgstr "正在等待設定套用..." +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:70 +msgid "Waiting for device..." +msgstr "" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:83 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:215 msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!" msgstr "警告:裝置(%s)未知或不是雙分割區裝置!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:14 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:192 msgid "Warning: There are unsaved changes that will get lost on reboot!" msgstr "警告:未儲存的更改會在重啟時遺失!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:97 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:228 msgid "Warning: This system does not support powering off!" msgstr "警告:此系統不支援關閉電源!" -#: applications/luci-app-advanced-reboot/luasrc/view/advanced_reboot/advanced_reboot.htm:85 +#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216 msgid "Warning: Unable to obtain device information!" msgstr "警告:無法獲取裝置資訊!" -#: applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua:45 -msgid "attempting to mount alternative partition (mtd%s)" -msgstr "" +#~ 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 e1a8f1e30..fd22801e9 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,6 @@ #!/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 000000000..a6c7c0e54 --- /dev/null +++ b/applications/luci-app-advanced-reboot/root/usr/libexec/rpcd/luci.advanced_reboot @@ -0,0 +1,362 @@ +#!/usr/bin/env lua + +local json = require "luci.jsonc" +local nixio = require "nixio" +local fs = require "nixio.fs" +local sys = require "luci.sys" +local util = require "luci.util" + +local devices_dir = "/usr/share/advanced-reboot/devices/" + +local function logger(t) + util.exec("logger -t advanced-reboot '" .. tostring(t) .. "'") +end + +local 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 + +local function alt_partition_mount(op_ubi) + local ubi_dev + util.exec('for i in alt_rom alt_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/alt_rom") + util.exec("mount -t ubifs /dev/ubi" .. ubi_dev .. "_1 /alt/alt_overlay") +-- util.exec("mount -t overlay overlay -o noatime,lowerdir=/alt/rom,upperdir=/alt/overlay/upper,workdir=/alt/overlay/work /alt/firmware") +end + +local 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/alt_overlay ] && umount /alt/alt_overlay") + util.exec("[ -d /alt/alt_rom ] && umount /alt/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 + +local 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(string.format("attempting to mount alternative partition (mtd%s)", tostring(op_ubi))) + alt_partition_unmount(op_ubi) + alt_partition_mount(op_ubi) + if fs.access("/alt/alt_rom/etc/os-release") then + op_info = util.trim(util.exec('. /alt/alt_rom/etc/os-release && echo "$PRETTY_NAME"')) + if op_info:find("SNAPSHOT") then + op_info = util.trim(util.exec('. /alt/alt_rom/etc/os-release && echo "$OPENWRT_RELEASE"')) + end + end + logger(string.format("attempting to unmount alternative partition (mtd%s)", tostring(op_ubi))) + alt_partition_unmount(op_ubi) + return cp_info, op_info +end + +local function find_device_data(romBoardName) + local filename + + for filename in fs.dir(devices_dir) do + local filedata = fs.readfile(devices_dir .. filename) + + local p = json.parse(filedata or {}) + + if p then + local boardName + + if p.boardName then + boardName = p.boardName:gsub('%p','') + if romBoardName:match(boardName) then return p end + end + if p.boardNames then + for i, v in pairs(p.boardNames) do + boardName = v:gsub('%p','') + if romBoardName:match(boardName) then return p end + end + end + end + end + + return nil +end + +local methods = { + obtain_device_info = { + call = function() + + local ret = {} + local romBoardName = fs.readfile('/tmp/sysinfo/board_name') + + if not romBoardName then + ret.error = 'NO_BOARD_NAME' + return ret + end + + romBoardName = romBoardName:gsub('\n','') + + ret.rom_board_name = romBoardName + + romBoardName = romBoardName:gsub('%p','') + + local p, boardName, n, p1_label, p1_version, p2_label, p2_version, p1_os, p2_os + local current_partition + local op_ubi, cp_info, op_info, zyxelFlagPartition + + p = find_device_data(romBoardName) + + if p 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 p1_label then + if p1_label:find("LEDE") then p1_os = "LEDE" end + if p1_label:find("OpenWrt") then p1_os = "OpenWrt" end + if p.vendorName and p1_label:find(p.vendorName) then p1_os = p.vendorName end + end + + if not p1_os then + p1_os = (p.vendorName and p.vendorName or 'Unknown') .. "/" .. "Unknown" + end + if p1_os and p1_version then p1_os = p1_os .. " (Linux " .. p1_version .. ")" 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 p2_label then + if p2_label:find("LEDE") then p2_os = "LEDE" end + if p2_label:find("OpenWrt") then p2_os = "OpenWrt" end + if p.vendorName and p2_label:find(p.vendorName) then p2_os = p.vendorName end + end + + if not p2_os then + p2_os = (p.vendorName and p.vendorName or 'Unknown') .. "/" .. "Unknown" + end + if p2_os and p2_version then p2_os = p2_os .. " (Linux " .. p2_version .. ")" end + else + p1_os = p.vendorName .. "/" .. "Unknown" .. " (" .. "Compressed" .. ")" + p2_os = p.vendorName .. "/" .. "Unknown" .. " (" .. "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 + ret.error = 'NO_DUAL_FLAG' + logger("Unable to find Dual Boot Flag Partition.") + return ret + end + end + + ret.current_partition = current_partition + + 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 + + ret.device_name = (p.vendorName and p.vendorName or "") .. " " .. p.deviceName + + ret.partitions = { + { + os = p1_os, + state = p.bootEnv1Partition1Value == current_partition and 'Current' or 'Alternative', + number = p.bootEnv1Partition1Value + }, + { + os = p2_os, + state = p.bootEnv1Partition2Value == current_partition and 'Current' or 'Alternative', + number = p.bootEnv1Partition2Value + } + } + end + + return ret + end + }, + toggle_boot_partition = { + call = function() + local ret = {} + local zyxelFlagPartition, zyxelBootFlag, zyxelNewBootFlag, errorCode, curEnvSetting, newEnvSetting + + local romBoardName = fs.readfile('/tmp/sysinfo/board_name') + + if not romBoardName then + ret.error = 'NO_BOARD_NAME' + return ret + end + + romBoardName = romBoardName:gsub('\n',''):gsub('%p','') + p = find_device_data(romBoardName) + local bev1, bev2 = p.bootEnv1, p.bootEnv2 + + if bev1 or bev2 then -- Linksys devices + if bev1 then + curEnvSetting = tonumber(util.trim(util.exec("fw_printenv -n " .. bev1))) + if not curEnvSetting then + logger(string.format("Unable to obtain firmware environment variable: %s.", bev1)) + ret.error = 'NO_FIRM_ENV' + ret.args = { bev1 } + return ret + else + local bev1p1, bev1p2 = p.bootEnv1Partition1Value, p.bootEnv1Partition2Value + newEnvSetting = curEnvSetting == bev1p1 and bev1p2 or bev1p1 + errorCode = sys.call("fw_setenv " .. bev1 .. " " .. newEnvSetting) + if errorCode ~= 0 then + logger(string.format("Unable to set firmware environment variable: %s to %s.", bev1, newEnvSetting)) + ret.error = 'ERR_SET_ENV' + ret.args = { bev1, newEnvSetting } + return ret + end + end + end + if bev2 then + curEnvSetting = util.trim(util.exec("fw_printenv -n " .. bev2)) + if not curEnvSetting then + logger(string.format("Unable to obtain firmware environment variable: %s.", bev2)) + ret.error = 'NO_FIRM_ENV' + ret.args = { bev2 } + return ret + else + local bev2p1, bev2p2 = p.bootEnv2Partition1Value, p.bootEnv2Partition1Value + newEnvSetting = curEnvSetting == bev2p1 and bev2p2 or bev2p1 + errorCode = sys.call("fw_setenv " .. bev2 .. " '" .. newEnvSetting .. "'") + if errorCode ~= 0 then + logger(string.format("Unable to set firmware environment variable: %s to %s.", bev2, newEnvSetting)) + ret.error = 'ERR_SET_ENV' + ret.args = { bev2, newEnvSetting } + return ret + 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 + logger("Unable to find Dual Boot Flag Partition.") + ret.error = 'NO_DUAL_FLAG' + 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 + logger(string.format("Unable to set Dual Boot Flag Partition entry for partition: %s.", zyxelFlagPartition)) + ret.error = 'ERR_SET_DUAL_FLAG' + ret.args = { zyxelFlagPartition } + return ret + end + end + end + end + + return ret + end + } +} + +local function parseInput() + local parse = json.new() + local done, err + + while true do + local chunk = io.read(4096) + if not chunk then + break + elseif not done and not err then + done, err = parse:parse(chunk) + end + end + + if not done then + print(json.stringify({ error = err or "Incomplete input" })) + os.exit(1) + end + + return parse:get() +end + +local function validateArgs(func, uargs) + local method = methods[func] + if not method then + print(json.stringify({ error = "Method not found" })) + os.exit(1) + end + + if type(uargs) ~= "table" then + print(json.stringify({ error = "Invalid arguments" })) + os.exit(1) + end + + uargs.ubus_rpc_session = nil + + local k, v + local margs = method.args or {} + for k, v in pairs(uargs) do + if margs[k] == nil or + (v ~= nil and type(v) ~= type(margs[k])) + then + print(json.stringify({ error = "Invalid arguments" })) + os.exit(1) + end + end + + return method +end + +if arg[1] == "list" then + local _, method, rv = nil, nil, {} + for _, method in pairs(methods) do rv[_] = method.args or {} end + print((json.stringify(rv):gsub(":%[%]", ":{}"))) +elseif arg[1] == "call" then + local args = parseInput() + local method = validateArgs(arg[2], args) + local result, code = method.call(args) + print((json.stringify(result):gsub("^%[%]$", "{}"))) + os.exit(code or 0) +end 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 000000000..7c84413e7 --- /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/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 000000000..be749a999 --- /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 000000000..c32aaf8a3 --- /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 000000000..6cdc72643 --- /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 000000000..aa897f8f6 --- /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 000000000..f5fc476c1 --- /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 000000000..22f1a8c01 --- /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 000000000..9f463758c --- /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-ea8300.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-ea8300.json new file mode 100644 index 000000000..d4a47886a --- /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 000000000..cafa573fb --- /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 000000000..644f1712f --- /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 000000000..3d1b19a92 --- /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 000000000..d088e9a2e --- /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 000000000..a30b3dcab --- /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 000000000..361b434b3 --- /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 000000000..09fcf96c2 --- /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 000000000..47e94ab87 --- /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 000000000..719900b06 --- /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" ], + "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 000000000..e377fa936 --- /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 50d50bc2f..4b22db108 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,14 @@ "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" ] }, - "uci": [ - "network" - ] + "file": { + "/usr/sbin/fw_printenv": [ "list" ], + "/usr/sbin/fw_setenv": [ "list" ], + "/sbin/poweroff": [ "list", "exec" ] + } } } } |