summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-advanced-reboot')
-rw-r--r--applications/luci-app-advanced-reboot/Makefile2
-rw-r--r--applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js2
-rw-r--r--applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po12
-rw-r--r--applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po8
-rw-r--r--applications/luci-app-advanced-reboot/po/it/advanced-reboot.po58
-rw-r--r--applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po6
-rwxr-xr-xapplications/luci-app-advanced-reboot/root/usr/libexec/rpcd/luci.advanced_reboot2
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/linksys-e4200v2.json5
8 files changed, 58 insertions, 37 deletions
diff --git a/applications/luci-app-advanced-reboot/Makefile b/applications/luci-app-advanced-reboot/Makefile
index a0024cdc1f..114d1cd859 100644
--- a/applications/luci-app-advanced-reboot/Makefile
+++ b/applications/luci-app-advanced-reboot/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.net>
-PKG_VERSION:=1.0.1-2
+PKG_VERSION:=1.0.1-3
LUCI_TITLE:=Advanced Linksys Reboot Web UI
LUCI_URL:=https://docs.openwrt.melmac.net/luci-app-advanced-reboot/
diff --git a/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js b/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js
index f4acb8285d..482b8e2e91 100644
--- 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
@@ -197,7 +197,7 @@ return view.extend({
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')));
+ body.appendChild(E('h3', (device_info.device_name || '') + _(' Partitions')));
if (device_info.device_name) {
var partitions_table = E('table', { 'class': 'table' }, [
E('tr', { 'class': 'tr table-titles' }, [
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 0e7b49ef95..978f48cbf1 100644
--- a/applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/bg/advanced-reboot.po
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2021-08-27 12:56+0000\n"
+"PO-Revision-Date: 2021-10-05 12:02+0000\n"
"Last-Translator: Iskren Mihaylov <iskren.mihaylov91@gmail.com>\n"
"Language-Team: Bulgarian <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/bg/>\n"
@@ -8,7 +8,7 @@ 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.8.1-dev\n"
+"X-Generator: Weblate 4.9-dev\n"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:188
#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
@@ -108,7 +108,7 @@ msgstr ""
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
msgid "The reboot command failed with code %d"
-msgstr ""
+msgstr "Командата за рестартиране се провали с код %d"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:100
msgid ""
@@ -127,7 +127,7 @@ msgstr ""
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
msgid "Unable to find Device Board Name."
-msgstr ""
+msgstr "Не може да се намери името на платката на устройството."
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:11
msgid "Unable to find Dual Boot Flag Partition."
@@ -182,8 +182,8 @@ msgstr ""
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:229
msgid "Warning: This system does not support powering off!"
-msgstr ""
+msgstr "Внимание: Тази система не поддържа изключване!"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:217
msgid "Warning: Unable to obtain device information!"
-msgstr ""
+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 71e59d61db..a5e29f7c24 100644
--- a/applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/ca/advanced-reboot.po
@@ -1,14 +1,14 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2021-03-08 13:03+0000\n"
-"Last-Translator: BenRoura <benrouravkg@gmail.com>\n"
+"PO-Revision-Date: 2021-09-17 06:52+0000\n"
+"Last-Translator: Roger Pueyo Centelles <weblate@rogerpueyo.com>\n"
"Language-Team: Catalan <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/ca/>\n"
"Language: ca\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 4.5.1\n"
+"X-Generator: Weblate 4.9-dev\n"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:188
#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
@@ -91,7 +91,7 @@ msgstr ""
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
msgid "Rebooting…"
-msgstr ""
+msgstr "Reiniciant…"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid "Shutting down..."
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 9e4ef5e8e1..86b655adc6 100644
--- a/applications/luci-app-advanced-reboot/po/it/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/it/advanced-reboot.po
@@ -1,14 +1,14 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2020-03-07 12:33+0000\n"
-"Last-Translator: Giuseppe Valitutto <valituttogiuseppe@gmail.com>\n"
+"PO-Revision-Date: 2021-09-22 00:01+0000\n"
+"Last-Translator: pisquan8 <cimurro@outlook.de>\n"
"Language-Team: Italian <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/it/>\n"
"Language: it\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.0-dev\n"
+"X-Generator: Weblate 4.9-dev\n"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:188
#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
@@ -22,7 +22,7 @@ msgstr "Annulla"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:163
msgid "Compressed"
-msgstr ""
+msgstr "Compresso"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid "Confirm"
@@ -31,7 +31,7 @@ msgstr "Conferma"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:77
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:106
msgid "Device unreachable! Still waiting for device..."
-msgstr ""
+msgstr "Dispositivo non raggiungibile! Ancora in attesa del dispositivo..."
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:198
msgid "ERROR:"
@@ -43,11 +43,11 @@ 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 ""
+msgstr "Concedere l'accesso UCI e ai file per luci-app-advanced-reboot"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:122
msgid "No access to fw_printenv or fw_printenv!"
-msgstr ""
+msgstr "Nessun accesso a fw_printenv o fw_printenv!"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:204
msgid "Partition"
@@ -59,7 +59,7 @@ msgstr "Partizioni"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:226
msgid "Perform power off..."
-msgstr ""
+msgstr "Avviare spegnimento..."
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:46
msgid "Power Off Device"
@@ -68,11 +68,11 @@ msgstr "Spegni il dispositivo"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:57
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:140
msgid "Proceed"
-msgstr ""
+msgstr "Continua"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:207
msgid "Reboot"
-msgstr "Riavvia"
+msgstr "Riavvio"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:125
msgid "Reboot Device to an Alternative Partition"
@@ -91,7 +91,7 @@ msgstr "Riavvia nella partizione corrente"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:99
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:104
msgid "Rebooting…"
-msgstr ""
+msgstr "Riavvio…"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:38
msgid "Shutting down..."
@@ -103,12 +103,12 @@ msgstr "Stato"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:12
msgid "The Dual Boot Flag Partition: %s is not a block device."
-msgstr ""
+msgstr "La partizione Dual Boot Flag: %s non è un dispositivo a blocchi."
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:66
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:95
msgid "The reboot command failed with code %d"
-msgstr ""
+msgstr "Il comando di riavvio non è riuscito con il codice %d"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:100
msgid ""
@@ -134,23 +134,24 @@ msgstr ""
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:10
msgid "Unable to find Device Board Name."
-msgstr ""
+msgstr "Nessuna corrispondenza per il nome della scheda 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 ""
+msgstr "Nessuna corrispondenza per la partizione Dual Boot Flag."
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:14
msgid "Unable to obtain firmware environment variable: %s."
-msgstr ""
+msgstr "Impossibile ottenere la variabile d'ambiente firmware: %s."
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:13
msgid "Unable to set Dual Boot Flag Partition entry for partition: %s."
msgstr ""
+"Impossibile impostare la partizione Dual Boot Flag per la partizione: %s."
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:15
msgid "Unable to set firmware environment variable: %s to %s."
-msgstr ""
+msgstr "Impossibile impostare la variabile d'ambiente firmware: %s a %s."
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:163
msgid "Unknown"
@@ -167,6 +168,16 @@ msgid ""
"back to the currently active partition.<br /><br /> Click \"Proceed\" below "
"to reboot device to an alternative partition."
msgstr ""
+"ATTENZIONE: Una partizione alternativa potrebbe avere le proprie "
+"impostazioni e un firmware completamente diverso.<br /><br /> Poiché la "
+"configurazione di rete e l'SSID/password WiFi sulla partizione alternativa "
+"potrebbero essere diversi, potrebbe essere necessario modificare le "
+"impostazioni del computer per poter accedere al dispositivo una volta "
+"riavviato.<br /><br /> Tenere anche presente che il firmware della "
+"partizione alternativa potrebbe non fornire un modo semplice per modificare "
+"la partizione attiva e avviare nuovamente la partizione attualmente "
+"attiva.<br /><br /> Clicca su \"Continua\" qui sotto per riavviare il "
+"dispositivo su una partizione alternativa."
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:47
msgid ""
@@ -174,26 +185,33 @@ msgid ""
"support power off.<br /><br /> Click \"Proceed\" below to power off your "
"device."
msgstr ""
+"ATTENZIONE: Lo spegnimento potrebbe comportare invece un riavvio nel caso di "
+"dispositivo che non supporta lo spegnimento.<br /><br /> Clicca su \"Continua"
+"\" qui sotto per spegnere il tuo dispositivo."
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:71
msgid "Waiting for device..."
-msgstr ""
+msgstr "In attesa del dispositivo..."
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:216
msgid "Warning: Device (%s) is unknown or isn't a dual-partition device!"
msgstr ""
+"ATTENZIONE: Il dispositivo (%s) è sconosciuto oppure non è un dispositivo a "
+"doppia partizione supportato!"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:193
msgid "Warning: There are unsaved changes that will get lost on reboot!"
msgstr ""
+"ATTENZIONE: sono presenti modifiche non salvate che andranno perse al "
+"riavvio!"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:229
msgid "Warning: This system does not support powering off!"
-msgstr ""
+msgstr "ATTENZIONE: questo sistema non supporta lo spegnimento!"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:217
msgid "Warning: Unable to obtain device information!"
-msgstr ""
+msgstr "ATTENZIONE: Impossibile ottenere informazioni sul dispositivo!"
#~ msgid "Loading"
#~ msgstr "Caricamento"
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 74efa84f41..c86cd50d3c 100644
--- a/applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po
+++ b/applications/luci-app-advanced-reboot/po/nb_NO/advanced-reboot.po
@@ -1,6 +1,6 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2021-02-08 10:51+0000\n"
+"PO-Revision-Date: 2021-09-27 22:36+0000\n"
"Last-Translator: Allan Nordhøy <epost@anotheragency.no>\n"
"Language-Team: Norwegian Bokmål <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsadvanced-reboot/nb_NO/>\n"
@@ -8,12 +8,12 @@ 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.5-dev\n"
+"X-Generator: Weblate 4.9-dev\n"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:188
#: applications/luci-app-advanced-reboot/root/usr/share/luci/menu.d/luci-app-advanced-reboot.json:3
msgid "Advanced Reboot"
-msgstr ""
+msgstr "Avansert omstart"
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:53
#: applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js:136
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
index 7ee2ec8ba2..7ec52a3097 100755
--- 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
@@ -1,6 +1,6 @@
#!/bin/sh
# Copyright 2017-2020 Stan Grishin (stangri@melmac.net)
-# shellcheck disable=SC2039,SC1091
+# shellcheck disable=SC2039,SC1091,SC3043,SC3057,SC3060
readonly devices_dir="/usr/share/advanced-reboot/devices/"
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
index c32aaf8a3c..d42319e2ce 100644
--- 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
@@ -1,7 +1,10 @@
{
"vendorName": "Linksys",
"deviceName": "E4200v2",
- "boardNames": [ "linksys-e4200v2", "linksys,e4200v2" ],
+ "boardNames": [
+ "linksys-e4200v2",
+ "linksys,e4200-v2"
+ ],
"partition1MTD": "mtd3",
"partition2MTD": "mtd5",
"labelOffset": 32,