From 79436167ea6ad00374d3bfe77b265ee723445495 Mon Sep 17 00:00:00 2001 From: Daniel Nilsson Date: Thu, 29 Feb 2024 22:27:10 +0100 Subject: luci-app-attendedsysupgrade: clear request hash before every build request Since commit b2ad5d724ef8d0f248080109b7098626e5b5c40c enables you to do multiple searches for a firmware upgrade without reloading the page, it was discovered that if the request hash is not reset, you will get the previous build with that specific request hash as the response even if you select new packages. Signed-off-by: Daniel Nilsson --- .../po/templates/attendedsysupgrade.pot | 40 +++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'applications/luci-app-attendedsysupgrade/po/templates') diff --git a/applications/luci-app-attendedsysupgrade/po/templates/attendedsysupgrade.pot b/applications/luci-app-attendedsysupgrade/po/templates/attendedsysupgrade.pot index 832f936fc5..427117a2e3 100644 --- a/applications/luci-app-attendedsysupgrade/po/templates/attendedsysupgrade.pot +++ b/applications/luci-app-attendedsysupgrade/po/templates/attendedsysupgrade.pot @@ -14,7 +14,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:602 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:603 #: applications/luci-app-attendedsysupgrade/root/usr/share/luci/menu.d/luci-app-attendedsysupgrade.json:3 msgid "Attended Sysupgrade" msgstr "" @@ -23,7 +23,7 @@ msgstr "" msgid "Attendedsysupgrade Configuration." msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:511 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:512 msgid "Board Name / Profile" msgstr "" @@ -36,7 +36,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:526 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:527 msgid "Cancel" msgstr "" @@ -46,8 +46,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:429 -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:563 +#: 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 msgid "Close" msgstr "" @@ -55,12 +55,12 @@ msgstr "" msgid "Configuration" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:423 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:424 msgid "Could not reach API at \"%s\". Please try again later." msgstr "" -#: 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 +#: 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 msgid "Currently running: %s - %s" msgstr "" @@ -88,7 +88,7 @@ msgstr "" msgid "Error building the firmware image" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:419 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:420 msgid "Error connecting to upgrade server" msgstr "" @@ -128,11 +128,11 @@ msgstr "" msgid "Keep settings and retain the current configuration" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:516 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:517 msgid "New firmware upgrade available" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:554 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:555 msgid "No upgrade available" msgstr "" @@ -146,7 +146,7 @@ msgstr "" msgid "Overview" 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:513 msgid "Packages" msgstr "" @@ -182,7 +182,7 @@ msgstr "" msgid "Request Data:" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:548 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:549 msgid "Request firmware image" msgstr "" @@ -194,7 +194,7 @@ msgstr "" msgid "SHA256" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:628 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:629 msgid "Search for firmware upgrade" msgstr "" @@ -206,11 +206,11 @@ msgstr "" msgid "Search on opening" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:410 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:411 msgid "Searching for an available sysupgrade of %s - %s" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:406 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:407 msgid "Searching..." msgstr "" @@ -238,17 +238,17 @@ msgstr "" msgid "Target" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:606 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:607 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:557 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:558 msgid "The device runs the latest firmware version %s - %s" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:612 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:613 msgid "" "This is done by building a new firmware on demand via an online service." msgstr "" @@ -273,6 +273,6 @@ msgstr "" msgid "Wrong checksum" msgstr "" -#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:496 +#: applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/attendedsysupgrade/overview.js:497 msgid "[installed] %s" msgstr "" -- cgit v1.2.3