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/en/attendedsysupgrade.po | 40 +++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'applications/luci-app-attendedsysupgrade/po/en/attendedsysupgrade.po') diff --git a/applications/luci-app-attendedsysupgrade/po/en/attendedsysupgrade.po b/applications/luci-app-attendedsysupgrade/po/en/attendedsysupgrade.po index 4ea508a592..f982d70175 100644 --- a/applications/luci-app-attendedsysupgrade/po/en/attendedsysupgrade.po +++ b/applications/luci-app-attendedsysupgrade/po/en/attendedsysupgrade.po @@ -23,7 +23,7 @@ msgid "Advanced Mode" msgstr "Advanced Mode" #: 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 "Attended Sysupgrade" @@ -32,7 +32,7 @@ msgstr "Attended Sysupgrade" msgid "Attendedsysupgrade Configuration." msgstr "Attendedsysupgrade Configuration" -#: 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 "Board Name / Profile" @@ -45,7 +45,7 @@ msgid "Building Firmware..." msgstr "Building Firmware..." #: 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 "Cancel" @@ -55,8 +55,8 @@ msgstr "Client" #: 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 "Close" @@ -64,12 +64,12 @@ msgstr "Close" msgid "Configuration" msgstr "Configuration" -#: 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 "Could not reach API at \"%s\". Please try again later." -#: 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 "Currently running: %s - %s" @@ -97,7 +97,7 @@ msgstr "Downloading..." msgid "Error building the firmware image" msgstr "Error building the firmware image" -#: 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 "Error connecting to upgrade server" @@ -138,11 +138,11 @@ msgstr "Installing..." msgid "Keep settings and retain the current configuration" msgstr "Keep settings and retain the current configuration" -#: 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 "New firmware upgrade available" -#: 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 "No upgrade available" @@ -158,7 +158,7 @@ msgstr "" msgid "Overview" msgstr "Overview" -#: 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 "Packages" @@ -194,7 +194,7 @@ msgstr "Received build request" msgid "Request Data:" msgstr "Request Data:" -#: 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 "Request firmware image" @@ -206,7 +206,7 @@ msgstr "Request in build queue position %s" 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 "Search for firmware upgrade" @@ -218,11 +218,11 @@ msgstr "Search for new sysupgrades on opening the tab" msgid "Search on opening" msgstr "Search on opening" -#: 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 "Searching for an available sysupgrade of %s - %s" -#: 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 "Searching..." @@ -250,7 +250,7 @@ msgstr "Successfully created firmware image" msgid "Target" msgstr "Target" -#: 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." @@ -258,11 +258,11 @@ msgstr "" "The attended sysupgrade service allows you to easily upgrade vanilla and " "custom firmware images." -#: 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 "The device is running the latest firmware version %s - %s" -#: 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 "" @@ -289,7 +289,7 @@ msgstr "Version" msgid "Wrong checksum" msgstr "Wrong checksum" -#: 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 "[installed] %s" -- cgit v1.2.3