From e55f9d967a158fffed70c05ec03694bc73559a05 Mon Sep 17 00:00:00 2001 From: Daniel Nilsson Date: Sat, 20 Jul 2024 21:25:50 +0200 Subject: luci-app-attendedsysupgrade: use versioned endpoints The unversioned endpoint /api/overview has been removed from ASU which breaks the request when searching for an available sysupgrade if the device is on a stable release. In the case where the unversioned endpoint is added back to prevent this regression in 23.05.3 and earlier (so upgrade is once again possible) we should anyway rely on the versioned endpoints as those replace the unversioned ones. Signed-off-by: Daniel Nilsson --- .../po/bg/attendedsysupgrade.po | 40 +++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'applications/luci-app-attendedsysupgrade/po/bg') diff --git a/applications/luci-app-attendedsysupgrade/po/bg/attendedsysupgrade.po b/applications/luci-app-attendedsysupgrade/po/bg/attendedsysupgrade.po index 7ef552b671..30909fe879 100644 --- a/applications/luci-app-attendedsysupgrade/po/bg/attendedsysupgrade.po +++ b/applications/luci-app-attendedsysupgrade/po/bg/attendedsysupgrade.po @@ -23,7 +23,7 @@ msgid "Advanced Mode" msgstr "" #: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/configuration.js:11 -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:603 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:602 #: applications/luci-app-attendedsysupgrade/root/usr/share/luci/menu.d/luci-app-attendedsysupgrade.json:3 msgid "Attended Sysupgrade" msgstr "" @@ -32,7 +32,7 @@ msgstr "" msgid "Attendedsysupgrade Configuration." msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:512 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:511 msgid "Board Name / Profile" msgstr "" @@ -45,7 +45,7 @@ msgid "Building Firmware..." msgstr "" #: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:156 -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:527 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:526 msgid "Cancel" msgstr "Отмени" @@ -55,8 +55,8 @@ msgstr "Клиент" #: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:237 #: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:374 -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:430 -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:564 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:429 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:563 msgid "Close" msgstr "Затвори" @@ -64,12 +64,12 @@ msgstr "Затвори" msgid "Configuration" msgstr "Конфигурация" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:424 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:423 msgid "Could not reach API at \"%s\". Please try again later." msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:520 -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:618 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:519 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:617 msgid "Currently running: %s - %s" msgstr "" @@ -97,7 +97,7 @@ msgstr "" msgid "Error building the firmware image" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:420 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:419 msgid "Error connecting to upgrade server" msgstr "" @@ -137,11 +137,11 @@ msgstr "" msgid "Keep settings and retain the current configuration" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:517 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:516 msgid "New firmware upgrade available" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:555 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:554 msgid "No upgrade available" msgstr "" @@ -155,7 +155,7 @@ msgstr "" msgid "Overview" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:513 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:512 msgid "Packages" msgstr "" @@ -191,7 +191,7 @@ msgstr "" msgid "Request Data:" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:549 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:548 msgid "Request firmware image" msgstr "" @@ -203,7 +203,7 @@ msgstr "" msgid "SHA256" msgstr "SHA256" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:629 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:628 msgid "Search for firmware upgrade" msgstr "" @@ -215,11 +215,11 @@ msgstr "" msgid "Search on opening" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:411 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:410 msgid "Searching for an available sysupgrade of %s - %s" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:407 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:406 msgid "Searching..." msgstr "" @@ -247,17 +247,17 @@ msgstr "" msgid "Target" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:607 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:606 msgid "" "The attended sysupgrade service allows to easily upgrade vanilla and custom " "firmware images." msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:558 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:557 msgid "The device runs the latest firmware version %s - %s" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:613 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:612 msgid "" "This is done by building a new firmware on demand via an online service." msgstr "" @@ -282,6 +282,6 @@ msgstr "Версия" msgid "Wrong checksum" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:497 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:496 msgid "[installed] %s" msgstr "" -- cgit v1.2.3