summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-attendedsysupgrade')
-rw-r--r--applications/luci-app-attendedsysupgrade/po/fi/attendedsysupgrade.po10
-rw-r--r--applications/luci-app-attendedsysupgrade/po/fr/attendedsysupgrade.po8
-rw-r--r--applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js4
3 files changed, 14 insertions, 8 deletions
diff --git a/applications/luci-app-attendedsysupgrade/po/fi/attendedsysupgrade.po b/applications/luci-app-attendedsysupgrade/po/fi/attendedsysupgrade.po
index 133555ea63..2f2228aada 100644
--- a/applications/luci-app-attendedsysupgrade/po/fi/attendedsysupgrade.po
+++ b/applications/luci-app-attendedsysupgrade/po/fi/attendedsysupgrade.po
@@ -1,14 +1,20 @@
msgid ""
msgstr ""
+"PO-Revision-Date: 2020-05-29 19:41+0000\n"
+"Last-Translator: Riku Viitanen <riku.viitanen@protonmail.com>\n"
+"Language-Team: Finnish <https://hosted.weblate.org/projects/openwrt/"
+"luciapplicationsattendedsysupgrade/fi/>\n"
"Language: fi\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.1-dev\n"
#: applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm:76
#: applications/luci-app-attendedsysupgrade/root/usr/share/luci/menu.d/luci-app-attendedsysupgrade.json:3
msgid "Attended Sysupgrade"
-msgstr ""
+msgstr "Järjestelmän valvottu päivitys"
#: applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json:3
msgid "attended sysupgrade via rpcd and luci"
-msgstr ""
+msgstr "järjestelmän valvottu päivitys rcpd:n ja luci:n kautta"
diff --git a/applications/luci-app-attendedsysupgrade/po/fr/attendedsysupgrade.po b/applications/luci-app-attendedsysupgrade/po/fr/attendedsysupgrade.po
index 3220bea5a8..5b6ee0ae9b 100644
--- a/applications/luci-app-attendedsysupgrade/po/fr/attendedsysupgrade.po
+++ b/applications/luci-app-attendedsysupgrade/po/fr/attendedsysupgrade.po
@@ -1,14 +1,14 @@
msgid ""
msgstr ""
-"PO-Revision-Date: 2019-10-25 17:58+0000\n"
-"Last-Translator: Nathan <bonnemainsnathan@gmail.com>\n"
+"PO-Revision-Date: 2020-06-02 06:41+0000\n"
+"Last-Translator: Christophe CHAUVET <christophe.chauvet@gmail.com>\n"
"Language-Team: French <https://hosted.weblate.org/projects/openwrt/"
"luciapplicationsattendedsysupgrade/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 3.9.1-dev\n"
+"X-Generator: Weblate 4.1-dev\n"
#: applications/luci-app-attendedsysupgrade/luasrc/view/attendedsysupgrade.htm:76
#: applications/luci-app-attendedsysupgrade/root/usr/share/luci/menu.d/luci-app-attendedsysupgrade.json:3
@@ -17,4 +17,4 @@ msgstr "Mise à niveau du système"
#: applications/luci-app-attendedsysupgrade/root/usr/share/rpcd/acl.d/attendedsysupgrade.json:3
msgid "attended sysupgrade via rpcd and luci"
-msgstr ""
+msgstr "Mise à niveau système via rpcd et luci"
diff --git a/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js b/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js
index 9cfd1bc7a6..b75e90d9a7 100644
--- a/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js
+++ b/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js
@@ -63,7 +63,6 @@ function setup() {
ubus_call("rpc-sys", "packagelist", {}, "packages");
ubus_call("system", "board", {}, "release");
ubus_call("system", "board", {}, "board_name");
- ubus_call("system", "board", {}, "model");
ubus_call("system", "info", {}, "memory");
uci_get({
"config": "attendedsysupgrade",
@@ -220,13 +219,14 @@ function upgrade_check() {
function upgrade_request() {
// Request firmware using the following parameters
- // distro, version, target, board_name/model, packages
+ // distro, version, target, board_name, packages
$("#upgrade_button").disabled = true;
hide("#edit_packages");
hide("#edit_button");
hide("#keep_container");
// add board info to let server determine profile
+ request_dict.target = data.release.target
request_dict.profile = data.board_name
if (data.edit_packages == true) {